/* =========================================================
   Strom Node V2 - Cyber HUD & Glassmorphic Redesign
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Share+Tech+Mono&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  --primary: #00ff66; /* Glowing Neon Green */
  --primary-dark: #00993d;
  --primary-light: #80ffb3;
  --primary-glow: rgba(0, 255, 102, 0.35);
  --blue-gradient: linear-gradient(135deg, #00ff66 0%, #00993d 100%);
  --blue-gradient-soft: linear-gradient(135deg, rgba(0, 255, 102, 0.12) 0%, rgba(0, 153, 61, 0.02) 100%);
  --navy: #020204; /* Absolute Obsidian Black background */
  --navy-2: #07070a; /* Space Slate container background */
  --navy-3: #0c0c10; /* Velvet dark cards */
  --navy-card: rgba(12, 12, 16, 0.85); /* Highly polished translucent glass card */
  --navy-light: #121218;
  --glass: rgba(4, 4, 6, 0.8);
  --glass-border: rgba(0, 255, 102, 0.2);
  --glass-hover: rgba(0, 255, 102, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #4a5568;
  --success: #00ff66;
  --danger: #ff3366;
  --warning: #ffcc00;
  --info: #00e5ff;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  --shadow-blue: 0 0 15px rgba(0, 255, 102, 0.25);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
* {
  box-sizing: border-box; margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy-2); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }

/* ---- App Wrapper (Mobile-App Style) ---- */
.app-wrapper {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--navy-2);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 80px rgba(0,255,102,0.06);
  border-left: 1px solid rgba(0, 255, 102, 0.08);
  border-right: 1px solid rgba(0, 255, 102, 0.08);
}

/* ---- Header ---- */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(4, 4, 6, 0.8);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px var(--primary)); }
.header-logo-text { 
  font-family: 'Orbitron', sans-serif; 
  font-weight: 800; 
  font-size: 14px; 
  letter-spacing: 1.5px;
  background: var(--blue-gradient); 
  -webkit-background-clip: text; 
  background-clip: text; 
  -webkit-text-fill-color: transparent; 
}

.header-icons { display: flex; gap: 12px; align-items: center; }
.header-icon-btn {
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-secondary);
}
.header-icon-btn:hover { background: rgba(0, 255, 102, 0.1); border-color: var(--primary); color: var(--primary); box-shadow: 0 0 10px rgba(0,255,102,0.2); }
.header-icon-btn:active { transform: scale(0.92); }
.header-icon-btn svg { width: 16px; height: 16px; }

/* ---- Floating Cyber-Control Dock ---- */
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  background: rgba(5, 5, 8, 0.9) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 255, 102, 0.3) !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 4px;
  z-index: 9999;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 102, 0.15);
}
.nav-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  opacity: 0.65;
}
.nav-item.active {
  color: var(--primary) !important;
  opacity: 1;
}
.nav-item::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 20px;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.25s ease;
  box-shadow: 0 0 8px var(--primary);
}
.nav-item.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-item svg { width: 18px; height: 18px; transition: var(--transition); }
.nav-item span { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; transition: var(--transition); }
.nav-item.active .nav-icon {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 5px rgba(0, 255, 102, 0.6));
}

/* ---- Page Content ---- */
.page-content { padding: 16px 16px 110px; }

/* ---- Cyber HUD Cards ---- */
.glass-card {
  background: linear-gradient(135deg, rgba(12, 12, 16, 0.85) 0%, rgba(4, 4, 6, 0.95) 100%);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before, .glass-card::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
  transition: var(--transition);
}
.glass-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.glass-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.glass-card:hover {
  border-color: rgba(0, 255, 102, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 102, 0.1);
}

/* ---- HUD Balance Card ---- */
.balance-card {
  background: radial-gradient(circle at 0% 0%, rgba(0, 255, 102, 0.08) 0%, transparent 65%), 
              linear-gradient(135deg, rgba(8, 8, 12, 0.9) 0%, rgba(4, 4, 6, 0.95) 100%) !important;
  border: 1px solid rgba(0, 255, 102, 0.35) !important;
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 102, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}
.balance-card::before, .balance-card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
}
.balance-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; filter: drop-shadow(0 0 3px var(--primary)); }
.balance-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; filter: drop-shadow(0 0 3px var(--primary)); }

