/* ===============================================================
   BLOCK USDT - ICE WHITE FUTURISTIC LAB THEME v2
   Softened: blue-gray bg tones, reduced glow intensity, improved readability
   Layout / JS / class names / IDs unchanged
=============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700;800;900&display=swap');

/* == DESIGN TOKENS == */
:root {
  --bg:           #D8E8F5;
  --bg2:          #C8DCED;
  --glass:        rgba(255,255,255,0.62);
  --glass-border: rgba(39,216,255,0.22);
  --border:       rgba(100,160,210,0.22);
  --accent:       #27D8FF;
  --accent2:      #7EEBFF;
  --green:        #00C896;
  --gold:         #F5A623;
  --red:          #FF4F6E;
  --purple:       #7B8CDE;
  --text:         #0F172A;
  --muted:        #475569;
  --r:            18px;
  /* premium ice vars */
  --ice-glow:     rgba(39,216,255,0.14);
  --ice-glow-md:  rgba(39,216,255,0.26);
  --ice-glow-lg:  rgba(39,216,255,0.42);
  --card-bg:      rgba(255,255,255,0.62);
  --card-border:  rgba(39,216,255,0.22);
  /* Premium multi-layer shadows */
  --shadow-sm:
    0 1px 0 rgba(255,255,255,0.80) inset,
    0 2px 8px rgba(39,216,255,0.10),
    0 1px 3px rgba(15,23,42,0.10);
  --shadow-md:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 0 0 1px rgba(39,216,255,0.10),
    0 4px 20px rgba(39,216,255,0.14),
    0 2px 8px rgba(15,23,42,0.12);
  --shadow-lg:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 0 0 1px rgba(39,216,255,0.12),
    0 8px 32px rgba(39,216,255,0.18),
    0 4px 16px rgba(15,23,42,0.14);
  --shadow-xl:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 0 0 1px rgba(39,216,255,0.15),
    0 16px 52px rgba(39,216,255,0.22),
    0 8px 24px rgba(15,23,42,0.16);
}

/* == GLOBAL BASE == */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Exo 2', 'Rajdhani', sans-serif;
  background: var(--bg);
  color: var(--text);
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  letter-spacing: 0.015em;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* PREMIUM: deep layered atmospheric background */
  background:
    radial-gradient(ellipse 700px 500px at 8% -5%,  rgba(39,216,255,0.18) 0%, transparent 58%),
    radial-gradient(ellipse 600px 450px at 92% 105%, rgba(126,235,255,0.13) 0%, transparent 58%),
    radial-gradient(ellipse 400px 320px at 75% 20%, rgba(39,216,255,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 25% 85%, rgba(123,140,222,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 800px 600px at 50% 50%, rgba(200,220,240,0.55) 0%, transparent 80%),
    linear-gradient(160deg, #BBCFE6 0%, #C4D8EA 25%, #CDE1F0 55%, #D8EAF6 80%, #E5F0FA 100%) !important;
}

/* == FUTURISTIC GRID ATMOSPHERE == */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(39,216,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,216,255,0.055) 1px, transparent 1px),
    linear-gradient(rgba(39,216,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,216,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 12px 12px, 12px 12px;
  mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 0%, transparent 100%);
}

/* == ANIMATED BACKGROUND == */
.bg1 {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: none !important;
  background:
    radial-gradient(ellipse 800px 500px at 18% -8%, rgba(39,216,255,0.20) 0%, transparent 52%),
    radial-gradient(ellipse 600px 400px at 88% 98%, rgba(126,235,255,0.14) 0%, transparent 52%),
    radial-gradient(ellipse 350px 280px at 70% 25%, rgba(39,216,255,0.10) 0%, transparent 60%),
    linear-gradient(160deg, #B8D0E8 0%, #C2DAEA 30%, #CCDFF0 60%, #D8EAF7 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.bg1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(190,220,245,0.15) 0%,
    rgba(200,225,245,0.08) 40%,
    rgba(185,215,240,0.18) 100%) !important;
}

/* == FLOATING BG ORBS == */
.floating-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-bg::before {
  content: '';
  position: absolute;
  width: 420px !important;
  height: 420px !important;
  border-radius: 50%;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(39,216,255,0.18) 0%, rgba(39,216,255,0.06) 50%, transparent 70%) !important;
  filter: blur(60px) !important;
  animation: floatDrift 12s ease-in-out infinite alternate;
}
.floating-bg::after {
  content: '';
  position: absolute;
  width: 380px !important;
  height: 380px !important;
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, rgba(126,235,255,0.14) 0%, rgba(100,200,255,0.05) 50%, transparent 70%) !important;
  filter: blur(60px) !important;
  animation: floatDrift 16s ease-in-out infinite alternate-reverse;
}
@keyframes floatDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(30px,20px); }
}

/* == APP LAYOUT == */
.app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100% !important;
  max-width: 100% !important;
}

.content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}
.content::-webkit-scrollbar { width: 3px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb {
  background: rgba(39,216,255,0.20);
  border-radius: 3px;
}

/* ===========================================
   HEADER / BANNER
=========================================== */
/* ===============================================================
   PREMIUM BANNER HEADER = Holographic Fintech Dashboard
=============================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 10px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.banner-wrap {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: 116px;
  overflow: hidden;
  border-radius: 22px;
  background-image: none !important;
  /* Deep layered premium gradient */
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(39,216,255,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(126,235,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 80% 0%, rgba(39,216,255,0.10) 0%, transparent 55%),
    linear-gradient(135deg,
      rgba(195,220,242,0.96) 0%,
      rgba(210,230,248,0.94) 35%,
      rgba(222,238,252,0.96) 65%,
      rgba(235,245,255,0.98) 100%) !important;
  background-size: cover !important;
  border: 1px solid rgba(39,216,255,0.32);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 0 0 1px rgba(39,216,255,0.10),
    0 8px 36px rgba(39,216,255,0.22),
    0 2px 12px rgba(15,23,42,0.12);
  backdrop-filter: blur(28px) saturate(2.0);
  -webkit-backdrop-filter: blur(28px) saturate(2.0);
}

/* Top shimmer scan line */
.banner-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.40) 20%,
    rgba(126,235,255,0.95) 50%,
    rgba(39,216,255,0.40) 80%,
    transparent 100%);
  animation: scanLine 3.5s linear infinite;
  z-index: 3;
}
@keyframes scanLine {
  0%   { transform: scaleX(0); transform-origin: left; opacity:0; }
  10%  { opacity:1; }
  50%  { transform: scaleX(1); transform-origin: left; }
  50.01% { transform-origin: right; }
  90%  { opacity:1; }
  100% { transform: scaleX(0); transform-origin: right; opacity:0; }
}

/* Bottom subtle separator */
.banner-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.18) 30%,
    rgba(39,216,255,0.30) 50%,
    rgba(39,216,255,0.18) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Holographic grid texture overlay */
.banner-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(39,216,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,216,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 100% 100% at 30% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 30% 50%, black 0%, transparent 75%);
}

/* == BANNER CONTENT LAYOUT == */
.banner-content {
  position: absolute !important;
  inset: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  z-index: 2 !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

/* == LOGO BLOCK (left) = space-between layout == */
.bm-logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 120px);
}

/* Hologram cube icon container */
.bm-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg,
    rgba(255,255,255,0.72) 0%,
    rgba(220,240,255,0.55) 50%,
    rgba(190,225,250,0.48) 100%);
  border: 1.5px solid rgba(39,216,255,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.12),
    0 0 14px rgba(39,216,255,0.26),
    0 3px 10px rgba(15,23,42,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* Pulsing ambient glow ring behind icon */
.bm-logo-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  background: transparent;
  border: 1px solid rgba(39,216,255,0.20);
  animation: logoRingPulse 3s ease-in-out infinite;
  pointer-events: none;
}
/* Inner glow dot */
.bm-logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.55) 0%, transparent 60%);
  pointer-events: none;
}
@keyframes logoRingPulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* == TITLE STACK == */
.bm-title-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bm-title-main {
  font-family: 'Exo 2', 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}
.bm-word-usdt {
  color: #0ABCE0;
  text-shadow:
    0 0 12px rgba(39,216,255,0.45),
    0 0 30px rgba(39,216,255,0.20),
    0 1px 3px rgba(255,255,255,0.70);
  font-weight: 800;
}
.bm-word-block {
  color: #0C1628;
  text-shadow:
    0 1px 3px rgba(255,255,255,0.90),
    0 0 20px rgba(39,216,255,0.12);
  font-weight: 900;
}
.bm-subtitle {
  font-family: 'Exo 2', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(10,188,224,0.65);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  line-height: 1;
}

/* == PROFILE BLOCK (right) == */
.banner-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27D8FF, #7EEBFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #0A2030;
  border: 2px solid rgba(255,255,255,0.95);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(39,216,255,0.35),
    0 0 12px rgba(39,216,255,0.28),
    0 3px 10px rgba(15,23,42,0.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.b-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  max-width: 90px;
  min-width: 0;
  flex-shrink: 1;
}

