/* Begin USDT - Professional Web3 3D Styling System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #050813;
  --bg-surface: #0a0f20;
  --bg-card: rgba(14, 22, 44, 0.75);
  --bg-card-hover: rgba(20, 32, 64, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(0, 242, 254, 0.6);
  --border-card: rgba(70, 95, 145, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-emerald: #00ffa3;
  --accent-violet: #8b5cf6;
  --accent-purple: #a855f7;
  
  --brand-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00ffa3 100%);
  --btn-gradient-3d: linear-gradient(180deg, #12f4ff 0%, #00b4d8 50%, #0077b6 100%);
  --x3-gradient-3d: linear-gradient(180deg, #c084fc 0%, #9333ea 50%, #6b21a8 100%);
  
  --glass-blur: blur(20px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

[hidden], #already[hidden], #joinArea[hidden] {
  display: none !important;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(0, 242, 254, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 12%, rgba(79, 70, 229, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(0, 255, 163, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #050813 0%, #080d1e 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 3D Background Lighting Mesh Orbs */
.bg-glow-orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}
.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: -180px;
  right: -80px;
  opacity: 0.18;
  animation: orbDrift1 14s ease-in-out infinite alternate;
}
.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  top: 35%;
  left: -160px;
  opacity: 0.2;
  animation: orbDrift2 16s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 60px) scale(1.1); }
}
@keyframes orbDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.15); }
}

/* Typography defaults */
h1, h2, h3, h4, .brand-text, .metric-value, .price-tag, .hero-brand-name {
  font-family: var(--font-heading);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  color: #68fbd0;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

/* Container */
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  position: relative;
  z-index: 1;
}

/* =========================================
   3D HEADER & HIGHLIGHTED BRAND
   ========================================= */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(14, 22, 44, 0.8) 0%, rgba(9, 14, 28, 0.88) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 16px 36px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  position: relative;
}

/* Highlighted 3D Brand Badge Container */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 18px 6px 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 242, 254, 0.08) 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 8px 24px -5px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 242, 254, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.brand-wrapper:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.75);
  box-shadow: 
    0 12px 30px -5px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(0, 242, 254, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #091224, #122246);
  border: 2px solid #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5), inset 0 0 14px rgba(0, 242, 254, 0.35);
  padding: 3px;
  flex-shrink: 0;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4), inset 0 0 10px rgba(0, 242, 254, 0.3); 
    border-color: #00f2fe;
  }
  50% { 
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.8), inset 0 0 18px rgba(0, 242, 254, 0.5); 
    border-color: #70f7ff;
  }
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

/* Strongly Highlighted Brand Title */
.brand-title {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.brand-title span {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00ffa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.7));
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand-badge-defi,
.brand-badge-3d {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(99, 102, 241, 0.3));
  border: 1px solid rgba(0, 242, 254, 0.5);
  color: #67e8f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 242, 254, 0.35);
  vertical-align: middle;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #94a3b8;
  text-transform: uppercase;
}

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

/* Network Badge with 3D Depth */
.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(145deg, rgba(16, 26, 48, 0.95), rgba(8, 14, 28, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.beacon-pulse {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px #10b981;
}
.beacon-pulse::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =========================================
   EXTRUDED 3D BUTTONS
   ========================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--btn-gradient-3d);
  color: #031226;
  font-weight: 850;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  box-shadow: 
    0 5px 0 #005689,
    0 12px 25px rgba(0, 242, 254, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 
    0 7px 0 #005689,
    0 16px 32px rgba(0, 242, 254, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  filter: brightness(1.08);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 
    0 1px 0 #005689,
    0 4px 10px rgba(0, 242, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 3px 0 #023e60;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(30, 45, 82, 0.8) 0%, rgba(16, 26, 50, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 
    0 4px 0 #0c1428,
    0 8px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.15s ease;
}
.btn-ghost:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(0, 242, 254, 0.55);
  color: #ffffff;
  box-shadow: 
    0 6px 0 #0c1428,
    0 12px 26px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(0, 242, 254, 0.25);
}
.btn-ghost:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #0c1428, 0 3px 8px rgba(0, 0, 0, 0.4);
}
.btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Status Alert Message */
.status {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  box-shadow: 0 8px 24px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
  animation: slideDown 0.3s ease;
}
.status.visible {
  display: flex !important;
}
.status.error {
  background: rgba(244, 63, 94, 0.16) !important;
  border-color: rgba(244, 63, 94, 0.45) !important;
  color: #fca5a5 !important;
  box-shadow: 0 8px 24px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 63, 94, 0.2) !important;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   3D HERO SECTION & ISOMETRIC GRAPHIC
   ========================================= */
.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 30, 62, 0.8) 0%, rgba(10, 16, 36, 0.95) 100%);
  border: 1.5px solid rgba(79, 120, 200, 0.35);
  border-radius: var(--radius-xl);
  padding: 42px 46px;
  margin-bottom: 30px;
  box-shadow: 
    0 25px 65px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 0 rgba(255, 255, 255, 0.25) inset;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  perspective: 1200px;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f2fe, #4facfe, #00ffa3, transparent);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.hero-left {
  max-width: 680px;
}