.balance-label { 
  font-family: 'Outfit', sans-serif;
  font-size: 10px; 
  color: var(--text-secondary); 
  font-weight: 700; 
  margin-bottom: 6px; 
  text-transform: uppercase; 
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.balance-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--primary);
}
.balance-amount { 
  font-family: 'Orbitron', sans-serif; 
  font-size: 36px; 
  font-weight: 900; 
  color: #ffffff; 
  margin: 4px 0; 
  letter-spacing: 0.5px; 
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.45);
}
.balance-sub { 
  font-size: 12px; 
  color: var(--text-secondary); 
  font-weight: 600;
  letter-spacing: 0.5px;
}
.balance-btns { display: flex; gap: 14px; margin-top: 22px; }

.icon-box-blue {
  width: 44px;
  height: 44px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,255,102,0.1);
}

/* ---- Cyber Activation Buttons ---- */
.btn-gold {
  background: var(--blue-gradient);
  color: #020204 !important;
  border: 1px solid rgba(0, 255, 102, 0.4);
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 255, 102, 0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-1.5px); box-shadow: 0 6px 20px rgba(0, 255, 102, 0.45); border-color: var(--primary); }
.btn-gold:active { transform: scale(0.97); }

.btn-gold-outline {
  background: rgba(0, 255, 102, 0.03);
  color: var(--primary) !important;
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 6px;
  padding: 11px 22px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-gold-outline:hover { background: rgba(0, 255, 102, 0.08); border-color: var(--primary); box-shadow: 0 0 12px rgba(0,255,102,0.15); }
.btn-gold-outline:active { transform: scale(0.97); }

.btn-glass {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.btn-glass:hover { background: rgba(255,255,255,0.05); color: var(--primary); border-color: var(--primary); }
.btn-glass:active { transform: scale(0.97); }

.btn-danger { background: linear-gradient(135deg, #ff3366, #b3002d); color: #fff; border: 1px solid rgba(255, 51, 102, 0.4); box-shadow: 0 4px 12px rgba(255,51,102,0.2); }
.btn-success { background: linear-gradient(135deg, #00ff66, #00993d); color: #020204; border: 1px solid rgba(0, 255, 102, 0.4); }

.btn-full { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 11px; }

/* ---- Quick HUD Navigation ---- */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 4px 0 16px;
}
.quick-nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(12, 12, 16, 0.6) !important;
  border: 1px solid rgba(0,255,102,0.12) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
  padding: 10px 14px;
  transition: var(--transition);
}
.quick-nav-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary) !important;
  box-shadow: 0 6px 15px rgba(0,255,102,0.1) !important;
}
.quick-nav-icon {
  background: transparent !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.quick-nav-icon svg { width: 18px !important; height: 18px !important; }
.quick-nav-label { font-size: 12px; color: var(--text-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Section Title ---- */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title::before {
  content: '▶';
  font-size: 8px;
  color: var(--primary);
  margin-right: 6px;
  display: inline-block;
  animation: blink 1.5s infinite alternate;
}
@keyframes blink { 0% { opacity: 0.2; } 100% { opacity: 1; } }

.section-title a {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  background: none;
  -webkit-text-fill-color: var(--primary);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

/* ---- Energy Nodes Dashboard (Bubbles) ---- */
.premium-claim-box {
  background: rgba(4, 4, 6, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px 16px;
  margin-top: 16px;
}
.pcb-header { display: none; }
.pcb-content { display: flex; flex-direction: column; align-items: center; }

.active-plans-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  width: 100%;
}
.plan-bubble-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}
.bubble-float-container {
  width: 70px;
  height: 70px;
  position: relative;
  cursor: pointer;
}
.bubble-float-container.ready-pulse {
  animation: bubbleFloat 2.2s ease-in-out infinite alternate;
}
.bubble-float-container.waiting {
  animation: bubbleFloat 3.5s ease-in-out infinite alternate;
  opacity: 0.6;
}

.glass-bubble {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.12) 0%, rgba(3, 3, 5, 0.9) 100%);
  border: 1.5px solid rgba(0, 255, 102, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.08), inset 0 0 8px rgba(0, 255, 102, 0.15);
}
.ready-pulse .glass-bubble {
  border-color: rgba(0, 255, 102, 0.8);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.35), inset 0 0 12px rgba(0, 255, 102, 0.2);
}
.glass-bubble::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 255, 102, 0.35);
  animation: techRingSpin 12s linear infinite;
}
.bubble-reflection { display: none; }
.bubble-sparkle { display: none; }