.b-name {
  font-size: 12px;
  font-weight: 700;
  color: #0C1628;
  text-shadow: 0 1px 4px rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.25;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-align: right;
}

.b-handle {
  font-size: 10px;
  color: rgba(10,188,224,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.25;
  cursor: pointer;
  font-weight: 600;
  text-align: right;
}

.b-tooltip {
  position: absolute;
  right: 14px;
  top: calc(100% + 4px);
  background: rgba(238,246,254,0.92);
  border: 1px solid rgba(39,216,255,0.30);
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  display: none;
  z-index: 99;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 0 0 1px rgba(39,216,255,0.10),
    0 4px 20px rgba(39,216,255,0.14),
    0 2px 8px rgba(15,23,42,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  animation: tipFade .18s ease;
}
.b-tooltip.show { display: block; }
@keyframes tipFade {
  from { opacity:0; transform:translateY(-4px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ===========================================
   BOTTOM NAVIGATION - Floating White Glass Dock
=========================================== */
.nav {
  position: fixed;
  bottom: 0;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  /* Premium deep glass dock */
  background: rgba(200,220,240,0.88) !important;
  backdrop-filter: blur(32px) saturate(2.0);
  -webkit-backdrop-filter: blur(32px) saturate(2.0);
  border-top: 1px solid rgba(39,216,255,0.35);
  border-radius: 0 !important;
  display: flex;
  z-index: 20;
  padding: 10px 4px max(18px, env(safe-area-inset-bottom));
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.60),
    0 -1px 0 rgba(39,216,255,0.25),
    0 -16px 50px rgba(39,216,255,0.16),
    0 -4px 20px rgba(15,23,42,0.10);
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: rgba(100,116,139,0.65);
  cursor: pointer;
  padding: 4px 2px 2px;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
  min-height: 44px;
}
.nav-btn:active { transform: scale(0.9); }

.nav-icon {
  width: 24px;
  height: 24px;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.nav-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.25s ease;
}

.nav-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,216,255,0.14) 0%, transparent 70%) !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.nav-btn.active {
  color: #27D8FF;
}
.nav-btn.active .nav-icon {
  transform: translateY(-3px) scale(1.1);
}
.nav-btn.active .nav-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,216,255,0.14) 0%, transparent 72%);
  animation: navGlowPulse 2.5s ease-in-out infinite;
}
@keyframes navGlowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.nav-btn.active .nav-glow { opacity: 1; }


.nl {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  line-height: 1;
  color: #64748B;
}


/* ===========================================
   SCREENS
=========================================== */
.screen {
  display: none;
  padding: 16px;
  animation: screenIn 0.22s cubic-bezier(0.16,1,0.3,1) both !important;
}
.screen.active { display: block; }

@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sec-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 18px 0 12px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0C1628;
  letter-spacing: -0.01em !important;
  opacity: 1;
  text-shadow: 0 1px 4px rgba(39,216,255,0.12);
}
.sec-title a {
  font-size: 12px;
  color: #27D8FF;
  font-weight: 600;
  margin-left: auto;
  cursor: pointer;
  text-decoration: none;
}

/* ===========================================
   QUICK ACTIONS
=========================================== */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.qa-btn {
  border-radius: 22px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  border: none;
  min-height: 56px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.60) inset !important;
}

/* DEPOSIT = crystal cyan */
.qa-dep {
  background: linear-gradient(135deg, #27D8FF 0%, #7EEBFF 55%, #B4F4FF 100%);
  box-shadow:
    0 6px 28px rgba(39,216,255,0.24),
    0 1px 0 rgba(255,255,255,0.50) inset !important;
  border: 1px solid rgba(255,255,255,0.40);
}
/* WITHDRAW = crisp white-red */
.qa-with {
  background: linear-gradient(135deg, #FF4F6E 0%, #FF6B86 50%, #FFB3C0 100%);
  box-shadow:
    0 6px 28px rgba(255,79,110,0.32),
    0 1px 0 rgba(255,255,255,0.35) inset !important;
  border: 1px solid rgba(255,255,255,0.30);
}

/* Button shine sweep */
.qa-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.qa-btn:active::after { left: 160%; }
.qa-dep:active  { box-shadow: 0 2px 12px rgba(39,216,255,0.22) !important; }
.qa-with:active { box-shadow: 0 2px 12px rgba(255,79,110,0.30) !important; }
.qa-btn:active  { transform: scale(0.93) !important; transition: transform 0.1s; }

.qa-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.25);
}
.qa-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
.qa-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-top: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* ===========================================
   STATS GRID - Frosted White Glass Cards
=========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.stat-card {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(39,216,255,0.28) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease !important;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.08),
    0 6px 24px rgba(39,216,255,0.16),
    0 2px 8px rgba(15,23,42,0.12) !important;
  animation: cardFadeUp 0.38s cubic-bezier(0.16,1,0.3,1) both;
}
.stat-card:nth-child(1) { animation-delay: 0.04s; }
.stat-card:nth-child(2) { animation-delay: 0.08s; }
.stat-card:nth-child(3) { animation-delay: 0.12s; }
.stat-card:nth-child(4) { animation-delay: 0.16s; }

/* Top hologram accent line */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12px; right: 12px;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.55) 30%,
    rgba(126,235,255,0.90) 50%,
    rgba(39,216,255,0.55) 70%,
    transparent 100%);
  border-radius: 1px;
}

.stat-card:active {
  transform: scale(0.96) !important;
  box-shadow: 0 2px 10px rgba(39,216,255,0.12) !important;
}

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

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(39,216,255,0.18) 0%, rgba(126,235,255,0.10) 100%);
  border: 1px solid rgba(39,216,255,0.30);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.70) inset,
    0 2px 8px rgba(39,216,255,0.14);
}

.stat-val {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}
.stat-lbl {
  font-size: 11px;
  color: rgba(71,85,105,0.90) !important;
  margin-top: 2px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ===========================================
   INVESTMENT CARDS
=========================================== */
.inv-card {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(39,216,255,0.26) !important;
  border-left: 3px solid rgba(39,216,255,0.55) !important;
  border-radius: 22px !important;
  padding: 18px !important;
  margin-bottom: 12px;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.08),
    0 8px 28px rgba(39,216,255,0.16),
    0 2px 8px rgba(15,23,42,0.12) !important;
  animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both !important;
  transition: border-color 0.3s ease !important;
}
@keyframes scaleIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.inv-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.inv-name {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}
.inv-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0,200,150,0.10);
  color: #00C896;
  border: 1px solid rgba(0,200,150,0.25);
  box-shadow: 0 0 10px rgba(0,200,150,0.18) !important;
  letter-spacing: 0.06em;
}

.inv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.inv-cell {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(39,216,255,0.20);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.80) inset, 0 2px 8px rgba(39,216,255,0.08);
}
.inv-cell-lbl {
  font-size: 10px;
  color: rgba(100,116,139,0.85) !important;
  margin-bottom: 3px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.inv-cell-val {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.collect-btn {
  width: 100%;
  background: linear-gradient(160deg, #00EDBB 0%, #00C896 45%, #009F78 85%, #008A68 100%);
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.04em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.40) inset,
    0 -1px 0 rgba(0,80,60,0.25) inset,
    0 6px 26px rgba(0,200,150,0.42),
    0 2px 8px rgba(0,140,100,0.25);
  transition: 0.18s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 48px;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.collect-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.30), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.collect-btn:active::after { left: 160%; }
.collect-btn:active {
  transform: scale(0.97) !important;
  box-shadow: 0 2px 10px rgba(0,200,150,0.30) !important;
}

.timer-box {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(39,216,255,0.30);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 4px 20px rgba(39,216,255,0.18),
    0 1px 6px rgba(15,23,42,0.10);
}
.timer-lbl {
  font-size: 11px;
  color: #64748B;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.timer-val {
  font-size: 26px;
  font-weight: 800;
  color: #27D8FF;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 16px rgba(39,216,255,0.30);
  animation: timerGlow 2s ease-in-out infinite;
}
@keyframes timerGlow {
  0%,100% { text-shadow: 0 0 10px rgba(39,216,255,0.22); }
  50%      { text-shadow: 0 0 20px rgba(39,216,255,0.42); }
}
.timer-sub {
  font-size: 10px;
  color: #94A3B8;
  margin-top: 4px;
}

/* ===========================================
   PLAN CARDS - Crystal Hologram Style
=========================================== */
.plan-card {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(39,216,255,0.28) !important;
  border-radius: 24px !important;
  padding: 20px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.09),
    0 8px 32px rgba(39,216,255,0.16),
    0 3px 10px rgba(15,23,42,0.12) !important;
}

/* Gradient border glow */
.plan-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(39,216,255,0.25) 0%,
    transparent 50%,
    rgba(39,216,255,0.12) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,216,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.plan-card.featured {
  border-color: rgba(245,166,35,0.30) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 0 24px rgba(245,166,35,0.14),
    0 6px 28px rgba(15,23,42,0.08) !important;
}

.plan-card:hover, .plan-card:active {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.65) inset,
    0 0 22px rgba(39,216,255,0.14),
    0 10px 36px rgba(15,23,42,0.10) !important;
}
.plan-card:active {
  transform: scale(0.98) !important;
  box-shadow:
    0 0 14px rgba(39,216,255,0.12),
    0 4px 16px rgba(15,23,42,0.08) !important;
}
.plan-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #1E293B;
  letter-spacing: -0.01em;
}
.plan-roi {
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}
.plan-roi-sub {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
}

