/* ===================================================================
   ALPHAVEST - ULTRA 3D ANIMATED & PROFESSIONAL DESIGN SYSTEM
   Cutting-edge 3D perspective, interactive lighting, and physics
   =================================================================== */

/* 1. Global 3D Perspective & Ambient Lighting */
:root {
  --3d-perspective: 1000px;
  --3d-card-tilt-max: 12deg;
  --glow-primary: rgba(0, 192, 135, 0.45);
  --glow-cyan: rgba(0, 229, 255, 0.45);
  --glow-violet: rgba(124, 58, 237, 0.4);
  --glow-gold: rgba(250, 204, 21, 0.4);
  --surface-glass-3d: linear-gradient(135deg, rgba(24, 28, 38, 0.85) 0%, rgba(14, 17, 24, 0.92) 100%);
  --surface-glass-border: 1px solid rgba(255, 255, 255, 0.09);
  --surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Background 3D Canvas */
#bg-3d-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Ambient 3D Glow Orbs in Background */
.ambient-glow-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  contain: strict;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.16;
  animation: orbDrift 24s infinite alternate ease-in-out;
  will-change: transform;
  contain: layout paint;
}

.ambient-orb-1 {
  top: -10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00c087 0%, rgba(0, 192, 135, 0) 70%);
}

.ambient-orb-2 {
  top: 40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00e5ff 0%, rgba(0, 229, 255, 0) 70%);
  animation-duration: 28s;
  animation-delay: -7s;
}

.ambient-orb-3 {
  bottom: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #7c3aed 0%, rgba(124, 58, 237, 0) 70%);
  animation-duration: 25s;
  animation-delay: -12s;
}

@keyframes orbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, 45px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-20px, -30px, 0) scale(0.95);
  }
}

/* Ultra-lightweight Mobile & Touch Performance: bypass GPU-heavy blurs & full-screen canvas on mobile screens */
@media (max-width: 768px), (hover: none) {
  #bg-3d-canvas {
    display: none !important;
  }
  .ambient-glow-layer {
    display: none !important;
  }
  .tilt-card-3d {
    transform: none !important;
    transition: none !important;
  }
}

/* Ensure app content floats on top of 3D canvas without trapping fixed position elements */
#app {
  position: relative;
  z-index: 2;
}

/* Header 3D Polish */
.app-header {
  background: rgba(11, 14, 20, 0.82) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.03) !important;
}

.brand-logo {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 16px var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: logoBreath 4s ease-in-out infinite;
}

.brand-logo:hover {
  transform: scale(1.1) rotateY(18deg) rotateX(-8deg);
}

@keyframes logoBreath {
  0%, 100% {
    box-shadow: 0 0 14px var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 24px var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
}

/* 2. Interactive 3D Card Architecture (Tilt, Depth & Specular Glare) */
.tilt-card-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  overflow: hidden;
}

.tilt-card-3d .tilt-layer-3d {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

.tilt-card-3d .tilt-layer-deep {
  transform: translateZ(35px);
  transform-style: preserve-3d;
}

/* Dynamic Specular Sheen across cards */
.tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 70%);
  opacity: var(--glare-opacity, 0);
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  z-index: 10;
}

/* 3. Hero Balance Card 3D Upgrade */
.user-balance-hero {
  position: relative;
  background: linear-gradient(135deg, #151924 0%, #1a2030 50%, #11141e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 192, 135, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}

/* 3D Decorative Hologram Shimmer in Hero */
.user-balance-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 75% 30%, rgba(0, 192, 135, 0.15), transparent 45%),
              radial-gradient(circle at 25% 85%, rgba(0, 229, 255, 0.08), transparent 45%);
  pointer-events: none;
  animation: rotate3dLight 16s linear infinite;
  z-index: 1;
}

.user-balance-hero > * {
  position: relative;
  z-index: 2;
}