.gold-coin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #80ffb3 0%, #00ff66 70%, #00993d 100%);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coinSpin 10s linear infinite;
}
.coin-symbol {
  color: #020204;
  font-weight: 900;
  font-size: 16px;
  font-family: 'Orbitron', sans-serif;
}
.bubble-label {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  min-height: 16px;
}
.income-amount {
  color: var(--primary);
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.3);
  font-size: 12px;
  font-family: 'Orbitron', sans-serif;
}
.claim-countdown-timer {
  color: var(--text-muted);
  font-size: 10px;
  font-family: 'Share Tech Mono', monospace;
  background: rgba(0,0,0,0.5);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.03);
}

/* ---- Cybernetic Mainframe Plan Card ---- */
.plans-list { padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan-card.premium {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.9) 0%, rgba(3, 3, 5, 0.96) 100%) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 102, 0.18) !important;
  border-radius: 8px !important;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-primary) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.plan-card.premium::before, .plan-card.premium::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--plan-color, var(--primary));
  border-style: solid;
  pointer-events: none;
  transition: var(--transition);
}
.plan-card.premium::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.plan-card.premium::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.plan-card.premium:hover {
  transform: translateY(-3px);
  border-color: var(--plan-color, var(--primary)) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 255, 102, 0.12);
}

.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}
.premium-timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
}
.premium-timer-lbl { font-size: 10px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.timer-units { display: flex; gap: 4px; }
.t-unit {
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(0, 255, 102, 0.18);
  font-family: 'Share Tech Mono', monospace;
}
.premium-bonus { 
  font-size: 11px; 
  font-weight: 800; 
  color: var(--primary); 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium-main {
  display: flex;
  gap: 14px;
  align-items: center;
}
.premium-img-wrap {
  width: 80px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 255, 102, 0.2);
  position: relative;
}
.premium-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-dark) !important;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  padding: 2px 6px;
  text-transform: uppercase;
  z-index: 5;
  letter-spacing: 0.5px;
  border-radius: 0 0 0 6px;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.premium-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.premium-name { 
  font-family: 'Outfit', sans-serif; 
  font-size: 15px; 
  font-weight: 800; 
  color: #ffffff; 
  margin-bottom: 2px;
}
.premium-actions { 
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.premium-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.25);
}
.purchase-btn {
  background: var(--blue-gradient);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #020204;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 255, 102, 0.2);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.purchase-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0, 255, 102, 0.35); }
.purchase-btn.disabled { background: rgba(255,255,255,0.02) !important; color: var(--text-muted) !important; box-shadow: none !important; border: 1px solid rgba(255, 255, 255, 0.04) !important; }

.premium-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.p-stat { text-align: center; }
.p-val { font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: 800; color: #ffffff; }
.p-lbl { font-size: 8px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 1px; }

/* ---- Form HUD Controls ---- */
.form-group { margin-bottom: 16px; }
.form-label { font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; display: block; letter-spacing: 1px; text-transform: uppercase; }
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 12px rgba(0, 255, 102, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.4); }
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.input-group { position: relative; display: flex; align-items: center; width: 100%; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); width: 16px; height: 16px; pointer-events: none; z-index: 2; transition: var(--transition); }
.form-control:focus + .input-icon { color: var(--primary); filter: drop-shadow(0 0 3px var(--primary)); }
.input-group .form-control { padding-left: 42px; position: relative; z-index: 1; }
.input-action { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); cursor: pointer; background: none; border: none; display: flex; z-index: 2; }
.prefix-group { display: flex; gap: 8px; }
.input-prefix {
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  font-family: 'Orbitron', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}
.form-select {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300ff66' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: var(--transition);
}
.form-select:focus { border-color: var(--primary); box-shadow: 0 0 12px rgba(0, 255, 102, 0.2); }
.form-select option { background: #0c0c10; color: var(--text-primary); }

/* ---- Holographic Global Popups ---- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 2, 4, 0.85);
  backdrop-filter: blur(15px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000000;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.popup-overlay.active { opacity: 1; visibility: visible; }

.popup-box {
  background: linear-gradient(135deg, rgba(12, 12, 16, 0.95) 0%, rgba(4, 4, 6, 0.98) 100%);
  border: 1px solid rgba(0, 255, 102, 0.4);
  border-radius: 12px;
  padding: 28px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 
              0 0 30px rgba(0, 255, 102, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: scale(0.9) translateY(-10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.popup-box::before, .popup-box::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
}
.popup-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.popup-box::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.popup-overlay.active .popup-box { transform: scale(1) translateY(0); opacity: 1; }

.popup-green-tick {
  width: 64px; height: 64px;
  background: rgba(0, 255, 102, 0.1);
  border: 1.5px solid rgba(0, 255, 102, 0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
  animation: tickSpin 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes tickSpin {
  0% { transform: scale(0.5) rotate(-90deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.popup-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.popup-msg {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.5;
}

/* ---- Alert / Toast ---- */
.toast {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(8, 8, 12, 0.95);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 10px rgba(0,255,102,0.15);
  max-width: 90%;
  font-family: 'Outfit', sans-serif;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--primary); }