/* Highlighted Brand Chip in Hero */
.hero-brand-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 70, 229, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.25);
}
.hero-brand-chip {
  background: var(--brand-gradient);
  color: #041022;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.hero-brand-name {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: #70f7ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-left h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 850;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.hero-left h1 span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.5));
}

.hero-left p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* 3D Isometric Rotating Emblem Graphic */
.hero-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.matrix-cube-anim {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(22, 38, 80, 0.9) 0%, rgba(9, 16, 36, 0.98) 100%);
  border: 2px solid rgba(0, 242, 254, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 30px 70px -10px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(0, 242, 254, 0.45),
    inset 0 1px 3px rgba(255, 255, 255, 0.4),
    inset 0 0 30px rgba(0, 242, 254, 0.25);
  transform: perspective(1000px) rotateX(12deg) rotateY(-14deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float3D 6s ease-in-out infinite alternate;
}

.matrix-cube-anim:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.08);
  box-shadow: 
    0 40px 90px -10px rgba(0, 0, 0, 0.95),
    0 0 70px rgba(0, 242, 254, 0.7),
    inset 0 1px 4px rgba(255, 255, 255, 0.6);
}

@keyframes float3D {
  0% { transform: perspective(1000px) rotateX(14deg) rotateY(-16deg) translateY(0); }
  100% { transform: perspective(1000px) rotateX(8deg) rotateY(-8deg) translateY(-16px); }
}

.hero-logo-img {
  width: 105px;
  height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 35px rgba(0, 180, 255, 0.75));
  border-radius: 20px;
  transform: translateZ(35px);
}

/* Contract info strip */
.contract-strip {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-dim);
}
.contract-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contract-strip-item b {
  color: var(--text-muted);
}
.contract-strip-item code {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  color: #93c5fd;
  font-family: monospace;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* =========================================
   3D OVERVIEW METRIC CARDS
   ========================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 38px 0 18px;
}