@keyframes rotate3dLight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#home-balance-val {
  text-shadow: 0 0 20px rgba(0, 192, 135, 0.45);
  letter-spacing: -0.02em;
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-alphavest-deposit-sm,
.btn-xdx-deposit-sm {
  background: linear-gradient(135deg, #00d696, #00a876) !important;
  color: #0b0e14 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 18px rgba(0, 192, 135, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  transform-style: preserve-3d;
}

.btn-alphavest-deposit-sm:hover,
.btn-xdx-deposit-sm:hover {
  transform: translateY(-2px) scale(1.04) translateZ(8px) !important;
  box-shadow: 0 10px 26px rgba(0, 192, 135, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.btn-alphavest-deposit-sm:active,
.btn-xdx-deposit-sm:active {
  transform: translateY(1px) scale(0.98) translateZ(0) !important;
  box-shadow: 0 2px 8px rgba(0, 192, 135, 0.3) !important;
}

/* 4. Action Circles 3D Orb Effect */
.circle-action-item {
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.circle-action-item:hover {
  transform: translateY(-6px) scale(1.06);
}

.circle-action-btn {
  background: radial-gradient(circle at 35% 28%, #282f3d 0%, #161a23 60%, #0d1016 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.7), 
              inset 0 2px 3px rgba(255, 255, 255, 0.2), 
              inset 0 -3px 6px rgba(0, 0, 0, 0.5),
              0 0 14px rgba(0, 192, 135, 0.08) !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.circle-action-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.circle-action-item:hover .circle-action-btn::after {
  left: 100%;
}

.circle-action-item:hover .circle-action-btn {
  border-color: #00c087 !important;
  color: #00c087 !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.8),
              0 0 20px rgba(0, 192, 135, 0.35),
              inset 0 2px 4px rgba(255, 255, 255, 0.35) !important;
}

/* 5. Top Tickers 3D Floating Cards */
.top-ticker-card {
  position: relative;
  background: linear-gradient(145deg, rgba(26, 30, 42, 0.9) 0%, rgba(18, 21, 30, 0.95) 100%) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.75), 
              0 2px 4px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.top-ticker-card:hover {
  transform: translateY(-5px) scale(1.03) rotateX(4deg) !important;
  border-color: rgba(0, 229, 255, 0.35) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.85), 
              0 0 24px rgba(0, 229, 255, 0.2), 
              inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.top-ticker-icon svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: coinFloat 3.6s ease-in-out infinite;
}

@keyframes coinFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

/* 6. Promotional Carousel 3D Perspective */
.alphavest-carousel-container,
.xdx-carousel-container {
  perspective: 1000px;
}

.alphavest-carousel,
.xdx-carousel {
  transform-style: preserve-3d;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alphavest-carousel:hover,
.xdx-carousel:hover {
  transform: translateY(-3px) rotateX(2deg);
  box-shadow: 0 22px 46px -10px rgba(0, 0, 0, 0.9), 0 0 28px rgba(0, 192, 135, 0.15);
}

.carousel-counter-badge {
  background: rgba(15, 18, 25, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

/* 7. Interactive 3D Hologram Orb Container */
.hero-3d-hologram-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  margin: 12px 0 16px;
  background: linear-gradient(145deg, rgba(16, 20, 29, 0.75) 0%, rgba(10, 12, 18, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  transform-style: preserve-3d;
}

.hero-3d-text-side {
  flex: 1;
  max-width: 60%;
  z-index: 2;
}

.hero-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 192, 135, 0.12);
  border: 1px solid rgba(0, 192, 135, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #00c087;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-3d-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-3d-subtitle {
  font-size: 12px;
  color: #848e9c;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00c087, #00a876);
  color: #090c10;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 192, 135, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-3d-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 192, 135, 0.6);
}

.hero-3d-canvas-side {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.hero-3d-canvas-side:active {
  cursor: grabbing;
}

#hero-hologram-canvas {
  width: 140px;
  height: 140px;
}

/* 8. Market Table 3D Interactive Hover */
.alphavest-market-row,
.xdx-market-row {
  position: relative;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  transform-style: preserve-3d;
}

.alphavest-market-row:hover,
.xdx-market-row:hover {
  background: linear-gradient(90deg, rgba(26, 32, 46, 0.75) 0%, rgba(20, 24, 34, 0.4) 100%) !important;
  transform: translateX(4px) scale(1.008) !important;
}

.alphavest-market-row::before,
.xdx-market-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #00c087;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alphavest-market-row:hover::before,
.xdx-market-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

/* Continuous Bell Ring & Shake Animation for New Notifications */
@keyframes bellRingShake {
  0% { transform: rotate(0); }
  4% { transform: rotate(20deg); }
  8% { transform: rotate(-18deg); }
  12% { transform: rotate(16deg); }
  16% { transform: rotate(-14deg); }
  20% { transform: rotate(12deg); }
  24% { transform: rotate(-10deg); }
  28% { transform: rotate(8deg); }
  32% { transform: rotate(-4deg); }
  36% { transform: rotate(2deg); }
  40% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.bell-ringing {
  animation: bellRingShake 1.6s ease-in-out infinite !important;
  transform-origin: 50% 0% !important;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.85)) drop-shadow(0 0 14px rgba(239, 68, 68, 0.6)) !important;
}

.bell-ringing svg {
  stroke: #fbbf24 !important;
  filter: drop-shadow(0 0 4px #f59e0b);
}

.market-rate-pill {
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.market-rate-pill:hover {
  transform: scale(1.08) translateZ(4px) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5) !important;
}

/* 9. Futures / Options Page 3D Tactical Controls */
.countdown-box {
  background: linear-gradient(180deg, #181c26 0%, #0e1118 100%) !important;
  border: 1px solid rgba(0, 192, 135, 0.35) !important;
  border-top: 1px solid rgba(0, 192, 135, 0.6) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 
              0 0 14px rgba(0, 192, 135, 0.2), 
              inset 0 1px 2px rgba(255, 255, 255, 0.25) !important;
  transform-style: preserve-3d;
  animation: countdownBoxGlow 2.5s infinite alternate ease-in-out;
}

@keyframes countdownBoxGlow {
  0% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 192, 135, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 192, 135, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }
}

.btn-action-bull {
  background: linear-gradient(135deg, #00d696 0%, #00a876 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 192, 135, 0.55), 
              inset 0 2px 0 rgba(255, 255, 255, 0.5), 
              inset 0 -3px 6px rgba(0, 0, 0, 0.3) !important;
  transform-style: preserve-3d;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.btn-action-bull:hover {
  transform: translateY(-3px) scale(1.02) translateZ(8px) !important;
  box-shadow: 0 14px 30px -4px rgba(0, 192, 135, 0.75), 
              inset 0 2px 0 rgba(255, 255, 255, 0.7) !important;
}

.btn-action-bull:active {
  transform: translateY(1px) scale(0.98) translateZ(0) !important;
  box-shadow: 0 2px 8px rgba(0, 192, 135, 0.4) !important;
}

.btn-action-bear {
  background: linear-gradient(135deg, #ff5c73 0%, #e03046 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 8px 24px -4px rgba(246, 70, 93, 0.55), 
              inset 0 2px 0 rgba(255, 255, 255, 0.5), 
              inset 0 -3px 6px rgba(0, 0, 0, 0.3) !important;
  transform-style: preserve-3d;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.btn-action-bear:hover {
  transform: translateY(-3px) scale(1.02) translateZ(8px) !important;
  box-shadow: 0 14px 30px -4px rgba(246, 70, 93, 0.75), 
              inset 0 2px 0 rgba(255, 255, 255, 0.7) !important;
}

.btn-action-bear:active {
  transform: translateY(1px) scale(0.98) translateZ(0) !important;
  box-shadow: 0 2px 8px rgba(246, 70, 93, 0.4) !important;
}

/* 10. Bottom Navigation Bar 3D Glass Floating */
.bottom-nav {
  background: rgba(14, 17, 24, 0.88) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.nav-item {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
  transform-style: preserve-3d;
}

.nav-item:hover {
  transform: translateY(-3px) scale(1.08) translateZ(6px);
}

.nav-item.active svg {
  filter: drop-shadow(0 0 8px rgba(0, 192, 135, 0.6));
  animation: navPulse 3s ease-in-out infinite;
}

@keyframes navPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(0, 192, 135, 0.5));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 14px rgba(0, 192, 135, 0.85));
  }
}

/* 11. Modal 3D Pop & Entrance */
.modal-overlay {
  perspective: 1200px;
}

.modal-content {
  background: linear-gradient(160deg, #181c27 0%, #11141c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.9), 
              0 0 30px rgba(0, 192, 135, 0.1), 
              inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform-style: preserve-3d;
  animation: modal3dEnter 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modal3dEnter {
  0% {
    opacity: 0;
    transform: translateY(20px) rotateX(-8deg) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

/* 12. Floating 3D Micro-Pill FX */
.fx-3d-pulse {
  animation: fx3dPulse 2s infinite ease-in-out;
}

@keyframes fx3dPulse {
  0%, 100% { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.06, 1.06, 1.06); }
}

/* Password Toggle Field */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 44px !important;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background-color 0.18s ease;
  user-select: none;
}

.password-toggle-btn:hover {
  color: var(--primary, #00d2ff);
  background: rgba(255, 255, 255, 0.06);
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ===================================================================
   ADMIN DASHBOARD: PROFESSIONAL SIDEBAR NAVIGATION & MOBILE-FIRST UX
   =================================================================== */

.admin-layout-wrapper {
  display: flex;
  min-height: calc(100vh - 80px);
  position: relative;
  width: 100%;
}

/* Sidebar Drawer */
.admin-sidebar {
  width: 270px;
  background: #0f141f;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.admin-sidebar-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.admin-sidebar-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00c087 0%, #00e5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 192, 135, 0.3);
}

.admin-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.admin-sidebar-subtitle {
  font-size: 10px;
  color: #a855f7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-sidebar-close-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Sidebar Navigation Items */
.admin-sidebar-nav {
  padding: 12px 10px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-nav-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  padding: 14px 10px 6px 10px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  min-height: 42px;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.admin-nav-item.active {
  background: rgba(0, 192, 135, 0.12) !important;
  color: #00c087 !important;
  border-color: rgba(0, 192, 135, 0.3) !important;
  font-weight: 700 !important;
}

.admin-nav-item .nav-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.admin-nav-item .nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-nav-item .nav-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: auto;
  white-space: nowrap;
}

/* Admin Main Content Container */
.admin-main-content {
  flex: 1;
  min-width: 0;
  padding: 0 16px 32px 16px;
}

/* Sticky Top Bar for Admin Controls */
.admin-top-bar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0 14px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: 40px;
}

.admin-menu-toggle-btn:hover {
  background: rgba(0, 192, 135, 0.15);
  border-color: #00c087;
  color: #00c087;
}

.admin-menu-toggle-btn .hamburger-icon {
  font-size: 16px;
  line-height: 1;
}

.admin-active-tab-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Mobile Backdrop */
.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Mobile & Tablet Responsive Modes */
@media (max-width: 1024px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.7);
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop.active,
  .admin-sidebar-backdrop.open {
    display: block;
    opacity: 1;
  }

  .admin-sidebar-close-btn {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .admin-sidebar {
    position: sticky;
    top: 0;
    height: calc(100vh - 70px);
    border-radius: 12px;
    margin-right: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .admin-menu-toggle-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .hide-mobile-sm {
    display: none !important;
  }
  .admin-active-tab-title {
    font-size: 14px;
  }
}

/* Light Theme overrides for Sidebar */
#view-admin.admin-light-theme .admin-sidebar {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

#view-admin.admin-light-theme .admin-sidebar-header {
  border-bottom-color: #e2e8f0 !important;
}

#view-admin.admin-light-theme .admin-sidebar-title {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-nav-group-title {
  color: #64748b !important;
}

#view-admin.admin-light-theme .admin-nav-item {
  color: #475569 !important;
}

#view-admin.admin-light-theme .admin-nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-nav-item.active {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}

#view-admin.admin-light-theme .admin-top-bar-sticky {
  background: rgba(248, 250, 252, 0.95) !important;
  border-bottom-color: #e2e8f0 !important;
}

#view-admin.admin-light-theme .admin-active-tab-title {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-menu-toggle-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-sidebar-close-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.admin-header-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.admin-controls-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Admin Tabs Pill Bar (Smooth touch scroll on mobile) */
.admin-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.admin-tab-pill {
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}

.admin-tab-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-tab-pill.active {
  background: linear-gradient(135deg, #00c087 0%, #00a875 100%) !important;
  color: #0b0e14 !important;
  border-color: #00c087 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 192, 135, 0.35);
}

/* Admin Stat Cards Grid */
.admin-stat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.admin-card-v2 {
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-card-v2:hover {
  border-color: rgba(0, 192, 135, 0.3);
}

.admin-card-v2 .stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 6px;
  display: block;
}

.admin-card-v2 .stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
}

/* Quick Session Presets */
.preset-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.preset-chip {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.preset-chip:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
  color: #00e5ff;
}

.preset-chip.active {
  background: #00e5ff;
  color: #0b0e14;
  border-color: #00e5ff;
  font-weight: 700;
}

/* ===================================================================
   ADMIN LIGHT THEME STYLES
   Triggered by class .admin-light-theme on #view-admin
   =================================================================== */

#view-admin.admin-light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-top-bar {
  border-bottom-color: #e2e8f0 !important;
}

#view-admin.admin-light-theme .admin-header-title {
  color: #0f172a !important;
}

#view-admin.admin-light-theme p,
#view-admin.admin-light-theme span,
#view-admin.admin-light-theme div {
  color: #334155;
}

#view-admin.admin-light-theme h1,
#view-admin.admin-light-theme h2,
#view-admin.admin-light-theme h3,
#view-admin.admin-light-theme h4 {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .card,
#view-admin.admin-light-theme .admin-card-v2,
#view-admin.admin-light-theme .admin-stat-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

#view-admin.admin-light-theme .admin-card-v2 .stat-label {
  color: #64748b !important;
}

#view-admin.admin-light-theme .admin-card-v2 .stat-val,
#view-admin.admin-light-theme .admin-stat-card h2 {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-tab-pill {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

#view-admin.admin-light-theme .admin-tab-pill:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-tab-pill.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3) !important;
}

#view-admin.admin-light-theme .form-label {
  color: #334155 !important;
  font-weight: 600;
}

#view-admin.admin-light-theme input,
#view-admin.admin-light-theme select,
#view-admin.admin-light-theme textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme input:focus,
#view-admin.admin-light-theme select:focus,
#view-admin.admin-light-theme textarea:focus {
  border-color: #059669 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

#view-admin.admin-light-theme .admin-table {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

#view-admin.admin-light-theme .admin-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

#view-admin.admin-light-theme .admin-user-email {
  color: #0f172a !important;
}

#view-admin.admin-light-theme .admin-user-id {
  color: #64748b !important;
}

#view-admin.admin-light-theme .admin-user-balance {
  color: #0284c7 !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
}

.admin-user-email {
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  word-break: break-all;
}

.admin-user-id {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted, #94a3b8);
  word-break: break-all;
}

.admin-user-balance {
  color: var(--cyan-accent, #00e5ff);
  font-family: var(--font-mono);
  font-weight: 700;
}

#view-admin.admin-light-theme .admin-table tr:hover td {
  background: #f8fafc !important;
}

#view-admin.admin-light-theme .preset-chip {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

#view-admin.admin-light-theme .preset-chip:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

#view-admin.admin-light-theme .preset-chip.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

#view-admin.admin-light-theme .btn-secondary {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

#view-admin.admin-light-theme .btn-secondary:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #view-admin {
    padding: 8px 10px 75px 10px !important;
  }
  .admin-main-content {
    padding: 0 4px 60px 4px !important;
  }
  .admin-stat-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }
  .admin-card-v2 {
    padding: 10px 12px;
  }
  .admin-card-v2 .stat-val {
    font-size: 17px;
  }
  .admin-header-title {
    font-size: 18px;
  }
  /* Mobile touch targets for tables */
  .admin-table {
    font-size: 12px;
  }
  .admin-table th, 
  .admin-table td {
    padding: 10px 8px;
  }
  .admin-table .btn-primary,
  .admin-table .btn-secondary,
  .admin-table .btn-danger,
  .admin-table button {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
  }
}