.toast.error { border-color: var(--danger); }
.toast.warning { border-color: var(--warning); }

/* ---- Profile HUD Card ---- */
.profile-hero {
  background: linear-gradient(180deg, rgba(2, 2, 4, 0.75) 0%, rgba(2, 2, 4, 0.98) 100%),
              url('../images/profile_bg_crypto.png') no-repeat center center/cover !important;
  border: 1px solid rgba(0, 255, 102, 0.25) !important;
  border-radius: 12px !important;
  padding: 24px 20px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.profile-hero::before, .profile-hero::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
}
.profile-hero::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.profile-hero::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.profile-photo-wrap {
  position: relative;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--primary) 100%);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  animation: rotateGlow 5s linear infinite;
}
@keyframes rotateGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.profile-photo {
  border: 2px solid #07070a !important;
  width: 80px !important;
  height: 80px !important;
}
.profile-photo-edit {
  position: absolute;
  bottom: 0; right: 0;
  width: 26px; height: 26px;
  background: var(--blue-gradient) !important;
  border: 1px solid rgba(0,255,102,0.4) !important;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.profile-photo-edit svg { stroke: #020204 !important; width: 12px; height: 12px; }

.profile-uid { 
  font-size: 11px; 
  color: var(--text-secondary); 
  font-family: 'Share Tech Mono', monospace; 
  margin-top: 5px; 
}
.profile-uid span { color: var(--primary); font-weight: 700; }

.profile-links { display: flex; flex-direction: column; gap: 10px; }
.profile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 12, 16, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}
.profile-link:hover {
  transform: translateX(3px);
  border-color: rgba(0, 255, 102, 0.3) !important;
  background: rgba(0, 255, 102, 0.04) !important;
}
.profile-link .link-left { display: flex; align-items: center; gap: 12px; }
.profile-link .link-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 255, 102, 0.08) !important;
  border: 1px solid rgba(0, 255, 102, 0.2) !important;
  border-radius: 6px !important;
  display: flex; align-items: center; justify-content: center;
}
.profile-link svg { stroke: var(--primary) !important; width: 16px; height: 16px; }
.profile-link .link-text { font-size: 13px; font-weight: 600; }

.profile-link.danger { border-color: rgba(255,51,102,0.2) !important; }
.profile-link.danger:hover { background: rgba(255,51,102,0.05) !important; border-color: var(--danger) !important; }
.profile-link.danger .link-icon { background: rgba(255,51,102,0.08) !important; border-color: rgba(255,51,102,0.2) !important; }
.profile-link.danger .link-text { color: var(--danger); }
.profile-link.danger svg { stroke: var(--danger) !important; }