.plan-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.plan-detail {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(39,216,255,0.22);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 2px 8px rgba(39,216,255,0.10);
}
.plan-dv {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
}
.plan-dk {
  font-size: 10px;
  color: rgba(100,116,139,0.85) !important;
  margin-top: 2px;
}

.plan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.plan-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  transition: 0.2s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 48px;
  /* Premium glossy cyan button */
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 40%, #0ABCE0 80%, #08A8CC 100%);
  color: #0A2030;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 -1px 0 rgba(0,120,160,0.30) inset,
    0 6px 24px rgba(39,216,255,0.38),
    0 2px 8px rgba(0,150,190,0.25) !important;
  position: relative;
  overflow: hidden;
}
.plan-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.40), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.plan-btn:active::after { left: 160%; }
.plan-btn:active {
  transform: scale(0.95) !important;
  box-shadow: 0 2px 8px rgba(39,216,255,0.25) !important;
}
.plan-btn:hover {
  box-shadow:
    0 6px 26px rgba(39,216,255,0.28),
    0 1px 0 rgba(255,255,255,0.60) inset !important;
}

/* ===========================================
   PREMIUM PLAN CARDS (prem-plan-card)
=========================================== */
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.prem-plan-card {
  border-radius: 24px;
  border: 1px solid rgba(39,216,255,0.28);
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(28px) saturate(1.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  background: rgba(255,255,255,0.54);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  animation: cardSlideUp 0.35s cubic-bezier(0.16,1,0.3,1) both;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.09),
    0 8px 32px rgba(39,216,255,0.18),
    0 3px 12px rgba(15,23,42,0.13);
}
.prem-plan-card:nth-child(2) { animation-delay: 0.05s; }
.prem-plan-card:nth-child(3) { animation-delay: 0.10s; }
.prem-plan-card:nth-child(4) { animation-delay: 0.15s; }
.prem-plan-card:nth-child(5) { animation-delay: 0.20s; }

/* Gradient border mask */
.prem-plan-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(39,216,255,0.30) 0%,
    transparent 50%,
    rgba(126,235,255,0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.prem-plan-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  border-color: rgba(39,216,255,0.22) !important;
  box-shadow:
    0 0 24px rgba(39,216,255,0.13),
    0 12px 40px rgba(15,23,42,0.10) !important;
}
.prem-plan-card:active {
  transform: scale(0.97) !important;
  box-shadow:
    0 0 14px rgba(39,216,255,0.12),
    0 4px 16px rgba(15,23,42,0.08) !important;
}

/* Plan lock */
.prem-plan-card.plan-locked {
  opacity: 0.62;
  filter: grayscale(0.35);
}
.prem-plan-card.plan-locked .ppc-btn {
  background: rgba(39,216,255,0.08) !important;
  color: #94A3B8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.plan-lock-msg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #F5A623;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.22);
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 10px;
}

.ppc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ppc-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease !important;
  box-shadow: 0 0 14px rgba(39,216,255,0.10);
}
.ppc-icon svg { width: 52px; height: 52px; }
.prem-plan-card:hover .ppc-icon {
  transform: scale(1.1) rotate(4deg) !important;
  box-shadow: 0 0 20px rgba(39,216,255,0.16) !important;
}
.prem-plan-card:active .ppc-icon {
  transform: scale(1.1) rotate(6deg) !important;
}

.ppc-title-wrap { flex: 1; }
.ppc-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  color: #1E293B;
}
.ppc-tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ppc-main-stat {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, currentColor 0%, rgba(15,23,42,0.80) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.ppc-per-day {
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  margin-left: 2px;
}

.ppc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.ppc-stat {
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(39,216,255,0.22);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 2px 10px rgba(39,216,255,0.10),
    0 1px 4px rgba(15,23,42,0.06) !important;
}
.ppc-stat-lbl {
  font-size: 10px;
  color: rgba(100,116,139,0.85);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ppc-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: -0.01em;
}

.ppc-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.04em;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 48px;
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 40%, #0ABCE0 80%, #08A8CC 100%);
  color: #0A2030;
  font-weight: 800;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 -1px 0 rgba(0,120,160,0.30) inset,
    0 6px 24px rgba(39,216,255,0.38),
    0 2px 8px rgba(0,150,190,0.25) !important;
  position: relative;
  overflow: hidden;
}
.ppc-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.40), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.ppc-btn:active::after { left: 160%; }
.ppc-btn:active, .submit-btn:active, .plan-btn:active, .collect-btn:active {
  transform: scale(0.94) !important;
  box-shadow: 0 2px 8px rgba(39,216,255,0.22) !important;
}
.ppc-btn:hover, .submit-btn:hover, .plan-btn:hover {
  box-shadow:
    0 6px 26px rgba(39,216,255,0.28),
    0 1px 0 rgba(255,255,255,0.55) inset !important;
}

/* Plan desc & users */
.plan-desc {
  margin-top: 14px;
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}
.plan-desc div { margin-bottom: 4px; }
.plan-users {
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.plan-users .dot {
  width: 8px; height: 8px;
  background: #00C896;
  border-radius: 50%;
  box-shadow: 0 0 8px #00C896;
  flex-shrink: 0;
}

/* ===========================================
   TASK ITEMS
=========================================== */
.task-item {
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.24) !important;
  border-radius: 18px !important;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 0 0 1px rgba(39,216,255,0.07),
    0 4px 16px rgba(39,216,255,0.13),
    0 1px 4px rgba(15,23,42,0.09) !important;
  animation: cardFadeUp 0.35s cubic-bezier(0.16,1,0.3,1) both;
}
.task-item:nth-child(1) { animation-delay: 0.04s; }
.task-item:nth-child(2) { animation-delay: 0.08s; }
.task-item:nth-child(3) { animation-delay: 0.12s; }
.task-item:nth-child(4) { animation-delay: 0.16s; }
.task-item:nth-child(5) { animation-delay: 0.20s; }

.task-item.done { opacity: 0.52; }
.task-item:not(.done):active { transform: scale(0.98) !important; }

.task-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, rgba(39,216,255,0.20) 0%, rgba(126,235,255,0.10) 100%);
  border: 1px solid rgba(39,216,255,0.32);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.80) inset,
    0 2px 10px rgba(39,216,255,0.18);
}
.task-info { flex: 1; }
.task-name {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
}
.task-reward {
  font-size: 12px;
  color: #F5A623;
  margin-top: 2px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(245,166,35,0.25);
}

/* ===============================================================
   TASK BUTTONS = Premium Ice White Cyan Theme
=============================================================== */
.task-btn {
  border: none !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  white-space: nowrap !important;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-height: 34px !important;
  padding: 7px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  letter-spacing: 0.02em !important;
  -webkit-tap-highlight-color: transparent !important;
}
.task-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
  pointer-events: none;
}
.task-btn:active::after { left: 150%; }
.task-btn:active { transform: scale(0.93) !important; }