/* Clickable Admin Stat Cards */
.clickable-card {
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.clickable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 192, 135, 0.45);
}
.clickable-card:active {
  transform: translateY(0);
}

/* Horizontal Quick-Pill Navigation for Admin */
.admin-mobile-pill-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-mobile-pill-nav::-webkit-scrollbar {
  display: none;
}

.adm-pill-btn {
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  flex-shrink: 0;
  user-select: none;
}

.adm-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.adm-pill-btn.active {
  background: rgba(0, 192, 135, 0.18) !important;
  color: #00c087 !important;
  border-color: #00c087 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(0, 192, 135, 0.25);
}

.adm-pill-btn .pill-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.4;
}

/* Mobile Admin Fixed Bottom Navigation Bar */
.admin-mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .admin-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(15, 20, 31, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 4px 6px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .admin-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 8px;
    min-width: 52px;
    min-height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    touch-action: manipulation;
  }

  .admin-bottom-nav-item:active {
    transform: scale(0.95);
  }

  .admin-bottom-nav-item.active {
    color: #00c087 !important;
    font-weight: 700;
  }

  .admin-bottom-nav-item .nav-b-icon {
    font-size: 18px;
    line-height: 1;
  }

  .admin-bottom-nav-item .nav-b-icon-wrap {
    position: relative;
    display: inline-block;
  }

  .admin-bottom-nav-item .bottom-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  }
}