/* ---- Stats Rows ---- */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 16px; }
.stat-card {
  background: rgba(12, 12, 16, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}
.stat-card-val { 
  font-family: 'Orbitron', sans-serif; 
  font-size: 16px; 
  font-weight: 800; 
  color: var(--primary); 
  text-shadow: 0 0 5px rgba(0,255,102,0.2); 
}
.stat-card-label { 
  font-size: 10px; 
  color: var(--text-secondary); 
  margin-top: 3px; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}

/* ---- History HUD Lists ---- */
.history-list { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.history-item {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(4, 4, 6, 0.95) 100%) !important;
  border: 1px solid rgba(0, 255, 102, 0.16) !important;
  border-radius: 8px !important;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.history-item::before, .history-item::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(0, 255, 102, 0.25);
  border-style: solid;
  pointer-events: none;
}
.history-item::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.history-item::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.history-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.history-icon.deposit { background: rgba(0, 255, 102, 0.1); color: var(--primary); border: 1px solid rgba(0,255,102,0.25); }
.history-icon.withdraw { background: rgba(255, 51, 102, 0.1); color: var(--danger); border: 1px solid rgba(255, 51, 102, 0.25); }
.history-icon.bonus { background: rgba(0, 229, 255, 0.1); color: var(--info); border: 1px solid rgba(0, 229, 255, 0.25); }

.history-info { flex: 1; min-width: 0; }
.history-title { font-size: 13px; font-weight: 700; color: #ffffff; margin-bottom: 2px; }
.history-date { font-size: 9px; color: var(--text-muted); font-family: 'Share Tech Mono', monospace; }
.history-amount { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 800; text-align: right; }
.history-amount.plus { color: var(--primary); }
.history-amount.minus { color: var(--danger); }

/* ---- Referral Hero Panel ---- */
.referral-hero {
  background: radial-gradient(circle at 100% 0%, rgba(0,255,102,0.06) 0%, transparent 60%), 
              linear-gradient(180deg, rgba(8, 8, 12, 0.9) 0%, rgba(4, 4, 6, 0.96) 100%) !important;
  border: 1px solid rgba(0, 255, 102, 0.22) !important;
  border-radius: 12px !important;
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.referral-hero::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  top: -1px; left: -1px;
}
.referral-hero::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  bottom: -1px; right: -1px;
}

.ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}
.ref-stat-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px 8px;
  border-radius: 6px;
}
.ref-stat-val { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 800; color: var(--primary); }
.ref-stat-lbl { font-size: 8px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ---- Team Summary Widgets ---- */
.team-summary-card {
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.8) 0%, rgba(4, 4, 6, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 14px 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}
.team-summary-title { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.team-summary-val { font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 800; color: #ffffff; }

/* ---- Comms Tab Buttons ---- */
.tab-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tab-btn.active {
  background: var(--blue-gradient);
  color: #020204;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0,255,102,0.25);
}

/* ---- High-Tech Console Chat ---- */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 180px);
  background: rgba(4, 4, 6, 0.85);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 15px rgba(0,255,102,0.1);
  position: relative;
}
.chat-container::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  top: -1px; left: -1px;
  pointer-events: none;
  z-index: 5;
}
.chat-container::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  bottom: -1px; right: -1px;
  pointer-events: none;
  z-index: 5;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-message { display: flex; flex-direction: column; max-width: 80%; }
.chat-message.system { align-self: center; text-align: center; max-width: 90%; }
.chat-message.system .chat-message-bubble { background: rgba(0, 255, 102, 0.05); border: 1px dashed rgba(0, 255, 102, 0.3); color: var(--primary); font-size: 10px; font-family: 'Share Tech Mono', monospace; border-radius: 4px; padding: 6px 12px; }
.chat-message.admin { align-self: flex-start; }
.chat-message.user { align-self: flex-end; align-items: flex-end; }

.chat-message-bubble {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
}
.chat-message.admin .chat-message-bubble {
  background: rgba(12, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 2px 8px 8px 8px;
}
.chat-message.user .chat-message-bubble {
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.35);
  color: #ffffff;
  border-radius: 8px 2px 8px 8px;
  box-shadow: 0 0 10px rgba(0,255,102,0.05);
}
.chat-message-time {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: 'Share Tech Mono', monospace;
}

.chat-input-area {
  display: flex;
  padding: 10px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 10px;
  align-items: center;
}
.chat-input-control {
  flex: 1;
  background: #020204;
  border: 1px solid rgba(0,255,102,0.2);
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.chat-input-control:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(0,255,102,0.15); }
.chat-send-btn {
  width: 38px; height: 38px;
  background: var(--blue-gradient);
  border: 1px solid rgba(0,255,102,0.3);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #020204;
  cursor: pointer;
  transition: var(--transition);
}
.chat-send-btn:hover { box-shadow: 0 0 10px rgba(0,255,102,0.3); }