/* GO button = primary cyan */
.task-btn.go {
  background: linear-gradient(135deg, #7EEBFF 0%, #27D8FF 50%, #0ABCE0 100%) !important;
  color: #0A2030 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.50) inset,
    0 4px 16px rgba(39,216,255,0.35),
    0 1px 4px rgba(0,140,180,0.20) !important;
}

/* VERIFY button = pulsing cyan */
.task-btn.verify {
  background: linear-gradient(135deg, #7EEBFF 0%, #27D8FF 50%, #0ABCE0 100%) !important;
  color: #0A2030 !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.50) inset,
    0 4px 16px rgba(39,216,255,0.35),
    0 1px 4px rgba(0,140,180,0.20) !important;
  animation: pulse-btn 1.8s ease-in-out infinite !important;
}
@keyframes pulse-btn {
  0%,100% { box-shadow: 0 1px 0 rgba(255,255,255,0.50) inset, 0 4px 16px rgba(39,216,255,0.30); }
  50%      { box-shadow: 0 1px 0 rgba(255,255,255,0.50) inset, 0 4px 22px rgba(39,216,255,0.55), 0 0 12px rgba(39,216,255,0.30); }
}

/* CLAIM button = green success */
.task-btn.claim {
  background: linear-gradient(135deg, #00EDBB 0%, #00C896 50%, #009F78 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.40) inset,
    0 4px 16px rgba(0,200,150,0.38),
    0 1px 4px rgba(0,120,90,0.20) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
}

/* CLAIMED button = muted disabled */
.task-btn.claimed {
  background: rgba(255,255,255,0.45) !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(39,216,255,0.14) !important;
  box-shadow: none !important;
  cursor: default !important;
  opacity: 0.75 !important;
  pointer-events: none !important;
}
.task-btn.claimed::after { display: none !important; }

/* ===========================================
   REFERRAL SECTION
=========================================== */
.ref-hero {
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(39,216,255,0.30);
  border-radius: 26px;
  padding: 26px;
  text-align: center;
  margin-bottom: 18px;
  backdrop-filter: blur(28px) saturate(1.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 0 0 1px rgba(39,216,255,0.10),
    0 8px 36px rgba(39,216,255,0.18),
    0 4px 16px rgba(15,23,42,0.12);
}
.ref-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #1E293B;
  letter-spacing: -0.02em;
}

.ref-levels {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ref-lvl { text-align: center; }
.ref-lvl-pct {
  font-size: 22px;
  font-weight: 800;
  color: #27D8FF;
  text-shadow: 0 0 10px rgba(39,216,255,0.26);
}
.ref-lvl-label {
  font-size: 10px;
  color: #64748B;
  margin-top: 2px;
}

.ref-link-box {
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(39,216,255,0.28);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 2px 10px rgba(39,216,255,0.12);
}
.ref-link-txt {
  flex: 1;
  font-size: 11px;
  color: #27D8FF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.copy-btn:active { transform: scale(0.96); }

.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.ref-stat {
  background: rgba(255,255,255,0.52) !important;
  border-radius: 16px !important;
  padding: 14px 10px !important;
  text-align: center;
  border: 1px solid rgba(39,216,255,0.24) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 4px 18px rgba(39,216,255,0.14),
    0 1px 5px rgba(15,23,42,0.08) !important;
  transition: transform 0.2s ease !important;
}
.ref-stat:active { transform: scale(0.96) !important; }

.ref-stat-val {
  font-size: 20px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #27D8FF, #7EEBFF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 0 14px rgba(39,216,255,0.25);
}
.ref-stat-lbl {
  font-size: 10px;
  color: rgba(100,116,139,0.85) !important;
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.collect-comm-box {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(245,166,35,0.30);
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 0 32px rgba(245,166,35,0.14),
    0 4px 18px rgba(15,23,42,0.10);
}
.comm-label {
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.comm-pending {
  font-size: 32px;
  font-weight: 800;
  color: #F5A623;
  margin-bottom: 14px;
  text-shadow: 0 0 22px rgba(245,166,35,0.30);
}
.comm-btn {
  width: 100%;
  background: linear-gradient(135deg, #F5A623 0%, #FFD080 60%, #FFBD4A 100%);
  border: none;
  color: #1E293B;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  box-shadow: 0 4px 20px rgba(245,166,35,0.32);
  transition: 0.2s;
  min-height: 48px;
}
.comm-btn:active { transform: scale(0.97); }
.ref-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27D8FF, #7EEBFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 0 10px rgba(39,216,255,0.16);
}
.ref-user { flex: 1; }
.ref-uname { font-size: 13px; font-weight: 600; color: #1E293B; }
.ref-udate { font-size: 11px; color: #64748B; }
.ref-earned {
  font-size: 13px;
  font-weight: 700;
  color: #00C896;
  text-shadow: 0 0 10px rgba(0,200,150,0.25);
}

/* Referral table */

.ref-table-title {
  font-size: 13px;
  font-weight: 700;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(39,216,255,0.12);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1E293B;
}
.ref-table { width: 100%; border-collapse: collapse; }
.ref-table th {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  padding: 10px 14px;
  text-align: left;
  background: rgba(39,216,255,0.04);
  border-bottom: 1px solid rgba(39,216,255,0.10);
}
.ref-table th:not(:first-child) { text-align: center; }
.ref-table td {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(39,216,255,0.06);
  color: #1E293B;
}
.ref-table td:not(:first-child) { text-align: center; }
.ref-table tr:last-child td { border-bottom: none; }
.ref-table tr.total-row td {
  background: rgba(39,216,255,0.04);
  font-weight: 800;
}
.ref-tval { font-size: 16px; font-weight: 800; }
.ref-act { color: #00C896; }
.ref-lvl1-c { color: #27D8FF; }
.ref-lvl2-c { color: #F5A623; }
.ref-lvl3-c { color: #7B8CDE; }

/* ===========================================
   WALLET / BALANCE CARD
=========================================== */
.bal-card {
  background: rgba(255,255,255,0.60) !important;
  border: 1px solid rgba(39,216,255,0.35) !important;
  border-radius: 28px;
  padding: 26px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(32px) saturate(2.0);
  -webkit-backdrop-filter: blur(32px) saturate(2.0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 0 0 1px rgba(39,216,255,0.12),
    0 12px 48px rgba(39,216,255,0.24),
    0 6px 20px rgba(15,23,42,0.14) !important;
}
.bal-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,216,255,0.22) 0%, rgba(126,235,255,0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
/* Holographic scanning line */
.bal-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.39) 30%,
    rgba(126,235,255,0.90) 50%,
    rgba(39,216,255,0.39) 70%,
    transparent 100%);
  pointer-events: none;
}

.bal-label {
  font-size: 11px !important;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em !important;
  opacity: 0.7 !important;
}

@keyframes balGlowPremium {
  0%,100% { text-shadow: 0 0 12px rgba(39,216,255,0.30), 0 0 30px rgba(39,216,255,0.12); }
  50%      { text-shadow: 0 0 36px rgba(39,216,255,0.55), 0 0 80px rgba(39,216,255,0.24); }
}

.bal-sub {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 4px;
}

/* Wallet tabs */
.w-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.45);
  border-radius: 16px;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid rgba(39,216,255,0.24);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.80) inset,
    0 2px 12px rgba(39,216,255,0.10);
}


.w-panel { display: none; }
.w-panel.active { display: block; }

/* Forms */

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(39,216,255,0.24);
  border-radius: 14px !important;
  padding: 13px 16px;
  color: #0F172A;
  font-size: 16px !important;
  font-family: 'Exo 2', sans-serif;
  outline: none;
  transition: 0.25s;
  margin-bottom: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 2px 8px rgba(39,216,255,0.08);
}
.form-input:focus {
  border-color: rgba(39,216,255,0.36) !important;
  background: rgba(240,247,254,0.90);
  box-shadow: 0 0 0 3px rgba(39,216,255,0.08), 0 2px 8px rgba(15,23,42,0.06) !important;
  outline: none !important;
}
.form-input::placeholder { color: #94A3B8; }

/* Network badges */
.net-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}



.addr-lbl {
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 600;
}
.addr-val {
  font-size: 12px;
  color: #27D8FF;
  word-break: break-all;
  line-height: 1.6;
  font-weight: 600;
}

/* QR box */




/* Submit button */
.submit-btn {
  width: 100%;
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 40%, #0ABCE0 80%, #08A8CC 100%);
  color: #0A2030;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Exo 2', sans-serif;
  cursor: pointer;
  transition: 0.2s;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 -1px 0 rgba(0,120,160,0.30) inset,
    0 6px 28px rgba(39,216,255,0.40),
    0 2px 10px rgba(0,150,190,0.25) !important;
  min-height: 48px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.40), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.submit-btn:active::after { left: 160%; }

/* Withdraw button = accent red/coral */
#panel-withdraw .submit-btn {
  background: linear-gradient(135deg, #FF4F6E 0%, #FF6B86 50%, #FFB3C0 100%) !important;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
  box-shadow:
    0 4px 22px rgba(255,79,110,0.32),
    0 1px 0 rgba(255,255,255,0.30) inset !important;
}
#panel-withdraw .submit-btn:hover {
  box-shadow: 0 6px 30px rgba(255,79,110,0.45), 0 1px 0 rgba(255,255,255,0.30) inset !important;
}


/* Transaction items */
.tx-item {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(39,216,255,0.22);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 3px 14px rgba(39,216,255,0.12),
    0 1px 4px rgba(15,23,42,0.08);
}
.tx-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.tx-icon.dep { background: rgba(0,200,150,0.12); }
.tx-icon.with { background: rgba(255,79,110,0.12); }
.tx-info { flex: 1; }
.tx-type { font-size: 13px; font-weight: 600; color: #1E293B; }
.tx-date { font-size: 11px; color: #64748B; }
.tx-amount { font-size: 14px; font-weight: 700; }
.tx-amount.dep { color: #00C896; }
.tx-amount.with { color: #FF4F6E; }
.tx-status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.tx-status.completed, .tx-status.approved {
  background: rgba(0,200,150,0.10);
  color: #00C896;
  border: 1px solid rgba(0,200,150,0.20);
}
.tx-status.pending {
  background: rgba(245,166,35,0.10);
  color: #F5A623;
  border: 1px solid rgba(245,166,35,0.22);
}
.tx-status.rejected {
  background: rgba(255,79,110,0.10);
  color: #FF4F6E;
  border: 1px solid rgba(255,79,110,0.20);
}

/* ===========================================
   STATUS BADGES
=========================================== */
.badge-pending, [class*="badge-pending"] {
  background: rgba(245,166,35,0.10) !important;
  color: #F5A623 !important;
  border: 1px solid rgba(245,166,35,0.25) !important;
  box-shadow: 0 0 8px rgba(245,166,35,0.18) !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
}
.badge-approved, .badge-active, .badge-completed,
[class*="badge-approved"], [class*="badge-completed"] {
  background: rgba(0,200,150,0.10) !important;
  color: #00C896 !important;
  border: 1px solid rgba(0,200,150,0.22) !important;
  box-shadow: 0 0 8px rgba(0,200,150,0.15) !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
}
.badge-rejected, [class*="badge-rejected"] {
  background: rgba(255,79,110,0.08) !important;
  color: #FF4F6E !important;
  border: 1px solid rgba(255,79,110,0.22) !important;
  box-shadow: 0 0 7px rgba(255,79,110,0.13) !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
}

/* ===========================================
   MODAL
=========================================== */
.modal-ov {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal-ov.open { display: flex; }

.modal {
  background: rgba(235,245,255,0.92) !important;
  border: 1px solid rgba(39,216,255,0.32);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  padding: 24px 20px 42px;
  width: 100%;
  max-width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: su 0.3s cubic-bezier(0.16,1,0.3,1);
  backdrop-filter: blur(40px) saturate(2.0);
  -webkit-backdrop-filter: blur(40px) saturate(2.0);
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.90),
    0 -4px 0 rgba(39,216,255,0.18),
    0 -24px 70px rgba(39,216,255,0.18),
    0 -6px 28px rgba(15,23,42,0.14);
}
@keyframes su {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-handle {
  width: 40px; height: 4px;
  background: rgba(39,216,255,0.25);
  border-radius: 4px;
  margin: 0 auto 20px;
}
.modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #1E293B;
  text-align: right;
}
.modal-desc {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 18px;
  line-height: 1.5;
}

.prev-box {
  background: rgba(213,230,245,0.30);
  border: 1px solid rgba(39,216,255,0.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.prev-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: #1E293B;
}
.prev-row:last-child { margin-bottom: 0; }

/* ===========================================
   TOAST
=========================================== */
#toast,
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  background: linear-gradient(135deg, #27D8FF, #7EEBFF);
  color: #1E293B;
  padding: 11px 24px;
  border-radius: 14px !important;
  font-size: 13px;
  font-weight: 700;
  z-index: 100;
  transition: 0.3s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(39,216,255,0.26),
    0 1px 0 rgba(255,255,255,0.50) inset !important;
  border: 1px solid rgba(255,255,255,0.40) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.02em;
}
.toast.show,
#toast.show { transform: translateX(-50%) translateY(0); }
.toast.error,
#toast.error {
  background: linear-gradient(135deg, #FF4F6E, #FF6B86);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,79,110,0.40), 0 1px 0 rgba(255,255,255,0.25) inset !important;
}

@keyframes toastIn {
  from { transform: translateX(-50%) translateY(80px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);   opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(-50%) translateY(0);   opacity: 1; }
  to   { transform: translateX(-50%) translateY(80px); opacity: 0; }
}

/* ===========================================
   HISTORY FILTER
=========================================== */
.hist-filter-btn {
  background: rgba(232,241,250,0.76);
  border: 1px solid rgba(39,216,255,0.16);
  color: #64748B;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  transition: 0.25s;
}


/* Earn history */
.eh-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(39,216,255,0.08);
}
.eh-item:last-child { border-bottom: none; }
.eh-date { font-size: 12px; color: #64748B; }
.eh-amt {
  font-size: 14px;
  font-weight: 700;
  color: #00C896;
  text-shadow: 0 0 10px rgba(0,200,150,0.25);
}

/* ===========================================
   LOADING OVERLAY
=========================================== */
.loading-ov {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(195,218,238,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(39,216,255,0.15);
  border-top-color: #27D8FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 14px rgba(39,216,255,0.16);
}
@keyframes spin { to { transform: rotate(360deg); } }

.loader-txt {
  color: #64748B;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}


.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(39,216,255,0.07);
}
.tier-row:last-child { border-bottom: none; padding-bottom: 0; }
.tier-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===========================================
   RANK BADGES
=========================================== */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.rank-Member { background: rgba(39,216,255,0.08); color: #64748B; }
.rank-VIP1   { background: rgba(0,200,150,0.10); color: #00C896; border: 1px solid rgba(0,200,150,0.22); }
.rank-VIP2   { background: rgba(39,216,255,0.10); color: #27D8FF; border: 1px solid rgba(39,216,255,0.22); }
.rank-VIP3   { background: rgba(245,166,35,0.10); color: #F5A623; border: 1px solid rgba(245,166,35,0.22); }
.rank-VIP4   { background: rgba(123,140,222,0.10); color: #7B8CDE; border: 1px solid rgba(123,140,222,0.22); }
.rank-VIP5   { background: linear-gradient(135deg, rgba(39,216,255,0.15), rgba(126,235,255,0.12)); color: #27D8FF; border: 1px solid rgba(39,216,255,0.28); }

.rank-progress-wrap { margin: 10px 0 0; text-align: center; }
.rank-progress-lbl  { font-size: 10px; color: #64748B; margin-bottom: 5px; }
.rank-progress { height: 4px; background: rgba(39,216,255,0.10); border-radius: 4px; overflow: hidden; }
.rank-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #27D8FF, #7EEBFF);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Leaderboard */
.leaderboard-wrap { margin-top: 14px; }
.leaderboard-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1E293B;
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(39,216,255,0.22);
  border-radius: 15px;
  margin-bottom: 7px;
  transition: 0.2s;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 3px 12px rgba(39,216,255,0.12),
    0 1px 4px rgba(15,23,42,0.08);
}
.leader-row:active { transform: scale(0.98); }
.leader-pos { font-size: 13px; font-weight: 800; color: #27D8FF; width: 22px; text-align: center; flex-shrink: 0; }
.leader-pos.gold   { color: #F5A623; }
.leader-pos.silver { color: #64748B; }
.leader-pos.bronze { color: #B45309; }
.leader-info { flex: 1; min-width: 0; }
.leader-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1E293B; }
.leader-uid  { font-size: 10px; color: #64748B; margin-top: 1px; }
.leader-right { text-align: right; flex-shrink: 0; }
.leader-earn { font-size: 13px; font-weight: 700; color: #00C896; }
.leader-rank { font-size: 10px; margin-top: 2px; }

.ref-active-row { display: flex; justify-content: center; margin: 10px 0; gap: 18px; }
.ref-active-item { text-align: center; }
.ref-active-val { font-size: 20px; font-weight: 800; color: #27D8FF; }
.ref-active-lbl { font-size: 10px; color: #64748B; margin-top: 2px; }

/* ===========================================
   SKELETON LOADING
=========================================== */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.skel-stat { height: 80px; border-radius: 18px; }
.skel-plan { height: 220px; border-radius: 20px; margin-bottom: 14px; }
.skel-inv  { height: 140px; border-radius: 22px; margin-bottom: 12px; }

/* ===========================================
   LIVE ACTIVITY FEED
=========================================== */
#live-activity {
  position: fixed;
  bottom: 90px;
  left: 14px;
  z-index: 50;
  max-width: 220px;
  pointer-events: none;
}
.act-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(28px) saturate(1.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  border: 1px solid rgba(39,216,255,0.32);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 4px 24px rgba(39,216,255,0.22),
    0 1px 8px rgba(15,23,42,0.10);
  animation: actIn 0.35s cubic-bezier(0.16,1,0.3,1) both;
}
.act-card.hiding { animation: actOut 0.3s ease forwards; }
@keyframes actIn  { from { opacity:0; transform:translateX(-16px) scale(0.96); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes actOut { from { opacity:1; transform:translateX(0) scale(1); } to { opacity:0; transform:translateX(-16px) scale(0.96); } }

.act-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.act-text { font-size: 12px; font-weight: 600; color: #1E293B; line-height: 1.4; }
.act-sub  { font-size: 10px; color: #64748B; font-weight: 400; }

/* ===========================================
   TRUST BADGES
=========================================== */

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ===========================================
   WHITEPAPER MODAL
=========================================== */
.whitepaper-btn {
  background: rgba(39,216,255,0.10);
  border: 1px solid rgba(39,216,255,0.28);
  padding: 5px 12px;
  border-radius: 20px;
  color: #27D8FF;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.whitepaper-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.whitepaper-modal.open { display: flex; }
.whitepaper-content {
  background: rgba(237,245,253,0.94);
  border: 1px solid rgba(39,216,255,0.20);
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 20px 18px 32px;
  border-radius: 22px 22px 0 0;
  color: #1E293B;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 -4px 40px rgba(39,216,255,0.14);
}
.whitepaper-content h2 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(90deg, #27D8FF, #7EEBFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.whitepaper-content h3 {
  font-size: 13px;
  font-weight: 700;
  color: #27D8FF;
  margin-top: 18px;
  margin-bottom: 6px;
}
.whitepaper-content p {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
.wp-handle {
  width: 36px; height: 4px;
  background: rgba(39,216,255,0.25);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.wp-close {
  float: right;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(39,216,255,0.10);
  border: 1px solid rgba(39,216,255,0.20);
  color: #64748B;
  font-size: 16px;
  cursor: pointer;
  line-height: 26px;
  text-align: center;
  margin-top: -4px;
}

/* FAQ Modal */
.faq-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.faq-modal.open { display: flex; }
.faq-content {
  background: rgba(237,245,253,0.94);
  border: 1px solid rgba(39,216,255,0.18);
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 20px 18px 32px;
  border-radius: 22px 22px 0 0;
  color: #1E293B;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 -4px 40px rgba(39,216,255,0.12);
}
.faq-content-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #27D8FF, #7EEBFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-item {
  border-bottom: 1px solid rgba(39,216,255,0.08);
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  user-select: none;
  gap: 8px;
}
.faq-arrow {
  font-size: 18px;
  color: #27D8FF;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: inline-block;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-item p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.65;
  margin: 8px 0 0;
  display: none;
}
.faq-item.open p { display: block; }

/* Earn steps */
.earn-step { border-bottom: 1px solid rgba(39,216,255,0.08); padding: 10px 0; }
.earn-step-label { font-size: 12px; font-weight: 700; margin-bottom: 4px; color: #1E293B; }
.earn-step-text { font-size: 13px; color: #64748B; line-height: 1.6; }

/* Progress bar (generic) */
.progress { height: 5px; background: rgba(39,216,255,0.10); border-radius: 10px; margin-top: 10px; overflow: hidden; }
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #27D8FF, #7EEBFF);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* ===========================================
   GRADIENT TEXT UTILITY
=========================================== */
.gradient-text {
  background: linear-gradient(90deg, #27D8FF, #7EEBFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================================
   RTL SUPPORT - unchanged structure
=========================================== */
body.rtl { direction: rtl; text-align: right; }
body.rtl .nav-bar { direction: rtl; }
body.rtl .qa-btn { flex-direction: row-reverse; }
body.rtl .tx-item { flex-direction: row-reverse; }
body.rtl .tx-info { text-align: right; }
body.rtl .inv-grid { direction: rtl; }
body.rtl .inv-hdr { flex-direction: row-reverse; }
body.rtl .stat-card { direction: rtl; }
body.rtl .ref-item { flex-direction: row-reverse; }
body.rtl .ref-user { text-align: right; }
body.rtl .form-lbl { text-align: right; display: block; }
body.rtl .form-input { text-align: right; direction: rtl; }
body.rtl .form-input[type="number"] { text-align: left; direction: ltr; }
body.rtl .addr-val { direction: ltr; text-align: center; }
body.rtl .submit-btn { direction: rtl; }
body.rtl .modal-title { text-align: right; }
body.rtl .warn-box { text-align: right; }
body.rtl .act-card { flex-direction: row-reverse; text-align: right; }
body.rtl .prem-plan-card { direction: rtl; }
body.rtl .ppc-header { flex-direction: row-reverse; }
body.rtl .ppc-title-wrap { text-align: right; }
body.rtl .hist-filter-btn { direction: rtl; }
body.rtl .net-badges { justify-content: flex-end; }
body.rtl .eh-item { flex-direction: row-reverse; }
body.rtl .stat-val, body.rtl .inv-cell-val, body.rtl .tx-amount,
body.rtl .ref-earned, body.rtl #balAmount, body.rtl #withBal {
  direction: ltr;
  unicode-bidi: embed;
}

/* ===========================================
   MOBILE OPTIMIZATIONS
=========================================== */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
html { -webkit-text-size-adjust: 100%; }
body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  padding-top: env(safe-area-inset-top);
}
.nav { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.content { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

/* Bigger touch targets */
.nav-btn { min-height: 44px; padding: 6px 0; }
.qa-btn  { min-height: 56px; }
.collect-btn, .submit-btn, .comm-btn, .plan-btn { min-height: 48px; }
.task-btn { min-height: 34px !important; padding: 7px 14px !important; font-size: 11px !important; }
.w-tab { min-height: 42px; }

button:active {
  transform: scale(0.94) !important;
  transition: transform 0.12s ease !important;
}

/* == SMALL SCREENS == */
@media (max-width: 500px) {
  .banner-wrap {
    height: 106px !important;
  }
  .bm-title-main { font-size: 15px !important; }
  .bm-logo-icon { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
  .banner-content { padding: 0 12px !important; gap: 8px !important; }
  .bm-logo-block { gap: 8px !important; max-width: calc(100% - 110px) !important; }
  .b-name   { font-size: 12px !important; }
  .b-handle { font-size: 10px !important; }
  .avatar   { width: 32px !important; height: 32px !important; }
  .stats-grid { gap: 8px !important; }
  .quick-actions { gap: 8px !important; }
  .screen { padding: 12px !important; }
}
@media (max-width: 400px) {
  .b-name   { font-size: 11px !important; }
  .b-handle { font-size: 9px !important; }
  .b-texts  { max-width: 90px !important; }
  .avatar   { width: 26px !important; height: 26px !important; font-size: 10px !important; }
  .banner-content { right: 10px !important; gap: 5px !important; }
}
@media (max-width: 380px) {
  .banner-wrap { height: 96px !important; }
  .bm-title-main { font-size: 13px !important; }
  .bm-subtitle { font-size: 7.5px !important; letter-spacing: 0.14em !important; }
  .bm-logo-block { gap: 7px !important; max-width: calc(100% - 105px) !important; }
  .bm-logo-icon { width: 30px !important; height: 30px !important; border-radius: 9px !important; }
  .banner-right { gap: 6px !important; }
  .b-texts { max-width: 78px !important; }
  .plan-roi { font-size: 26px !important; }
  .ppc-main-stat { font-size: 34px !important; }
  .stat-val { font-size: 14px !important; }
}
@media (max-width: 360px) {
  .stats-grid { gap: 8px; }
  .stat-val   { font-size: 15px; }
  .quick-actions { gap: 8px; }
  .plan-roi   { font-size: 28px; }
  .ppc-main-stat { font-size: 32px; }
  .screen     { padding: 12px; }
}

/* Active states for touch */
.qa-btn:active, .stat-card:active,
.plan-card:active, .prem-plan-card:active,
.task-item:active {
  transform: scale(0.97);
  transition: transform 0.1s;
}

/* ===========================================
   TELEGRAM WEBVIEW FIXES
=========================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
.app { width: 100% !important; max-width: 100% !important; }
.banner-wrap { width: 100% !important; max-width: 100% !important; }
.nav {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

/* ===========================================
   TYPOGRAPHY - ICE FINTECH
=========================================== */
h1, h2, h3,
.sec-title, .plan-name, .stat-val,
.inv-name, .ref-stat-val { letter-spacing: -0.01em; }
.bal-amount { letter-spacing: -0.03em !important; }
.plan-roi, .ppc-main-stat { letter-spacing: -0.02em !important; }
.nl, .form-lbl, .stat-lbl { letter-spacing: 0.04em; }
body { letter-spacing: 0.015em; }

/* ===========================================
   SCROLLBAR
=========================================== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(39,216,255,0.20); border-radius: 3px; }

/* ===========================================
   PREMIUM DEPTH ENHANCEMENTS v3
   Layering, glow, panel separation
=========================================== */

/* Screen panels = add subtle elevated feel */
.screen {
  position: relative;
}
.screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.15) 30%,
    rgba(39,216,255,0.25) 50%,
    rgba(39,216,255,0.15) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Ref link copy button */
.copy-btn {
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 45%, #0ABCE0 100%);
  border: none;
  color: #0A2030;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Exo 2', sans-serif;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.50) inset,
    0 3px 14px rgba(39,216,255,0.38);
  transition: 0.2s;
}

/* Tier box */
.tier-box {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(39,216,255,0.24);
  border-radius: 20px;
  padding: 16px;
  margin-top: 8px;
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 4px 18px rgba(39,216,255,0.12),
    0 1px 5px rgba(15,23,42,0.08);
}

/* Addr box */
.addr-box {
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.24);
  border-radius: 18px !important;
  padding: 18px;
  margin-bottom: 14px;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 3px 14px rgba(39,216,255,0.12),
    0 1px 5px rgba(15,23,42,0.08);
}

/* trust-row */
.trust-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(39,216,255,0.20);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.82) inset,
    0 2px 12px rgba(39,216,255,0.10);
}

/* ref-table-box */
.ref-table-box {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(39,216,255,0.22);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 4px 20px rgba(39,216,255,0.13),
    0 1px 6px rgba(15,23,42,0.09);
}

/* ref-item */
.ref-item {
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(39,216,255,0.20);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.82) inset,
    0 2px 10px rgba(39,216,255,0.10);
}

/* warn-box */
.warn-box {
  background: rgba(255,250,235,0.70);
  border: 1px solid rgba(245,166,35,0.30);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px;
  color: #92400E;
  line-height: 1.6;
  margin-bottom: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.80) inset,
    0 2px 10px rgba(245,166,35,0.10);
}

/* nav-btn active label = stronger emphasis */
.nav-btn.active .nl {
  color: #0ABCE0;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-btn.active .nav-icon svg {
  stroke: #0ABCE0;
  filter: drop-shadow(0 0 5px rgba(39,216,255,0.40)) !important;
}

/* Plan badge improvements */
.plan-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Progress bars = more visible */
.prog {
  height: 6px !important;
  background: rgba(39,216,255,0.14);
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 14px;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ABCE0 0%, #27D8FF 50%, #7EEBFF 100%) !important;
  border-radius: 10px !important;
  transition: width 0.6s ease !important;
  box-shadow: 0 0 10px rgba(39,216,255,0.40);
}

/* w-tab active = deeper */
.w-tab.active {
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 45%, #0ABCE0 100%) !important;
  color: #0A2030 !important;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 4px 20px rgba(39,216,255,0.38) !important;
}

/* hist-filter-btn active */
.hist-filter-btn.active {
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 45%, #0ABCE0 100%);
  border-color: transparent;
  color: #0A2030;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(39,216,255,0.32);
}

/* QR box */
.qr-box {
  width: 138px; height: 138px;
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  margin: 12px auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow:
    0 0 0 4px rgba(39,216,255,0.22),
    0 0 0 1px rgba(255,255,255,0.85),
    0 6px 28px rgba(39,216,255,0.22);
  overflow: hidden;
}

/* skeleton loading = better contrast */
.skeleton {
  background: linear-gradient(90deg,
    rgba(39,216,255,0.09) 25%,
    rgba(39,216,255,0.16) 50%,
    rgba(39,216,255,0.09) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 10px;
}

/* semi-amt-btn */
.semi-amt-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(39,216,255,0.24);
  background: rgba(255,255,255,0.52);
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  transition: 0.2s;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.80) inset;
}
.semi-amt-btn.active {
  background: rgba(39,216,255,0.20);
  border-color: #27D8FF;
  color: #0A2030;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.60) inset,
    0 0 16px rgba(39,216,255,0.30);
}

/* net-badge */
.net-badge {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(39,216,255,0.22);
  background: rgba(255,255,255,0.50);
  cursor: pointer;
  transition: 0.25s;
  color: #334155;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.80) inset;
}
.net-badge.active {
  border-color: rgba(39,216,255,0.45);
  color: #0ABCE0;
  background: rgba(39,216,255,0.16);
  box-shadow:
    0 0 0 1px rgba(39,216,255,0.20),
    0 0 14px rgba(39,216,255,0.20);
}

/* whitepaper / faq content */
.whitepaper-content, .faq-content {
  background: rgba(235,245,255,0.94) !important;
  border: 1px solid rgba(39,216,255,0.24) !important;
}

/* Strong text improvements */
.inv-name, .task-name, .plan-name, .ppc-name,
.ref-uname, .leader-name, .tx-type {
  color: #0C1628;
}
.inv-cell-lbl, .plan-dk, .ppc-stat-lbl,
.stat-lbl, .ref-stat-lbl, .task-reward + *,
.form-lbl { color: #475569; }

/* MOBILE: compact premium layout */
@media (max-width: 500px) {
  .stat-card { padding: 13px !important; }
  .plan-card { padding: 16px !important; }
  .prem-plan-card { padding: 16px !important; }
  .bal-card { padding: 20px !important; }
  .ref-hero { padding: 20px !important; }
  .inv-card { padding: 14px !important; }
}


/* ===============================================================
   WALLET SCREEN PREMIUM UPGRADE
   Premium fintech glass UI - wallet, deposit, withdraw, history
=============================================================== */

/* == WALLET SCREEN wrapper == */
#screen-wallet {
  padding: 14px 14px 20px !important;
}

/* == BAL-CARD: hero balance card == */
.bal-card {
  background: rgba(255,255,255,0.62) !important;
  border: 1px solid rgba(39,216,255,0.32) !important;
  border-radius: 26px !important;
  padding: 24px 22px 20px !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(32px) saturate(2.0) !important;
  -webkit-backdrop-filter: blur(32px) saturate(2.0) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 0 0 1px rgba(39,216,255,0.10),
    0 10px 40px rgba(39,216,255,0.22),
    0 4px 16px rgba(15,23,42,0.12) !important;
  margin-bottom: 0 !important;
}
/* Top shimmer line */
.bal-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(39,216,255,0.50) 25%,
    rgba(126,235,255,0.95) 50%,
    rgba(39,216,255,0.50) 75%,
    transparent 100%);
  pointer-events: none;
}
/* Ambient orb */
.bal-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,216,255,0.20) 0%, rgba(126,235,255,0.06) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(18px);
}

.bal-label {
  font-size: 10px !important;
  color: #475569 !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  opacity: 1 !important;
  margin-bottom: 8px;
}
.bal-amount {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: #18AECE !important;
  -webkit-text-fill-color: #18AECE !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(39,216,255,0.30) !important;
}
.bal-sub {
  font-size: 12px !important;
  color: #64748B !important;
  margin-top: 4px;
  font-weight: 500;
}

/* == W-TABS: premium segmented control == */
.w-tabs {
  display: flex !important;
  gap: 5px !important;
  background: rgba(255,255,255,0.48) !important;
  border-radius: 18px !important;
  padding: 5px !important;
  border: 1px solid rgba(39,216,255,0.24) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 2px 12px rgba(39,216,255,0.12) !important;
  margin-bottom: 18px !important;
}
.w-tab {
  flex: 1 !important;
  padding: 11px 8px !important;
  border: none !important;
  background: none !important;
  color: #64748B !important;
  border-radius: 13px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-height: 42px !important;
  letter-spacing: 0.02em;
  position: relative;
}
.w-tab.active {
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 45%, #0ABCE0 100%) !important;
  color: #0A2030 !important;
  font-weight: 700 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.50) inset,
    0 -1px 0 rgba(0,120,160,0.28) inset,
    0 4px 18px rgba(39,216,255,0.40),
    0 2px 6px rgba(0,150,190,0.22) !important;
  transform: translateY(-1px);
}

/* == FORM INPUTS == */
.form-lbl {
  font-size: 11px !important;
  color: #334155 !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-bottom: 7px !important;
  display: block !important;
}
.form-input {
  width: 100% !important;
  background: rgba(255,255,255,0.65) !important;
  border: 1.5px solid rgba(39,216,255,0.22) !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  color: #0F172A !important;
  font-size: 16px !important;
  font-family: 'Exo 2', sans-serif !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  margin-bottom: 14px !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 2px 10px rgba(39,216,255,0.08) !important;
}
.form-input:focus {
  border-color: rgba(39,216,255,0.50) !important;
  background: rgba(255,255,255,0.78) !important;
  box-shadow:
    0 0 0 3px rgba(39,216,255,0.14),
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 4px 18px rgba(39,216,255,0.18) !important;
}
.form-input::placeholder { color: #94A3B8 !important; }

/* == WARN BOX == */
.warn-box {
  background: rgba(255,251,235,0.72) !important;
  border: 1px solid rgba(245,166,35,0.28) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-size: 12px !important;
  color: #92400E !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 2px 10px rgba(245,166,35,0.10) !important;
  font-weight: 500;
}

/* == SUBMIT BUTTONS == */
.submit-btn {
  width: 100% !important;
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 42%, #0ABCE0 80%, #08A8CC 100%) !important;
  color: #0A2030 !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 15px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  font-family: 'Exo 2', sans-serif !important;
  cursor: pointer !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.55) inset,
    0 -1px 0 rgba(0,120,160,0.28) inset,
    0 6px 26px rgba(39,216,255,0.40),
    0 2px 8px rgba(0,150,190,0.22) !important;
  min-height: 50px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.40), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.submit-btn:active::after { left: 160%; }
.submit-btn:active {
  transform: scale(0.97) !important;
  box-shadow: 0 2px 10px rgba(39,216,255,0.30) !important;
}
/* Withdraw submit - red */
#panel-withdraw .submit-btn {
  background: linear-gradient(160deg, #FF7A8A 0%, #FF4F6E 42%, #E8354F 80%, #CC2A42 100%) !important;
  color: #fff !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.30) inset,
    0 6px 26px rgba(255,79,110,0.42),
    0 2px 8px rgba(200,40,70,0.22) !important;
}

/* == ADDR BOX == */
.addr-box {
  background: rgba(255,255,255,0.58) !important;
  border: 1px solid rgba(39,216,255,0.26) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  margin-bottom: 14px !important;
  backdrop-filter: blur(22px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.8) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.90) inset,
    0 4px 20px rgba(39,216,255,0.14),
    0 2px 8px rgba(15,23,42,0.10) !important;
}
.addr-lbl {
  font-size: 10px !important;
  color: #475569 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}
.addr-val {
  font-size: 12px !important;
  color: #0ABCE0 !important;
  word-break: break-all !important;
  line-height: 1.7 !important;
  font-weight: 600 !important;
}

/* == QR BOX == */
.qr-box {
  width: 140px !important;
  height: 140px !important;
  background: rgba(255,255,255,0.80) !important;
  border-radius: 18px !important;
  margin: 14px auto 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 36px !important;
  box-shadow:
    0 0 0 4px rgba(39,216,255,0.20),
    0 0 0 1px rgba(255,255,255,0.90),
    0 6px 28px rgba(39,216,255,0.22) !important;
  overflow: hidden !important;
}

/* == NET BADGE == */
.net-badge {
  padding: 9px 20px !important;
  border-radius: 26px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1.5px solid rgba(39,216,255,0.22) !important;
  background: rgba(255,255,255,0.55) !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  color: #334155 !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset !important;
}
.net-badge.active {
  border-color: rgba(39,216,255,0.50) !important;
  color: #0A2030 !important;
  background: linear-gradient(135deg, rgba(39,216,255,0.22) 0%, rgba(126,235,255,0.14) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(39,216,255,0.20),
    0 0 14px rgba(39,216,255,0.22) !important;
}

/* == HISTORY FILTER BUTTONS == */
.hist-filter-btn {
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.20) !important;
  color: #475569 !important;
  padding: 8px 14px !important;
  border-radius: 22px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: all 0.22s ease !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.82) inset !important;
}
.hist-filter-btn.active {
  background: linear-gradient(160deg, #5EE8FF 0%, #27D8FF 48%, #0ABCE0 100%) !important;
  border-color: transparent !important;
  color: #0A2030 !important;
  font-weight: 700 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 3px 16px rgba(39,216,255,0.35) !important;
}

/* == TX ITEMS == */
.tx-item {
  background: rgba(255,255,255,0.56) !important;
  border: 1px solid rgba(39,216,255,0.20) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  margin-bottom: 9px !important;
  backdrop-filter: blur(22px) saturate(1.7) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.7) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 3px 14px rgba(39,216,255,0.10),
    0 1px 4px rgba(15,23,42,0.08) !important;
  transition: transform 0.18s ease !important;
}
.tx-item:active { transform: scale(0.98) !important; }
.tx-type { font-size: 13px !important; font-weight: 600 !important; color: #0F172A !important; }
.tx-date { font-size: 11px !important; color: #64748B !important; margin-top: 2px !important; }
.tx-amount { font-size: 14px !important; font-weight: 700 !important; }
.tx-amount.dep { color: #00966E !important; }
.tx-amount.with { color: #D03050 !important; }
.tx-icon.dep { background: rgba(0,200,150,0.14) !important; border-radius: 50% !important; }
.tx-icon.with { background: rgba(255,79,110,0.12) !important; border-radius: 50% !important; }

/* == TRUST ROW == */
.trust-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin-top: 12px !important;
  padding: 14px 16px !important;
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.20) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 2px 12px rgba(39,216,255,0.10) !important;
}
.trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 11px !important;
  color: #334155 !important;
  font-weight: 500 !important;
}
.trust-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 6px currentColor;
}

/* == WHITEPAPER / FAQ MODALS == */
.whitepaper-modal, .faq-modal {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}
.whitepaper-content, .faq-content {
  background: rgba(232,244,254,0.96) !important;
  border: 1px solid rgba(39,216,255,0.26) !important;
  box-shadow: 0 -6px 40px rgba(39,216,255,0.18) !important;
}

/* == SEMI AMOUNT BUTTONS == */
.semi-amt-btn {
  padding: 10px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(39,216,255,0.22) !important;
  background: rgba(255,255,255,0.58) !important;
  color: #0F172A !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: all 0.20s ease !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset !important;
}
.semi-amt-btn.active {
  background: rgba(39,216,255,0.20) !important;
  border-color: #27D8FF !important;
  color: #0A2030 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.60) inset,
    0 0 16px rgba(39,216,255,0.30) !important;
}

/* == WHITEPAPER BTN == */
.whitepaper-btn {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(39,216,255,0.24) !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  color: #0ABCE0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: 'Exo 2', sans-serif !important;
  cursor: pointer !important;
  letter-spacing: 0.02em !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 2px 8px rgba(39,216,255,0.10) !important;
  transition: all 0.20s ease !important;
}
.whitepaper-btn:active { transform: scale(0.96) !important; }

/* == BALANCE BREAKDOWN SECTION SPACING == */
#balBreakdown { margin: 12px 0 0 !important; }

/* == PREV BOX (modal preview) == */
.prev-box {
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.20) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  margin-bottom: 16px !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 3px 14px rgba(39,216,255,0.10) !important;
}
.prev-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  margin-bottom: 9px !important;
  color: #0F172A !important;
  font-weight: 500 !important;
}
.prev-row:last-child { margin-bottom: 0 !important; }

/* == MODAL UPGRADE == */
.modal {
  background: rgba(232,244,255,0.94) !important;
  border: 1px solid rgba(39,216,255,0.30) !important;
  border-bottom: none !important;
  border-radius: 28px 28px 0 0 !important;
  backdrop-filter: blur(40px) saturate(2.0) !important;
  -webkit-backdrop-filter: blur(40px) saturate(2.0) !important;
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.90),
    0 -4px 0 rgba(39,216,255,0.16),
    0 -28px 70px rgba(39,216,255,0.18),
    0 -6px 28px rgba(15,23,42,0.14) !important;
}
.modal-handle {
  width: 44px !important;
  height: 4px !important;
  background: rgba(39,216,255,0.28) !important;
  border-radius: 4px !important;
  margin: 0 auto 22px !important;
}
.modal-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #0C1628 !important;
  margin-bottom: 8px !important;
}

/* == SPINNER (inside cards) == */
.spinner {
  width: 44px !important;
  height: 44px !important;
  border: 3px solid rgba(39,216,255,0.18) !important;
  border-top-color: #27D8FF !important;
  border-radius: 50% !important;
  animation: spin 0.8s linear infinite !important;
  box-shadow: 0 0 16px rgba(39,216,255,0.20) !important;
}

/* Banner layout handled in main section above */


/* ===============================================================
   GLOBAL BUTTON POLISH = All action buttons ice white theme
=============================================================== */

/* ref-section-btn = premium glass row button */
.ref-section-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(39,216,255,0.22) !important;
  background: rgba(255,255,255,0.55) !important;
  color: #0C1628 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: all 0.20s ease !important;
  margin-bottom: 10px !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 3px 14px rgba(39,216,255,0.12),
    0 1px 4px rgba(15,23,42,0.08) !important;
  -webkit-tap-highlight-color: transparent !important;
}
.ref-section-btn:active {
  transform: scale(0.97) !important;
  box-shadow: 0 1px 6px rgba(39,216,255,0.10) !important;
}

/* vip-section-btn = 2-col grid glass buttons */
.vip-section-btns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 10px 0 14px !important;
}
.vip-section-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 11px 8px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(39,216,255,0.24) !important;
  background: rgba(255,255,255,0.55) !important;
  color: #0C1628 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-width: 0 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 3px 12px rgba(39,216,255,0.12) !important;
  -webkit-tap-highlight-color: transparent !important;
}
.vip-section-btn:active {
  transform: scale(0.94) !important;
  box-shadow: 0 1px 6px rgba(39,216,255,0.10) !important;
}
.vip-btn-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  opacity: 0.80 !important;
}

/* comm-btn = gold gradient */
.comm-btn {
  width: 100% !important;
  background: linear-gradient(160deg, #FFD080 0%, #F5A623 45%, #D48A10 100%) !important;
  border: none !important;
  color: #0A2030 !important;
  padding: 14px !important;
  border-radius: 16px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  font-family: 'Exo 2', sans-serif !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 6px 24px rgba(245,166,35,0.38),
    0 2px 8px rgba(180,100,0,0.18) !important;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1) !important;
  min-height: 48px !important;
  letter-spacing: 0.02em !important;
}
.comm-btn:active { transform: scale(0.97) !important; }

/* copy-btn */
.copy-btn {
  background: linear-gradient(135deg, #7EEBFF 0%, #27D8FF 50%, #0ABCE0 100%) !important;
  border: none !important;
  color: #0A2030 !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  font-family: 'Exo 2', sans-serif !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.50) inset,
    0 3px 14px rgba(39,216,255,0.38) !important;
  transition: all 0.18s ease !important;
  letter-spacing: 0.02em !important;
}
.copy-btn:active { transform: scale(0.96) !important; }

/* lang-opt */
.lang-opt {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(39,216,255,0.22) !important;
  color: #0C1628 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.88) inset, 0 2px 10px rgba(39,216,255,0.10) !important;
}
.lang-opt.active {
  background: rgba(39,216,255,0.18) !important;
  border-color: rgba(39,216,255,0.40) !important;
  color: #0ABCE0 !important;
}

/* vip-card */
.vip-card {
  background: rgba(255,255,255,0.52) !important;
  border: 1px solid rgba(39,216,255,0.22) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 4px 16px rgba(39,216,255,0.12),
    0 1px 4px rgba(15,23,42,0.08) !important;
}
.vip-card-title { color: #0C1628 !important; }

/* ref-tab-btn */
.ref-tab-btn {
  background: rgba(255,255,255,0.50) !important;
  border: 1px solid rgba(39,216,255,0.20) !important;
  color: #475569 !important;
  border-radius: 10px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.82) inset !important;
}
.ref-tab-btn.active {
  background: rgba(39,216,255,0.18) !important;
  border-color: rgba(39,216,255,0.40) !important;
  color: #0ABCE0 !important;
  box-shadow: 0 0 10px rgba(39,216,255,0.18) !important;
}