.section-title {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-icon {
  font-size: 20px;
  color: #00f2fe;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: linear-gradient(145deg, rgba(20, 32, 60, 0.8) 0%, rgba(10, 16, 32, 0.9) 100%);
  border: 1px solid rgba(75, 105, 170, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 0 rgba(255, 255, 255, 0.22) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 
    0 32px 70px -12px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(0, 242, 254, 0.35),
    0 0 0 1px rgba(0, 242, 254, 0.35) inset,
    0 2px 0 rgba(255, 255, 255, 0.45) inset;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stat-card:hover::after {
  opacity: 1;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.stat-label {
  font-size: 11px;
  font-weight: 750;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #00f2fe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 242, 254, 0.3);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 242, 254, 0.35);
}

.stat-hint {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* 3D Special Stat Card Highlights */
.stat-card.stat-card-gold {
  background: linear-gradient(145deg, rgba(38, 30, 16, 0.85) 0%, rgba(18, 14, 26, 0.95) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(245, 158, 11, 0.2),
    inset 0 1px 0 rgba(254, 240, 138, 0.25);
}
.stat-card.stat-card-gold .stat-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.4));
  border-color: rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.35);
}
.stat-card.stat-card-gold .stat-value {
  color: #fef08a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.45);
}

.stat-card.stat-card-missed {
  background: linear-gradient(145deg, rgba(42, 16, 26, 0.85) 0%, rgba(20, 10, 18, 0.95) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(244, 63, 94, 0.2),
    inset 0 1px 0 rgba(253, 164, 175, 0.25);
}
.stat-card.stat-card-missed .stat-icon {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(225, 29, 72, 0.4));
  border-color: rgba(244, 63, 94, 0.6);
  color: #fb7185;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(244, 63, 94, 0.35);
}
.stat-card.stat-card-missed .stat-value {
  color: #fda4af;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(244, 63, 94, 0.45);
}

/* =========================================
   3D MEMBERSHIP TIER CARDS (X2 & X3)
   ========================================= */
.cols-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.membership-card {
  background: linear-gradient(155deg, rgba(16, 26, 54, 0.85) 0%, rgba(9, 14, 30, 0.95) 100%);
  border: 1.5px solid rgba(79, 110, 185, 0.4);
  border-radius: var(--radius-xl);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 25px 65px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 0 rgba(255, 255, 255, 0.25) inset;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.membership-card.tier-x2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00f2fe, #4facfe, #00ffa3);
}
.membership-card.tier-x3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c084fc, #9333ea, #6366f1);
}
.membership-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 38px 80px -15px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(0, 242, 254, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
}
.membership-card.tier-x2:hover {
  border-color: rgba(0, 242, 254, 0.65);
}
.membership-card.tier-x3:hover {
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 
    0 38px 80px -15px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(168, 85, 247, 0.3),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.membership-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.membership-title {
  font-size: 22px;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 3D Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.badge.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.price-tag {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.5));
}
.price-unit {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.feature-list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #d1d5db;
}
.feature-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #10b981;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

/* 3D Inputs with Inset Depth */
.input-label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.input-field {
  width: 100%;
  background: rgba(5, 8, 18, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 14px 14px 42px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}
.input-field:focus {
  border-color: #00f2fe;
  box-shadow: 
    0 0 0 3px rgba(0, 242, 254, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.7);
  background: rgba(7, 12, 26, 0.95);
}
.input-field::placeholder {
  color: var(--text-dim);
}

.already-registered-alert {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* =========================================
   3D TABLES & DATA SURFACES
   ========================================= */
.table-card {
  background: linear-gradient(155deg, rgba(16, 26, 52, 0.8) 0%, rgba(9, 14, 30, 0.9) 100%);
  border: 1px solid rgba(75, 105, 175, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

thead {
  background: rgba(18, 28, 56, 0.85);
}

th {
  padding: 15px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
  padding: 15px 18px;
  font-size: 13px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
tr:last-child td {
  border-bottom: none;
}
tbody tr {
  transition: all 0.2s ease;
}
tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.table-badge-eligible {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 11px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}
.table-badge-complete {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.35));
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 11px;
  display: inline-block;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
.table-badge-waiting {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}
.table-badge-locked {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fda4af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

/* Progress bar inside level rows */
.level-progress-wrap {
  width: 100%;
  max-width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}
.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f2fe, #00ffa3);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Missed Income Warning Card */
.missed-alert-card {
  background: linear-gradient(145deg, rgba(60, 20, 30, 0.85) 0%, rgba(30, 10, 18, 0.95) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.5);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(244, 63, 94, 0.25);
}
.missed-alert-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.missed-alert-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.6));
}
.missed-alert-val {
  font-size: 22px;
  font-weight: 850;
  color: #fda4af;
  font-family: var(--font-heading);
}

/* =========================================
   ONBOARDING / JOIN X2 REGISTRATION VIEW
   ========================================= */
.onboarding-card {
  max-width: 660px;
  margin: 0 auto 36px;
  background: linear-gradient(155deg, rgba(16, 26, 52, 0.92) 0%, rgba(8, 14, 30, 0.98) 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: 
    0 25px 65px -15px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(0, 242, 254, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-align: center;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.onboarding-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: #00f2fe;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.onboarding-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.onboarding-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.onboarding-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: #e2e8f0;
  margin-bottom: 24px;
}
.onboarding-wallet-pill code {
  color: #00f2fe;
  font-family: monospace;
  font-weight: 700;
}
.onboarding-form-box {
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(75, 105, 175, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  margin-bottom: 20px;
}
.sponsor-preview-box {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: #68fbd0;
  font-weight: 600;
}
.sponsor-preview-box.error {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fda4af;
}
.onboarding-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.onboarding-fee-row .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.onboarding-fee-row .amount {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 850;
  color: #fef08a;
}
.guest-notice-card {
  max-width: 660px;
  margin: 0 auto 32px;
  background: linear-gradient(145deg, rgba(16, 26, 52, 0.75) 0%, rgba(9, 14, 30, 0.85) 100%);
  border: 1px solid rgba(75, 105, 175, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

/* Profile Ribbon */
.profile-ribbon {
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.7) 0%, rgba(10, 16, 32, 0.8) 100%);
  border: 1px solid rgba(75, 105, 175, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.profile-ribbon-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-ribbon-item .label {
  font-size: 10px;
  font-weight: 750;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.profile-ribbon-item .val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================
   3D REFERRAL & AFFILIATE CENTER
   ========================================= */
.referral-card {
  background: linear-gradient(155deg, rgba(16, 26, 52, 0.85) 0%, rgba(9, 14, 30, 0.95) 100%);
  border: 1.5px solid rgba(75, 105, 180, 0.35);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: 
    0 25px 65px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 2px 0 rgba(255, 255, 255, 0.25) inset;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  margin-bottom: 32px;
}

.referral-link-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}
.referral-input-wrapper {
  flex: 1;
  min-width: 280px;
}
.referral-input-wrapper .input-field {
  padding-left: 16px;
  background: rgba(4, 8, 18, 0.9);
  font-family: monospace;
  font-size: 13px;
  color: #67e8f9;
  border-color: rgba(0, 242, 254, 0.3);
}

.referral-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.referral-info-box {
  background: rgba(6, 10, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.referral-info-box .label {
  font-size: 11px;
  font-weight: 750;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}
.referral-info-box .val {
  font-size: 13px;
  color: #cbd5e1;
  font-family: monospace;
  overflow-wrap: anywhere;
}

/* =========================================
   3D POPUP MODAL
   ========================================= */
#walletChoices {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#walletChoices[style*="block"], 
#walletChoices[style*="flex"] {
  display: flex !important;
}

.modal-container {
  background: linear-gradient(155deg, #101a35 0%, #090e1f 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-xl);
  padding: 34px;
  max-width: 480px;
  width: 100%;
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(0, 242, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-title {
  font-size: 22px;
  font-weight: 850;
  color: #fff;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: rotate(90deg);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(145deg, rgba(22, 34, 65, 0.7), rgba(12, 18, 36, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}
.wallet-btn:hover {
  background: linear-gradient(145deg, rgba(34, 52, 98, 0.9), rgba(18, 28, 54, 0.95));
  border-color: rgba(0, 242, 254, 0.6);
  transform: translateX(6px);
  box-shadow: 
    0 8px 22px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 242, 254, 0.3);
}
.wallet-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Security notice */
.security-notice {
  background: linear-gradient(145deg, rgba(22, 18, 40, 0.8) 0%, rgba(12, 10, 24, 0.9) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-xl);
  padding: 22px 28px;
  margin: 34px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 
    0 20px 45px -10px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.security-notice-icon {
  font-size: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}
.security-notice-text {
  font-size: 12px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Footer */
.footer-wrap {
  text-align: center;
  padding: 34px 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  z-index: 10000;
  display: none;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.copy-btn-inline {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 70, 229, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #00f2fe;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.copy-btn-inline:hover {
  background: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  transform: translateY(-1px);
}

/* Responsive queries */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cols-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 16px 14px 40px;
  }
  .top-nav {
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .brand-wrapper {
    width: 100%;
    justify-content: space-between;
  }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .hero-card {
    padding: 26px 20px;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-graphic {
    display: none;
  }
  .stats-grid, .stats-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .membership-card, .table-card, .referral-card {
    padding: 22px;
  }
  .referral-details-grid {
    grid-template-columns: 1fr;
  }
  .stat-value {
    font-size: 24px;
  }
}

/* =========================================
   NAVIGATION MENU TABS (HOME & DASHBOARD)
   ========================================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}
.nav-link-item {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.nav-link-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-link-item.active {
  color: #00f2fe;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(79, 70, 229, 0.22));
  border: 1px solid rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
}

/* =========================================
   COMPENSATION PLAN PRESENTATION COMPONENTS
   ========================================= */
.plan-hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.plan-hero-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
.plan-hero-stat .val {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 850;
  color: #00f2fe;
  margin-bottom: 4px;
}
.plan-hero-stat .label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: 0.6px;
}

.plan-card-box {
  background: linear-gradient(155deg, rgba(16, 26, 52, 0.88) 0%, rgba(9, 14, 30, 0.97) 100%);
  border: 1.5px solid rgba(75, 105, 180, 0.35);
  border-radius: var(--radius-xl);
  padding: 34px;
  margin-bottom: 34px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85);
}
.plan-card-box.x2-theme {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 242, 254, 0.15);
}
.plan-card-box.x3-theme {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(168, 85, 247, 0.15);
}

.income-explainer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.income-explainer-card {
  background: linear-gradient(145deg, rgba(20, 32, 60, 0.75) 0%, rgba(10, 16, 32, 0.9) 100%);
  border: 1px solid rgba(75, 105, 175, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.income-explainer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 254, 0.25);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.step-card {
  background: linear-gradient(145deg, rgba(16, 26, 52, 0.75) 0%, rgba(10, 16, 32, 0.88) 100%);
  border: 1px solid rgba(75, 105, 175, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.5);
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #050813;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

@media (max-width: 992px) {
  .income-explainer-grid, .steps-grid, .plan-hero-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .income-explainer-grid, .steps-grid, .plan-hero-stat-row {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   ADMIN PANEL & SWITCHER STYLES
   ========================================= */
.admin-switcher-wrap {
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 26, 52, 0.92) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-xl);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.15);
  animation: fadeIn 0.3s ease;
}

.admin-detected-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #fef08a;
  font-weight: 600;
}

.admin-detected-pill .admin-crown {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.admin-tabs {
  display: inline-flex;
  background: rgba(4, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-tab-btn:hover {
  color: #ffffff;
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  color: #050813;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.admin-tab-btn.admin-mode.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #050813;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
}

.admin-panel-card {
  background: linear-gradient(155deg, rgba(16, 26, 52, 0.85) 0%, rgba(8, 14, 30, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.admin-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 850;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
}