/* ---- Support Mainframe Drawer ---- */
.support-drawer-box {
  border-top: 2px solid var(--primary) !important;
  background: linear-gradient(180deg, #0c0c10 0%, #020204 100%) !important;
}
.support-drawer-box::before, .support-drawer-box::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
}
.support-drawer-box::before { top: 12px; left: 12px; border-width: 2.5px 0 0 2.5px; }
.support-drawer-box::after { top: 12px; right: 12px; border-width: 2.5px 2.5px 0 0; }

.support-drawer-link {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.05) 0%, rgba(12, 12, 16, 0.9) 100%) !important;
  border: 1px solid rgba(0, 255, 102, 0.22) !important;
  border-radius: 8px !important;
}
.support-drawer-link:hover {
  border-color: var(--primary) !important;
  background: rgba(0, 255, 102, 0.08) !important;
  box-shadow: 0 0 10px rgba(0,255,102,0.08);
}
.support-drawer-icon {
  background: rgba(0, 255, 102, 0.08) !important;
  border: 1px solid rgba(0, 255, 102, 0.22) !important;
  border-radius: 6px !important;
}

/* ---- Animations & Utilities ---- */
.loading-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,255,102,0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Company Certificates Slider Section ---- */
.certificates-slider-section {
  margin-top: 24px;
  margin-bottom: 24px;
}
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 102, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background: rgba(4, 4, 6, 0.6);
}
.slider-container::before, .slider-container::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
  z-index: 10;
}
.slider-container::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.slider-container::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.slider-wrapper {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 300%; /* 3 slides */
}
.slide {
  flex-shrink: 0;
  width: calc(100% / 3);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.slide:hover img {
  transform: scale(1.05);
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  padding: 8px 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(0, 255, 102, 0.15);
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(2, 2, 4, 0.8);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--primary);
  color: #020204;
  box-shadow: 0 0 10px rgba(0,255,102,0.4);
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }
.slider-arrow svg { width: 14px; height: 14px; stroke: currentColor; }

.slider-dots {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dots .dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots .dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  width: 14px;
  border-radius: 3px;
}

/* ---- Cyber Referral & Commission Styles ---- */
.referral-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 6px;
  padding: 12px 14px;
  gap: 12px;
}
.referral-link-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--text-primary);
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.commission-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.commission-level {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  position: relative;
}
.commission-level::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--primary);
  border-left: 1.5px solid var(--primary);
}
.commission-pct {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin: 4px 0;
  text-shadow: 0 0 5px rgba(0,255,102,0.25);
}
.commission-label {
  font-size: 9px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Cyber Reward / Bonus Hero Styles ---- */
.bonus-hero {
  position: relative;
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 102, 0.25);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.bonus-hero::before, .bonus-hero::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
  z-index: 10;
}
.bonus-hero::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.bonus-hero::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.bonus-hero-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.bonus-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bonus-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 2, 4, 0.92) 20%, rgba(2, 2, 4, 0.6) 60%, rgba(2, 2, 4, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
}
.bonus-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}
.bonus-hero-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.4;
  max-width: 80%;
}

/* ---- Cyber Preset & Upload HUD Styles ---- */
.amount-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.amount-preset {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,102,0.15);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}
.amount-preset:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,255,102,0.05);
}
.amount-preset.active {
  background: var(--blue-gradient);
  color: #020204;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0,255,102,0.2);
}

.countdown-box {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid rgba(255, 51, 102, 0.3);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.1);
  position: relative;
}
.countdown-timer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: var(--danger);
  text-shadow: 0 0 8px rgba(255, 51, 102, 0.4);
}

.upload-box {
  background: rgba(0,0,0,0.5);
  border: 1.5px dashed rgba(0, 255, 102, 0.3);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.upload-box:hover {
  border-color: var(--primary);
  background: rgba(0, 255, 102, 0.03);
}
.upload-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 10px;
  display: inline-block;
}
.upload-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.upload-box .preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(2,2,4,0.9);
}