/* Light Theme overrides for pill nav and bottom bar */
#view-admin.admin-light-theme .adm-pill-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
#view-admin.admin-light-theme .adm-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
#view-admin.admin-light-theme .adm-pill-btn.active {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border-color: #059669 !important;
}
#view-admin.admin-light-theme .admin-mobile-bottom-bar {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: #e2e8f0;
}
#view-admin.admin-light-theme .admin-bottom-nav-item {
  color: #64748b;
}
#view-admin.admin-light-theme .admin-bottom-nav-item.active {
  color: #059669 !important;
}

/* Market Discovery Table Row & Sparkline Alignment */
.market-discovery-header {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #848e9c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-items: center;
}

.market-discovery-row {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.market-discovery-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sparkline-svg {
  display: block;
  margin: 0 auto;
  overflow: visible;
  max-width: 100%;
}

/* Admin Table Layout & Spacing - Prevents Address & Status from Merging */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.admin-table th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #848e9c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.admin-table td code {
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* User Wallet History Tabs */
.wallet-history-tab.active {
  background: #00c087 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-color: #00c087 !important;
}

/* Ultra-Lightweight Mobile Performance Engine (Stops Mobile Lag & Battery Drain) */
@media (max-width: 900px) {
  /* Disable heavy looping GPU animations that cause mobile to hang */
  .ambient-orb,
  .fx-orb,
  .hero-hologram-wrap,
  .tilt-card-3d::after {
    display: none !important;
    animation: none !important;
  }

  /* Remove continuous CSS keyframe animations on mobile */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  /* Simplify backdrop filters to reduce GPU fill-rate exhaustion */
  .modal-bottom-sheet,
  .modal-overlay,
  .app-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(18, 22, 31, 0.98) !important;
  }

  /* Faster, snappier touch responsiveness */
  button, a, input, select {
    touch-action: manipulation;
  }
}



