/* BLACKBOOK NETWORK - Ultra-Premium Vault Software */
/* Private Banking Grade | Cinematic | Glass Morphism | Elite */

:root {
  --color-black-primary: #050505;
  --color-black-secondary: #0e0e0e;
  --color-black-tertiary: #161616;
  --color-carbon: #0a0a0a;
  --color-gold: #c9a84c;
  --color-gold-light: #e8d48b;
  --color-gold-dark: #a68a2e;
  --color-gold-muted: rgba(201, 168, 76, 0.12);
  --color-white: #f5f5f5;
  --color-gray-light: #b8b8b8;
  --color-gray: #6e6e6e;
  --color-gray-dark: #2a2a2a;
  --color-red: #e04040;
  --color-green: #22c55e;
  --color-blue: #3b82f6;
  
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Courier New', monospace;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.8);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
  --shadow-gold-strong: 0 0 50px rgba(201, 168, 76, 0.25);
  
  --glass: rgba(14, 14, 14, 0.7);
  --glass-border: rgba(201, 168, 76, 0.15);
  --glass-hover: rgba(201, 168, 76, 0.08);
  
  --border-gold: 1px solid rgba(201, 168, 76, 0.4);
  --border-gold-thin: 0.5px solid rgba(201, 168, 76, 0.2);
  --border-dark: 1px solid rgba(255, 255, 255, 0.06);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxe: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== TOAST NOTIFICATION SYSTEM ========== */
.bb-toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.bb-toast {
  pointer-events: all;
  min-width: 340px;
  max-width: 420px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.97), rgba(22, 22, 22, 0.97));
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.bb-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.bb-toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.bb-toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bb-toast.success .bb-toast-icon { color: var(--color-green); }
.bb-toast.success { border-left-color: var(--color-green); }
.bb-toast.error .bb-toast-icon { color: var(--color-red); }
.bb-toast.error { border-left-color: var(--color-red); }
.bb-toast.info .bb-toast-icon { color: var(--color-gold); }

.bb-toast-body {
  flex: 1;
}

.bb-toast-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 2px;
}

.bb-toast-msg {
  font-size: 0.8rem;
  color: var(--color-gray-light);
  line-height: 1.4;
}

.bb-toast-close {
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
  transition: color 0.2s;
  flex-shrink: 0;
}

.bb-toast-close:hover { color: var(--color-gold); }

.bb-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-gold);
  animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ========== VAULT DOOR ANIMATION ========== */
@keyframes vaultUnlock {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.vault-icon-spin {
  animation: vaultUnlock 1.5s ease-in-out;
}

/* ========== COUNTER ANIMATION ========== */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.counter-animate {
  animation: countUp 0.8s ease-out forwards;
}

/* ========== PREMIUM TOOLTIP ========== */
.bb-tooltip {
  position: relative;
}

.bb-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.98), rgba(30, 30, 30, 0.98));
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.bb-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) rotate(45deg) scale(0);
  width: 8px;
  height: 8px;
  background: rgba(14, 14, 14, 0.98);
  border-right: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10001;
}

.bb-tooltip:hover::after,
.bb-tooltip:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.bb-tooltip:hover::before {
  transform: translateX(-50%) rotate(45deg) scale(1);
}

/* ========== PREMIUM CONFIRMATION MODAL ========== */
.bb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.bb-modal-overlay.active {
  display: flex;
}

.bb-modal {
  background: linear-gradient(145deg, #0e0e0e, #161616);
  border: 2px solid var(--color-gold);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.2), 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: slideInFromBottom 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.bb-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.bb-modal-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.5);
}

.bb-modal h3 {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

.bb-modal p {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.bb-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== VAULT LOCK INDICATOR ========== */
.vault-lock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.95), rgba(22, 22, 22, 0.95));
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.vault-lock:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
  transform: scale(1.05);
}

.vault-lock i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* Animated Book Opening */
@keyframes bookOpen {
  0% {
    transform: perspective(1000px) rotateY(-20deg) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes pageFlip {
  0% {
    transform: perspective(1000px) rotateY(90deg);
    opacity: 0;
  }
  50% {
    transform: perspective(1000px) rotateY(45deg);
    opacity: 0.5;
  }
  100% {
    transform: perspective(1000px) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.book-container {
  animation: bookOpen 1s ease-out;
  transform-style: preserve-3d;
}

.book-page {
  animation: pageFlip 0.8s ease-out;
  animation-fill-mode: backwards;
}

.book-page:nth-child(1) { animation-delay: 0.2s; }
.book-page:nth-child(2) { animation-delay: 0.4s; }
.book-page:nth-child(3) { animation-delay: 0.6s; }
.book-page:nth-child(4) { animation-delay: 0.8s; }
.book-page:nth-child(5) { animation-delay: 1s; }
.book-page:nth-child(6) { animation-delay: 1.2s; }

.slide-in-left {
  animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInFromRight 0.6s ease-out;
}

/* Strategy Modal Overlay */
.strategy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.strategy-modal.active {
  display: flex;
}

.strategy-content {
  background: linear-gradient(135deg, var(--color-black-secondary), var(--color-carbon));
  border: 3px solid var(--color-gold);
  border-radius: 12px;
  padding: 3rem;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideInFromBottom 0.5s ease-out;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.4);
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.strategy-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-gold);
  border: none;
  border-radius: 50%;
  color: var(--color-black-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strategy-close:hover {
  background: var(--color-gold-light);
  transform: rotate(90deg);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-black-primary);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

/* Premium Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.015;
  pointer-events: none;
  z-index: 10000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Carbon Fiber Background - Enhanced */
.carbon-bg {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.02) 0%, transparent 50%),
    linear-gradient(27deg, #111 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #111 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, #191919 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, #191919 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #141414 10px, transparent 10px),
    linear-gradient(#161616 25%, #131313 25%, #131313 50%, transparent 50%, transparent 75%, #1a1a1a 75%, #1a1a1a);
  background-color: #0d0d0d;
  background-size: 20px 20px;
}

/* Gold Accent Line - Premium */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
  margin: 2rem auto;
  max-width: 400px;
  position: relative;
}

.gold-line::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

.gold-border-top {
  border-top: var(--border-gold);
}

.gold-border-bottom {
  border-bottom: var(--border-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  font-size: 1.1rem;
  color: var(--color-gray-light);
}

.text-gold {
  color: var(--color-gold);
}

.text-sm {
  font-size: 1rem;
}

.text-xs {
  font-size: 0.875rem;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Spacing */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.p-4 { padding: 2rem; }
.p-6 { padding: 3rem; }

/* Navigation - Glass Morphism */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: all var(--transition-smooth);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.nav-content .nav-logo {
  margin-right: auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
  position: relative;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transition: transform var(--transition-smooth);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Remove the gold underline animation */

/* Hero Section - Cinematic */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
              var(--color-black-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 40%, rgba(201, 168, 76, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(201, 168, 76, 0.04), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.04), transparent 40%);
  pointer-events: none;
  animation: ambientGlow 8s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 168, 76, 0.05);
  border-radius: 50%;
  pointer-events: none;
  animation: vaultRing 12s linear infinite;
}

@keyframes vaultRing {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); opacity: 0.3; }
}

.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero-logo {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.2), 0 0 120px rgba(201, 168, 76, 0.08);
  letter-spacing: 0.15em;
  font-weight: 400;
  background: linear-gradient(180deg, #e8d48b 0%, #c9a84c 40%, #a68a2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 0.95rem;
  color: rgba(201, 168, 76, 0.7);
  letter-spacing: 0.4em;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-weight: 400;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--color-gray-light);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

.hero-microtext {
  font-size: 0.7rem;
  color: var(--color-gray);
  letter-spacing: 0.2em;
  margin-top: 2rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-black-primary);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: var(--border-gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards */
.card {
  background: var(--color-black-secondary);
  border: var(--border-gold-thin);
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.card-text {
  font-size: 1.05rem;
  color: var(--color-gray-light);
  line-height: 1.7;
}

/* Asset Categories */
.asset-category {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.asset-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.asset-category:hover .asset-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.asset-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  background: var(--color-black-secondary);
  border: 1px solid var(--color-gray-dark);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Portal Sidebar */
/* ========== CINEMATIC 3D SPHERE VAULT UNLOCK - SMOOTH ========== */
.vault-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, #080604 0%, #000 100%);
  z-index: 99999; display: flex; align-items: center;
  justify-content: center; flex-direction: column;
  will-change: opacity;
}
.vault-overlay.fade-out {
  animation: vaultFadeOut 0.8s ease-out forwards;
}
@keyframes vaultFadeOut {
  to { opacity: 0; pointer-events: none; }
}

/* 3D Sphere - GPU-accelerated, zero lag */
.vault-sphere-wrap {
  position: relative; width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(0);
  contain: layout style paint;
}
.vault-sphere-wrap::before {
  content: ''; position: absolute; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  animation: sphereGlow 2.5s ease-in-out infinite;
  transform: translateZ(0);
}
@keyframes sphereGlow {
  0%, 100% { opacity: 0.3; transform: scale(0.95) translateZ(0); }
  50% { opacity: 0.8; transform: scale(1.05) translateZ(0); }
}

.vault-sphere {
  position: absolute; width: 160px; height: 160px;
  transform-style: preserve-3d;
  animation: sphereSpin 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@keyframes sphereSpin {
  0% { transform: rotateY(0deg) scale(0.5) translateZ(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: rotateY(540deg) scale(1) translateZ(0); }
}

.vault-sphere .ring {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 1px solid rgba(201,168,76,0.2); border-radius: 50%;
  transform: translateZ(0); backface-visibility: hidden;
}
.vault-sphere .ring:nth-child(odd) { border-color: rgba(201,168,76,0.25); }
.vault-sphere .ring:nth-child(even) { border-color: rgba(201,168,76,0.12); }
.vault-sphere .ring:nth-child(1) { transform: rotateX(0deg); }
.vault-sphere .ring:nth-child(2) { transform: rotateX(30deg); }
.vault-sphere .ring:nth-child(3) { transform: rotateX(60deg); }
.vault-sphere .ring:nth-child(4) { transform: rotateX(90deg); }
.vault-sphere .ring:nth-child(5) { transform: rotateY(30deg); }
.vault-sphere .ring:nth-child(6) { transform: rotateY(60deg); }
.vault-sphere .ring:nth-child(7) { transform: rotateY(90deg); }
.vault-sphere .ring:nth-child(8) { transform: rotateZ(45deg) rotateX(45deg); }
.vault-sphere .ring:nth-child(9) { transform: rotateZ(-45deg) rotateX(45deg); }
.vault-sphere .ring:nth-child(10) { transform: rotateZ(30deg) rotateY(60deg); }
.vault-sphere .ring:nth-child(11) { transform: rotateZ(-30deg) rotateY(60deg); }
.vault-sphere .ring:nth-child(12) { transform: rotateX(45deg) rotateZ(90deg); }

.vault-sphere-core {
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8d48b, #c9a84c 50%, #8a6f2f);
  box-shadow: 0 0 25px rgba(201,168,76,0.4), inset 0 0 12px rgba(255,255,255,0.1);
  opacity: 0;
  animation: coreReveal 0.5s ease-out forwards 0.8s;
  transform: translateZ(0);
}
@keyframes coreReveal {
  0% { opacity: 0; transform: scale(0) translateZ(0); }
  60% { opacity: 1; transform: scale(1.15) translateZ(0); }
  100% { opacity: 1; transform: scale(1) translateZ(0); }
}

.vault-sphere.unlocked .ring {
  animation: ringExpand 0.6s ease-out forwards;
  border-color: rgba(201,168,76,0.4);
}
.vault-sphere.unlocked .ring:nth-child(1) { animation-delay: 0s; }
.vault-sphere.unlocked .ring:nth-child(2) { animation-delay: 0.04s; }
.vault-sphere.unlocked .ring:nth-child(3) { animation-delay: 0.08s; }
.vault-sphere.unlocked .ring:nth-child(4) { animation-delay: 0.12s; }
.vault-sphere.unlocked .ring:nth-child(5) { animation-delay: 0.04s; }
.vault-sphere.unlocked .ring:nth-child(6) { animation-delay: 0.08s; }
.vault-sphere.unlocked .ring:nth-child(7) { animation-delay: 0.12s; }
.vault-sphere.unlocked .ring:nth-child(8) { animation-delay: 0.06s; }
.vault-sphere.unlocked .ring:nth-child(9) { animation-delay: 0.1s; }
.vault-sphere.unlocked .ring:nth-child(10) { animation-delay: 0.05s; }
.vault-sphere.unlocked .ring:nth-child(11) { animation-delay: 0.09s; }
.vault-sphere.unlocked .ring:nth-child(12) { animation-delay: 0.13s; }

@keyframes ringExpand {
  to { transform: scale(2.5); opacity: 0; }
}

.vault-sphere.unlocked .vault-sphere-core {
  animation: coreFlash 0.6s ease-out forwards;
}
@keyframes coreFlash {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(201,168,76,0.5); }
  40% { transform: scale(2); box-shadow: 0 0 80px rgba(201,168,76,0.8); }
  100% { transform: scale(0); opacity: 0; }
}

.vault-welcome-text {
  margin-top: 1.5rem; text-align: center; opacity: 0;
  animation: vaultTextUp 0.5s ease-out forwards 1.2s;
  transform: translateZ(0);
}
@keyframes vaultTextUp {
  from { opacity: 0; transform: translateY(12px) translateZ(0); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}
.vault-line {
  width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 1rem auto;
  animation: vaultLineExpand 0.5s ease-out forwards 1.6s;
}
@keyframes vaultLineExpand { to { width: 80px; } }
.vault-member-name {
  font-size: 1.8rem; font-family: var(--font-serif); color: #fff;
  letter-spacing: 0.1em; opacity: 0;
  animation: vaultNameReveal 0.5s ease-out forwards 1.9s;
  transform: translateZ(0);
}
@keyframes vaultNameReveal {
  from { opacity: 0; transform: translateY(8px) translateZ(0); letter-spacing: 0.2em; }
  to { opacity: 1; transform: translateY(0) translateZ(0); letter-spacing: 0.1em; }
}
.vault-access-text {
  font-size: 0.6rem; letter-spacing: 0.3em; color: var(--color-gold);
  opacity: 0; animation: vaultTextUp 0.4s ease-out forwards 2.2s;
  margin-top: 0.4rem;
}

.vault-particles {
  position: absolute; width: 100%; height: 100%; pointer-events: none; overflow: hidden;
  contain: strict;
}
.vault-particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--color-gold); border-radius: 50%; opacity: 0;
  transform: translateZ(0);
}
.vault-particle.large {
  width: 3px; height: 3px;
  box-shadow: 0 0 3px rgba(201,168,76,0.5);
}

.vault-ambient {
  position: absolute; width: 300px; height: 300px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0%, rgba(201,168,76,0.02) 10%, transparent 20%, rgba(201,168,76,0.015) 30%, transparent 40%);
  border-radius: 50%; opacity: 0;
  animation: ambientSpin 8s linear infinite, ambientFade 0.6s ease-out forwards 0.2s;
  transform: translateZ(0);
}
@keyframes ambientSpin { to { transform: rotate(360deg); } }
@keyframes ambientFade { to { opacity: 1; } }

.vault-scanlines {
  position: absolute; width: 100%; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201,168,76,0.008) 2px, rgba(201,168,76,0.008) 4px);
  z-index: 1;
}

/* ========== PORTAL CONTAINER - BILLION-DOLLAR REDESIGN ========== */
.portal-container {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
  background: #050505;
  position: relative;
}
.portal-container::before {
  content: ''; position: fixed; top: 0; left: 260px; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(201,168,76,0.03) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(201,168,76,0.02) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}

.portal-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #080808 0%, #040404 100%);
  border-right: 1px solid rgba(201,168,76,0.06);
  padding: 0;
  padding-top: 70px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
  backdrop-filter: blur(20px);
}
.portal-sidebar::-webkit-scrollbar { width: 0; }

.portal-sidebar-brand {
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  margin-bottom: 0.5rem;
  position: relative;
}
.portal-sidebar-brand::after {
  content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.portal-sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  font-family: var(--font-sans);
}

.portal-sidebar-link i {
  width: 22px;
  margin-right: 0.85rem;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.portal-sidebar-link:hover {
  color: rgba(255,255,255,0.85);
  background: linear-gradient(90deg, rgba(201,168,76,0.06), transparent);
  border-left-color: rgba(201,168,76,0.4);
}
.portal-sidebar-link:hover i {
  color: var(--color-gold);
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(201,168,76,0.4));
}

.portal-sidebar-link.active {
  color: var(--color-gold);
  background: linear-gradient(90deg, rgba(201,168,76,0.08), transparent);
  border-left-color: var(--color-gold);
}
.portal-sidebar-link.active i {
  color: var(--color-gold);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.5));
}

.portal-main {
  flex: 1;
  margin-left: 260px;
  padding: 2.5rem 3rem;
  padding-top: 100px;
  background: transparent;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Dashboard Tiles - Billion Dollar Redesign */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dashboard-tile {
  background: linear-gradient(145deg, rgba(12,12,12,0.98), rgba(8,8,8,0.98));
  border: 1px solid rgba(201,168,76,0.06);
  padding: 1.75rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.dashboard-tile::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.0), transparent);
  transition: background 0.5s ease;
}
.dashboard-tile::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.04) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.5s ease;
}
.dashboard-tile:hover::before {
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
}
.dashboard-tile:hover::after { opacity: 1; }
.dashboard-tile:hover {
  border-color: rgba(201,168,76,0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(201,168,76,0.05);
}

.tile-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  position: relative; z-index: 1;
}

.tile-value {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  color: #fff;
  margin-bottom: 0.35rem;
  font-weight: 400;
  position: relative; z-index: 1;
  text-shadow: 0 0 30px rgba(201,168,76,0.1);
}

.tile-subtitle {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  position: relative; z-index: 1;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0;
}

.badge-green {
  background: rgba(22, 163, 74, 0.2);
  color: var(--color-green);
  border: 1px solid var(--color-green);
}

.badge-red {
  background: rgba(220, 38, 38, 0.2);
  color: var(--color-red);
  border: 1px solid var(--color-red);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.2);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

/* Footer */
.footer {
  background: var(--color-black-secondary);
  border-top: var(--border-gold-thin);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--color-gray);
  text-align: center;
  max-width: 800px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: var(--border-gold-thin);
}

/* Responsive */
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10001;
  background: var(--color-gold);
  color: var(--color-black-primary);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  transition: all 0.3s;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.6);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Navigation */
  }
  
  /* Wizard adjustments */
  .wizard-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .wizard-steps::before {
    display: none;
  }
  
  .wizard-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }
  
  .wizard-step-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Form inputs */
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Hero section */
  .hero {
    min-height: 60vh;
    padding: 3rem 1rem;
  }
  
  .hero-logo {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  /* Category cards */
  .category-card {
    padding: 1.5rem;
  }
  
  /* Market intelligence tabs - horizontal scroll */
  .market-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  
  /* Badge sizing */
  .badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
  
  /* Playbook cards */
  .book-page {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Footer adjustments */
  footer {
    padding: 2rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Utility Classes */
.text-muted {
  color: var(--color-gray);
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.opacity-50 {
  opacity: 0.5;
}

.cursor-pointer {
  cursor: pointer;
}

/* Step-by-Step Wizard */
.wizard-container {
  max-width: 900px;
  margin: 0 auto;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gray-dark);
  z-index: 0;
}

.wizard-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.wizard-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-black-secondary);
  border: 2px solid var(--color-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.2rem;
  color: var(--color-gray);
  transition: all 0.4s ease;
}

.wizard-step.active .wizard-step-circle {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  border-color: var(--color-gold);
  color: var(--color-black-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: pulse-ring 2s ease-in-out infinite;
}

.wizard-step.completed .wizard-step-circle {
  background: var(--color-green);
  border-color: var(--color-green);
  color: white;
}

@keyframes pulse-ring {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
  }
}

.wizard-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
}

.wizard-step.active .wizard-step-label {
  color: var(--color-gold);
  font-weight: 600;
}

.wizard-content {
  background: var(--color-black-secondary);
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  min-height: 400px;
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Category Selection Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.category-card {
  background: var(--color-black-secondary);
  border: 2px solid var(--color-gray-dark);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--color-gold);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.category-card.selected {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.category-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.2) rotateY(360deg);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.category-card.selected .category-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.category-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

/* Animated Book */
.book-container {
  perspective: 2000px;
  max-width: 1200px;
  margin: 3rem auto;
}

.book {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.book.open {
  transform: rotateY(-20deg);
}

.book-page {
  background: linear-gradient(135deg, var(--color-black-secondary), var(--color-black-primary));
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3rem;
  margin-bottom: 2rem;
  position: relative;
  transform-origin: left center;
  transition: all 0.6s ease;
  cursor: pointer;
}

.book-page:hover {
  transform: rotateY(-5deg);
  box-shadow: -10px 0 30px rgba(212, 175, 55, 0.2);
}

.book-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), transparent);
}

.playbook-chapter {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--color-black-secondary);
  border-left: 4px solid var(--color-gold);
  transition: all 0.4s ease;
}

.playbook-chapter:hover {
  transform: translateX(10px);
  box-shadow: -5px 5px 20px rgba(212, 175, 55, 0.2);
}

.playbook-chapter-number {
  font-size: 3rem;
  font-family: var(--font-serif);
  color: var(--color-gold);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.playbook-chapter-title {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.playbook-strategy {
  background: rgba(212, 175, 55, 0.05);
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 3px solid var(--color-gold);
}

.playbook-quote {
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.1rem;
  margin: 1.5rem 0;
  padding-left: 2rem;
  border-left: 3px solid var(--color-gold);
}

/* Admin-specific styles */
.admin-stat-card {
  background: linear-gradient(135deg, var(--color-black-secondary), var(--color-black-tertiary));
  border: 1px solid var(--color-gold);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.admin-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.admin-stat-value {
  font-size: 3rem;
  font-family: var(--font-serif);
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.admin-stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-light);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-dark);
  border: 1px solid var(--color-gold);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray);
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

/* Sidebar Icon Animations */
.sidebar a {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar a:hover i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 8px var(--color-gold));
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Slide In Animation */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
  animation: slideInRight 0.5s ease-out;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Wizard Step Progress Animation */
@keyframes stepComplete {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.step-complete {
  animation: stepComplete 0.4s ease-out;
}

/* Category Card Hover */
.category-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.category-card:hover::before {
  width: 300px;
  height: 300px;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
  border-color: var(--color-gold);
}

/* Asset Playbook Book Animation */
@keyframes bookOpen {
  0% {
    transform: perspective(1000px) rotateY(-30deg);
    opacity: 0;
  }
  100% {
    transform: perspective(1000px) rotateY(0deg);
    opacity: 1;
  }
}

.book-open {
  animation: bookOpen 1s ease-out forwards;
}

/* Modal Backdrop Fade */
@keyframes backdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-backdrop {
  animation: backdropFadeIn 0.3s ease-out;
}

/* Shimmer Effect for Loading */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--color-black-secondary) 0%,
    var(--color-black-tertiary) 50%,
    var(--color-black-secondary) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Glow Effect */
@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px var(--color-gold), 0 0 10px var(--color-gold);
  }
  50% {
    text-shadow: 0 0 10px var(--color-gold), 0 0 20px var(--color-gold), 0 0 30px var(--color-gold);
  }
}

.text-glow {
  animation: glow 3s ease-in-out infinite;
}

/* Badge Pulse */
@keyframes badgePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.badge-pulse {
  animation: badgePulse 2s infinite;
}

/* Card Float */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Button Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Wizard Step Indicator */
.wizard-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-dark);
  background: var(--color-black-secondary);
  color: var(--color-gray);
  font-weight: 600;
  transition: all 0.4s ease;
}

.wizard-step.active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-black-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  transform: scale(1.1);
}

.wizard-step.completed {
  border-color: var(--color-green);
  background: var(--color-green);
  color: var(--color-white);
}

.wizard-line {
  flex: 1;
  height: 2px;
  background: var(--color-gray-dark);
  transition: background 0.4s ease;
}

.wizard-line.completed {
  background: var(--color-gold);
}

/* Asset Type Icon Selector */
.asset-type-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px solid var(--color-gray-dark);
  border-radius: 8px;
  background: var(--color-black-secondary);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.asset-type-icon i {
  font-size: 3rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}

.asset-type-icon:hover {
  border-color: var(--color-gold);
  background: var(--color-black-tertiary);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.asset-type-icon:hover i {
  color: var(--color-gold);
  transform: scale(1.2) rotate(5deg);
}

.asset-type-icon.selected {
  border-color: var(--color-gold);
  border-width: 3px;
  background: linear-gradient(135deg, var(--color-black-secondary), rgba(212, 175, 55, 0.1));
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.asset-type-icon.selected i {
  color: var(--color-gold);
  transform: scale(1.3);
}

/* Mobile Menu Toggle - Hidden on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--color-black-secondary);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.mobile-menu-toggle i {
  color: var(--color-gold);
  font-size: 1.5rem;
}

/* Mobile Portal Toggle - Hidden on desktop */
.mobile-portal-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001 !important; /* Higher than sidebar */
  background: var(--color-black-secondary);
  border: 2px solid var(--color-gold);
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  pointer-events: all !important; /* Ensure it's clickable */
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 998 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-sidebar-overlay.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Responsive Animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   MOBILE RESPONSIVE DESIGN - TABLET & BELOW
   ============================================ */

@media (max-width: 1024px) {
  /* Tablet adjustments */
  .hero-logo {
    font-size: 3.5rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .portal-sidebar {
    width: 240px;
  }
  
  .portal-main {
    margin-left: 240px;
  }
}

@media (max-width: 768px) {
  /* ===== MOBILE NAVIGATION ===== */
  .nav-content {
    padding: 1rem 1.5rem;
    position: relative;
  }
  
  .nav-logo {
    font-size: 1.1rem;
  }
  
  /* Show hamburger menu on mobile for main nav */
  .nav .mobile-menu-toggle {
    display: flex !important;
    position: relative;
    top: auto;
    left: auto;
    background: none;
    border: none;
    padding: 0.5rem;
    box-shadow: none;
  }
  
  /* Show portal menu toggle ONLY in portal pages */
  .mobile-portal-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  /* Hide portal nav on mobile (no HOME, BENEFITS, etc. needed) */
  .portal-container ~ nav,
  .portal-main ~ nav {
    display: none !important;
  }
  
  /* Hide nav links by default on mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-black-primary);
    border-left: 2px solid var(--color-gold);
    flex-direction: column;
    gap: 0;
    padding: 5rem 0 2rem;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
  }
  
  /* Show nav when mobile menu is open */
  .nav-links.mobile-open {
    display: flex !important;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--color-gray-dark);
  }
  
  .nav-link {
    display: block;
    padding: 1.25rem 2rem;
    font-size: 1rem;
  }
  
  /* ===== MOBILE HERO SECTION ===== */
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding: 8rem 1rem 3rem !important; /* Added more top padding to prevent nav overlap */
  }
  
  .hero::before {
    opacity: 0.2 !important;
    background-size: contain !important;
    background-position: center bottom !important;
  }
  
  .hero-content {
    padding: 0 1rem !important;
  }
  
  .hero-logo {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* ===== MOBILE TYPOGRAPHY ===== */
  h1 {
    font-size: 1.8rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  .hero-logo {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }
  
  .hero-description {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
  
  /* ===== MOBILE GRIDS ===== */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Ensure grid items don't overflow */
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > *,
  .grid-5 > * {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  
  /* ===== MOBILE PORTAL LAYOUT ===== */
  .portal-sidebar {
    position: fixed !important;
    left: -280px !important;
    top: 0 !important;
    width: 260px !important;
    height: 100vh !important;
    z-index: 999 !important;
    transition: left 0.3s ease !important;
    overflow-y: auto !important;
    background: var(--color-black-primary) !important;
    border-right: 2px solid var(--color-gold) !important;
    pointer-events: all !important;
  }
  
  .portal-sidebar.mobile-open {
    left: 0 !important;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.9) !important;
  }
  
  .portal-main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 4rem 1rem 1.5rem 1rem !important;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
  
  /* ===== MOBILE CARDS ===== */
  .card {
    padding: 1.5rem !important;
  }
  
  .category-card {
    padding: 1.25rem !important;
  }
  
  /* ===== MOBILE BUTTONS ===== */
  .btn,
  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  /* ===== MOBILE FORMS ===== */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents iOS zoom */
  }
  
  /* ===== MOBILE MODALS ===== */
  .modal-overlay {
    padding: 1rem;
  }
  
  .modal-content {
    width: 95% !important;
    max-width: 95% !important;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem !important;
  }
  
  /* ===== MOBILE TABLES ===== */
  table {
    font-size: 0.85rem;
  }
  
  th,
  td {
    padding: 0.6rem 0.4rem !important;
  }
  
  /* ===== MOBILE WIZARD ===== */
  .wizard-container {
    padding: 1.5rem 1rem;
  }
  
  .wizard-progress {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .wizard-step {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .wizard-line {
    display: none; /* Hide connecting lines on mobile */
  }
  
  .wizard-card {
    padding: 1.25rem !important;
  }
  
  /* ===== MOBILE ASSET PLAYBOOK ===== */
  .book-open {
    padding: 1rem;
  }
  
  .book-page {
    margin-bottom: 1.5rem;
  }
  
  /* ===== MOBILE MARKET INTELLIGENCE ===== */
  .market-tab {
    padding: 0.75rem 1rem !important;
    font-size: 0.75rem !important;
  }
  
  #marketChart {
    height: 200px !important;
  }
  
  /* ===== MOBILE FOOTER ===== */
  .footer {
    padding: 2rem 1rem;
  }
  
  .footer .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    text-align: center;
  }
  
  /* ===== MOBILE CONTACT PAGE ===== */
  .contact-cta {
    padding: 2rem 1rem;
  }
  
  .phone-display {
    font-size: 1.8rem !important;
  }
  
  /* ===== MOBILE UTILITY CLASSES ===== */
  .mobile-hide {
    display: none !important;
  }
  
  .mobile-show {
    display: block !important;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile devices */
  .nav-logo {
    font-size: 0.95rem;
  }
  
  .hero-logo {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 0.7rem;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  .card {
    padding: 1rem !important;
  }
  
  .btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }
}

/* ========== HOMEPAGE ASSET SLIDESHOW ========== */
.asset-slideshow {
  position: relative; width: 100%; height: 70vh; min-height: 500px;
  overflow: hidden; background: #000;
}
.asset-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}
.asset-slide.active { opacity: 1; }
.asset-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) brightness(0.35) contrast(1.2);
  animation: slideZoom 12s ease-in-out infinite;
  will-change: transform;
}
@keyframes slideZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.asset-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
}
.asset-slide-glow {
  position: absolute; bottom: 20%; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: slideGlowPulse 4s ease-in-out infinite;
}
@keyframes slideGlowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
.asset-slide-label {
  position: absolute; bottom: 4rem; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 2;
}
.slide-indicators {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.slide-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15); cursor: pointer;
  transition: all 0.3s ease; border: none;
}
.slide-dot.active {
  background: var(--color-gold); width: 20px; border-radius: 3px;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}

/* ========== ENHANCED CINEMATIC VAULT SPHERE ========== */
.vault-overlay {
  background: radial-gradient(ellipse at center, #0a0808 0%, #000 70%);
}

/* Enhanced sphere ring styling */
.vault-sphere .ring {
  border-width: 1px;
  transition: all 0.6s ease;
}
.vault-sphere .ring:nth-child(odd) {
  border-color: rgba(201,168,76,0.25);
}
.vault-sphere .ring:nth-child(even) {
  border-color: rgba(201,168,76,0.15);
}

/* Enhanced unlock with stagger */
.vault-sphere.unlocked .vault-sphere-core {
  animation: coreExpand 1.2s ease-out forwards;
}
@keyframes coreExpand {
  0% { transform: scale(1); box-shadow: 0 0 40px rgba(201,168,76,0.6); }
  50% { transform: scale(1.8); box-shadow: 0 0 100px rgba(201,168,76,0.8), 0 0 200px rgba(201,168,76,0.3); }
  100% { transform: scale(0); opacity: 0; }
}

/* Scanline overlay for cinematic feel */
.vault-scanlines {
  position: absolute; width: 100%; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(201,168,76,0.015) 2px, rgba(201,168,76,0.015) 4px
  );
  z-index: 1;
}

/* ========== VIDEO HERO SECTION ========== */
.hero-video-section {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  background: #000;
}
.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.2; filter: brightness(0.6) contrast(1.1) saturate(0.8);
}
.hero-video-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.8) 100%);
}
.hero-video-bottom-fade {
  position: absolute; bottom: 0; left: 0; width: 100%;
  height: 250px; background: linear-gradient(0deg, #050505, transparent);
}

/* ========== YOUTUBE VIDEO EMBED CARDS ========== */
.video-showcase {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.video-card {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s ease;
}
.video-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.video-card iframe {
  width: 100%; height: 100%; border: none;
}
.video-card video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem; background: linear-gradient(0deg, rgba(0,0,0,0.95), transparent);
  z-index: 2; pointer-events: none;
}

/* ========== NETWORK/COMMUNITY ENHANCED ========== */
.net-tab-bar {
  display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.net-tab-btn {
  padding: 0.85rem 1.5rem; background: none; border: none;
  border-bottom: 2px solid transparent; color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--font-sans);
  white-space: nowrap; transition: all 0.3s ease;
}
.net-tab-btn:hover { color: rgba(255,255,255,0.7); }
.net-tab-btn.active {
  border-bottom-color: var(--color-gold);
  color: var(--color-gold);
}

/* Direct Message Panel */
.dm-panel {
  position: fixed; right: 0; top: 0; bottom: 0; width: 400px;
  background: linear-gradient(180deg, #0c0c0c, #080808);
  border-left: 1px solid rgba(201,168,76,0.1);
  z-index: 9998; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
}
.dm-panel.open { transform: translateX(0); }
.dm-panel-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: space-between;
}
.dm-panel-messages {
  flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
}
.dm-panel-input {
  padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; gap: 0.75rem; align-items: center;
}
.dm-message {
  margin-bottom: 1rem; max-width: 85%;
}
.dm-message.sent {
  margin-left: auto;
}
.dm-message .dm-bubble {
  padding: 0.75rem 1rem; font-size: 0.85rem; line-height: 1.6;
  border-radius: 2px;
}
.dm-message.received .dm-bubble {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
}
.dm-message.sent .dm-bubble {
  background: rgba(201,168,76,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(201,168,76,0.15);
}

/* Post with Image */
.post-image-preview {
  width: 100%; max-height: 400px; object-fit: cover;
  margin-top: 1rem; border: 1px solid rgba(255,255,255,0.04);
}

/* ========== FOUNDER SECTION PREMIUM ========== */
.founder-section {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.founder-image-wrap {
  position: relative;
}
.founder-image-wrap img {
  width: 100%; filter: grayscale(20%) contrast(1.05);
  border: 1px solid rgba(201,168,76,0.12);
}
.founder-image-wrap::after {
  content: ''; position: absolute; top: -8px; left: -8px;
  right: -8px; bottom: -8px;
  border: 1px solid rgba(201,168,76,0.08);
}
.founder-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-style: italic;
  color: rgba(255,255,255,0.75); line-height: 1.8;
  border-left: 2px solid var(--color-gold);
  padding-left: 2rem; margin-bottom: 2rem;
}

/* ========== GLOBE ICON ENHANCED ========== */
.globe-container {
  width: 56px; height: 56px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.globe-ring {
  position: absolute; width: 100%; height: 100%;
  border: 1px solid rgba(201,168,76,0.15); border-radius: 50%;
  animation: globeRingSpin 8s linear infinite;
}
.globe-ring::before {
  content: ''; position: absolute; top: -2px; left: 50%;
  width: 4px; height: 4px; background: var(--color-gold);
  border-radius: 50%; transform: translateX(-50%);
}
@keyframes globeRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.globe-icon-inner {
  font-size: 1.4rem; color: var(--color-gold);
  animation: globeSpin 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.3));
}
@keyframes globeSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* ========== PREMIUM STAT TILE ========== */
.stat-tile {
  background: linear-gradient(135deg, rgba(14,14,14,0.95), rgba(10,10,10,0.95));
  border: 1px solid rgba(255,255,255,0.04); padding: 1.5rem;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.stat-tile::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.stat-tile:hover::before { opacity: 1; }
.stat-tile:hover {
  border-color: rgba(201,168,76,0.12);
  transform: translateY(-2px);
}

/* ========== NETWORK PROFILE BADGES ========== */
.member-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.6rem; font-size: 0.55rem; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 2px; font-family: var(--font-sans);
}
.member-badge.founder { background: rgba(201,168,76,0.15); color: var(--color-gold); border: 1px solid rgba(201,168,76,0.3); }
.member-badge.verified { background: rgba(34,197,94,0.1); color: var(--color-green); border: 1px solid rgba(34,197,94,0.2); }
.member-badge.collector { background: rgba(59,130,246,0.1); color: var(--color-blue); border: 1px solid rgba(59,130,246,0.2); }
.member-badge.elite { background: rgba(168,85,247,0.1); color: #a855f7; border: 1px solid rgba(168,85,247,0.2); }

/* ========== OPPORTUNITY / EVENT IMAGE CARDS ========== */
.opp-card-img {
  width: 100%; height: 180px; object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: all 0.5s ease;
}
.opp-card:hover .opp-card-img {
  filter: brightness(1) contrast(1.1);
  transform: scale(1.03);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .net-tab-bar { gap: 0; overflow-x: auto; }
  .net-tab-btn { padding: 0.7rem 0.75rem; font-size: 0.65rem; }
  .founder-section { grid-template-columns: 1fr; text-align: center; }
  .founder-quote { border-left: none; padding-left: 0; border-top: 2px solid var(--color-gold); padding-top: 1.5rem; font-size: 1.3rem; }
  .dm-panel { width: 100%; }
  .video-showcase { grid-template-columns: 1fr; }
  #netDirectory .form-input,
  #netDirectory .form-select { width: 100%; }
  .asset-slideshow { height: 50vh; min-height: 350px; }
  .portal-container::before { left: 0; }
  .social-post { padding: 1.25rem; }
  .social-post-actions { gap: 1rem; }
  .comment-thread { padding-left: 1rem; }
  .profile-header-card { padding: 1.5rem; }
  .profile-avatar { width: 70px; height: 70px; font-size: 1.5rem; }
  .group-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .net-tab-btn { padding: 0.6rem 0.5rem; font-size: 0.6rem; letter-spacing: 0.06em; }
  .globe-container { width: 42px; height: 42px; }
  .globe-icon-inner { font-size: 1.1rem; }
  .asset-slideshow { height: 40vh; }
}

/* ========== SOCIAL NETWORK REDESIGN (FB/IG) ========== */

/* Social Post Cards */
.social-post {
  background: rgba(14,14,14,0.95);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}
.social-post:hover {
  border-color: rgba(255,255,255,0.08);
}
.social-post-header {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.social-post-content {
  font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7;
  margin-bottom: 1rem; white-space: pre-wrap; word-break: break-word;
}
.social-post-image {
  width: 100%; max-height: 500px; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.04); margin-bottom: 1rem;
}
.social-post-actions {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.03);
}
.social-action-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: none; border: none; color: rgba(255,255,255,0.35);
  cursor: pointer; font-size: 0.78rem; letter-spacing: 0.04em;
  transition: color 0.2s; font-family: var(--font-sans);
  padding: 0.4rem 0;
}
.social-action-btn:hover { color: var(--color-gold); }
.social-action-btn.liked { color: var(--color-gold); }
.social-action-btn i { font-size: 0.9rem; }

/* Comment Thread */
.comment-thread {
  padding-left: 1.5rem; border-left: 1px solid rgba(201,168,76,0.08);
  margin-top: 0.75rem;
}
.comment-item {
  display: flex; gap: 0.6rem; padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #8a6f2f);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 600; color: #000; flex-shrink: 0;
}
.comment-body {
  flex: 1;
}
.comment-author {
  font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.65);
  margin-bottom: 0.15rem;
}
.comment-text {
  font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5;
}
.comment-meta {
  font-size: 0.65rem; color: rgba(255,255,255,0.2); margin-top: 0.25rem;
  display: flex; gap: 0.75rem;
}
.comment-input-row {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; align-items: center;
}
.comment-input-row input {
  flex: 1; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  color: #fff; padding: 0.5rem 0.75rem; font-size: 0.8rem; font-family: var(--font-sans);
}
.comment-input-row button {
  background: var(--color-gold); border: none; color: #000; padding: 0.5rem 0.75rem;
  cursor: pointer; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
}

/* Profile Cards - Social Style */
.profile-header-card {
  background: linear-gradient(135deg, rgba(14,14,14,0.98), rgba(20,18,12,0.95));
  border: 1px solid rgba(201,168,76,0.08);
  padding: 2rem; position: relative; overflow: hidden;
}
.profile-header-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.profile-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #8a6f2f);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 600; color: #000;
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
  overflow: hidden; position: relative;
  flex-shrink: 0;
}
.profile-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.profile-avatar-upload {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); padding: 0.2rem 0;
  text-align: center; font-size: 0.6rem; color: var(--color-gold);
  cursor: pointer; opacity: 0; transition: opacity 0.3s;
}
.profile-avatar:hover .profile-avatar-upload { opacity: 1; }

.profile-stat-grid {
  display: flex; gap: 1.5rem; margin-top: 1rem;
}
.profile-stat {
  text-align: center;
}
.profile-stat-val {
  font-size: 1.3rem; color: #fff; font-weight: 500;
}
.profile-stat-lbl {
  font-size: 0.6rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.profile-detail-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0; font-size: 0.82rem;
}
.profile-detail-row i {
  width: 16px; color: var(--color-gold); font-size: 0.7rem; text-align: center;
}
.profile-detail-row span {
  color: rgba(255,255,255,0.55);
}

/* Badge Display */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem;
}
.profile-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.6rem; font-size: 0.55rem; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 2px;
  background: rgba(201,168,76,0.08); color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.15);
}
.profile-badge.green { background: rgba(34,197,94,0.08); color: var(--color-green); border-color: rgba(34,197,94,0.15); }
.profile-badge.blue { background: rgba(59,130,246,0.08); color: var(--color-blue); border-color: rgba(59,130,246,0.15); }
.profile-badge.purple { background: rgba(168,85,247,0.08); color: #a855f7; border-color: rgba(168,85,247,0.15); }

/* Groups Grid */
.group-card {
  background: rgba(14,14,14,0.95); border: 1px solid rgba(255,255,255,0.04);
  padding: 1.5rem; transition: all 0.3s ease; cursor: pointer;
}
.group-card:hover {
  border-color: rgba(201,168,76,0.15); transform: translateY(-2px);
}
.group-card-cover {
  width: 100%; height: 100px; object-fit: cover;
  filter: brightness(0.6); margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.04);
}
.group-card-title {
  font-size: 0.95rem; color: #fff; letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.group-card-meta {
  font-size: 0.7rem; color: rgba(255,255,255,0.25); letter-spacing: 0.06em;
}
.group-card-desc {
  font-size: 0.8rem; color: rgba(255,255,255,0.35); line-height: 1.5;
  margin-top: 0.5rem; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Forum / Debate Threads */
.forum-thread {
  background: rgba(14,14,14,0.95); border: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem 1.5rem; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 1rem; cursor: pointer;
  transition: all 0.3s ease;
}
.forum-thread:hover {
  border-color: rgba(201,168,76,0.12); background: rgba(18,18,18,0.95);
}
.forum-thread-cat {
  font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 2px;
  background: rgba(201,168,76,0.08); color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.12); white-space: nowrap;
}
.forum-thread-title {
  font-size: 0.9rem; color: rgba(255,255,255,0.8); flex: 1;
}
.forum-thread-stats {
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
  display: flex; gap: 1rem; white-space: nowrap;
}

/* Member Access Vault Background */
.vault-bg-animation {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.vault-bg-ring {
  position: absolute; border: 1px solid rgba(201,168,76,0.05); border-radius: 50%;
  transform: translateZ(0);
}
.vault-bg-ring:nth-child(1) {
  width: 400px; height: 400px; top: 50%; left: 50%; margin: -200px 0 0 -200px;
  animation: vaultBgRingSpin 20s linear infinite;
}
.vault-bg-ring:nth-child(2) {
  width: 600px; height: 600px; top: 50%; left: 50%; margin: -300px 0 0 -300px;
  animation: vaultBgRingSpin 30s linear infinite reverse;
  border-color: rgba(201,168,76,0.03);
}
.vault-bg-ring:nth-child(3) {
  width: 800px; height: 800px; top: 50%; left: 50%; margin: -400px 0 0 -400px;
  animation: vaultBgRingSpin 40s linear infinite;
  border-color: rgba(201,168,76,0.02);
}
.vault-bg-dot {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--color-gold); opacity: 0;
  animation: vaultBgDotFloat 6s ease-in-out infinite;
}
@keyframes vaultBgRingSpin { to { transform: rotate(360deg) translateZ(0); } }
@keyframes vaultBgDotFloat {
  0%, 100% { opacity: 0; transform: translateY(0) translateZ(0); }
  50% { opacity: 0.3; transform: translateY(-20px) translateZ(0); }
}

/* Dashboard Animated Stat Tiles */
.dash-tile-premium {
  background: linear-gradient(135deg, rgba(12,12,12,0.98), rgba(16,16,16,0.95));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: all 0.4s ease; text-decoration: none; display: block;
}
.dash-tile-premium::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.dash-tile-premium:hover::before { opacity: 1; }
.dash-tile-premium:hover {
  border-color: rgba(201,168,76,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.dash-tile-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.dash-tile-icon i { color: var(--color-gold); font-size: 0.9rem; }
.dash-tile-label {
  font-size: 0.6rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.3);
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.dash-tile-value {
  font-size: 1.8rem; color: #fff; font-family: var(--font-serif);
  font-weight: 400; margin-bottom: 0.25rem; letter-spacing: 0.02em;
}
.dash-tile-sub {
  font-size: 0.7rem; color: rgba(255,255,255,0.25);
}

/* ====== PREMIUM ANIMATIONS & EFFECTS ====== */

/* Parallax hero sections */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Gold shimmer effect */
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-gold {
  background: linear-gradient(90deg, var(--color-gold) 0%, #e8d48b 25%, var(--color-gold) 50%, #a68a2e 75%, var(--color-gold) 100%);
  background-size: 200% auto;
  animation: goldShimmer 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulse glow effect */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(201,168,76,0.1); }
  50% { box-shadow: 0 0 20px rgba(201,168,76,0.25), 0 0 40px rgba(201,168,76,0.1); }
}
.pulse-gold { animation: pulseGlow 3s ease-in-out infinite; }

/* Fade-in on scroll */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* Vault door animation */
@keyframes vaultOpen {
  0% { transform: perspective(600px) rotateY(0deg); }
  100% { transform: perspective(600px) rotateY(-90deg); opacity: 0; }
}

/* Scanning line */
@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}
.scan-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  animation: scanLine 3s linear infinite;
}

/* Carbon fiber texture */
.carbon-fiber {
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 1px,
    rgba(255,255,255,0.015) 1px, rgba(255,255,255,0.015) 2px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 1px,
    rgba(255,255,255,0.015) 1px, rgba(255,255,255,0.015) 2px
  );
}

/* Titanium surface */
.titanium-surface {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 30%, #0c0c0c 60%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Gold foil accent border */
.gold-foil-border {
  border-image: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold)) 1;
}

/* Hover float */
.hover-float {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hover-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.05);
}

/* Biometric pulse */
@keyframes biometricPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}
.biometric-pulse { animation: biometricPulse 2s ease-in-out infinite; }

/* Text reveal */
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.text-reveal { animation: textReveal 1s ease-out forwards; }

/* Sound wave animation */
@keyframes soundWave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* Premium button hover */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.btn-premium::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.1), transparent);
  transition: left 0.6s ease;
}
.btn-premium:hover::before { left: 100%; }
.btn-premium:hover {
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
}

/* Responsive: Deal Room + Introductions */
@media (max-width: 768px) {
  .deal-card { padding: 1rem !important; }
  .stage-dot { width: 18px !important; height: 18px !important; font-size: 0.4rem !important; }
  .req-card, .conn-card { padding: 1rem !important; }
  #panelOverview > div { grid-template-columns: 1fr !important; }
  .dd-tab, .intro-tab { padding: 0.6rem 0.8rem !important; font-size: 0.7rem !important; }
}

/* ========== GLOBAL DROPDOWN FIX - BLACK TEXT ON WHITE OPTIONS ========== */
/* Closed state: white text on dark bg (matches portal theme) */
select {
  color: #fff !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  padding: 0.6rem 0.8rem !important;
  font-size: 0.95rem !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 12px !important;
  padding-right: 2rem !important;
  cursor: pointer;
}
/* Dropdown options: ALWAYS black text on white bg for readability */
select option {
  color: #111 !important;
  background: #fff !important;
  padding: 0.5rem !important;
  font-size: 0.95rem !important;
}
/* Focused state: gold border highlight */
select:focus {
  border-color: rgba(201,168,76,0.5) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.1);
}
/* Portal/Admin select overrides - same pattern */
.portal-main select,
.portal-container select {
  color: #fff !important;
  background: rgba(255,255,255,0.05) !important;
}
.portal-main select option,
.portal-container select option {
  color: #111 !important;
  background: #fff !important;
}
.portal-main select:focus,
.portal-container select:focus {
  border-color: rgba(201,168,76,0.5) !important;
}

/* ========== GLOBAL TEXT BRIGHTNESS BOOST ========== */
/* Make all white text brighter and more readable */
.portal-main,
.portal-main p,
.portal-main span,
.portal-main div,
.portal-main li,
.portal-main td,
.portal-main th,
.portal-main label {
  color: rgba(255,255,255,0.85);
}
.portal-main .text-muted,
.portal-main [style*="color:rgba(255,255,255,0.2)"],
.portal-main [style*="color:rgba(255,255,255,0.25)"],
.portal-main [style*="color:rgba(255,255,255,0.3)"] {
  color: rgba(255,255,255,0.55) !important;
}
.portal-main [style*="color:rgba(255,255,255,0.4)"],
.portal-main [style*="color:rgba(255,255,255,0.45)"] {
  color: rgba(255,255,255,0.65) !important;
}

/* ========== PROFILE PICTURE UPLOAD STYLES ========== */
.profile-pic-upload {
  position: relative;
  cursor: pointer;
}
.profile-pic-upload:hover .profile-pic-overlay {
  opacity: 1;
}
.profile-pic-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

/* ========== BIGGER TEXT FOR PORTAL INLINE STYLES OVERRIDE ========== */
.portal-main h1 { font-size: clamp(2rem, 3.5vw, 3rem) !important; }
.portal-main h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem) !important; }
.portal-main h3 { font-size: clamp(1.4rem, 2.2vw, 2rem) !important; }

/* ========== GLOBAL FONT SIZE BOOST - SITE WIDE ========== */
/* Home / public pages */
body { font-size: 18px; line-height: 1.6; }
.nav-link { font-size: 1.1rem !important; }
.nav-logo { font-size: 1.4rem !important; }
.hero h1, .hero-title { font-size: clamp(2.6rem, 5.5vw, 5rem) !important; }
.hero p, .hero-subtitle { font-size: clamp(1.1rem, 2.2vw, 1.45rem) !important; }
.section-title { font-size: clamp(1.8rem, 4vw, 3.2rem) !important; }
.section-subtitle, .section p { font-size: clamp(1.05rem, 2vw, 1.3rem) !important; }
.card h3, .card-title { font-size: 1.35rem !important; }
.card p, .card-desc { font-size: 1.05rem !important; line-height: 1.65; }
footer p, footer a, footer span { font-size: 1rem !important; }
footer h4 { font-size: 1.15rem !important; }
.footer-disclaimer { font-size: 0.95rem !important; }
.btn, button, a.btn { font-size: 1.05rem !important; }
.text-sm { font-size: 1rem !important; }
.text-xs { font-size: 0.9rem !important; }

/* Portal sidebar */
.portal-sidebar-link { font-size: 0.95rem !important; padding: 0.75rem 1.25rem !important; }
.portal-sidebar-link i { font-size: 1.1rem !important; width: 24px !important; }
.portal-sidebar-brand p { font-size: 1.15rem !important; }

/* Portal main content */
.portal-main { font-size: 1.05rem; line-height: 1.6; }
.portal-main p { font-size: inherit; line-height: 1.6; }
.portal-main input,
.portal-main textarea,
.portal-main select { font-size: 1rem !important; }
.portal-main button { font-size: 0.9rem !important; }
.portal-main label { font-size: 0.95rem !important; }

/* Admin panel */
.portal-container select option { font-size: 1rem !important; }

/* ========== ICON SIZE BOOST ========== */
.portal-main i.fas,
.portal-main i.far,
.portal-main i.fab { min-width: 18px; font-size: 1rem; }
/* Larger edit/action icons - more visible */
.fa-pencil-alt, .fa-pen, .fa-edit { font-size: 1rem !important; }
.fa-camera { font-size: 1.1rem !important; }
.fa-check, .fa-times, .fa-plus, .fa-minus { font-size: 0.95rem !important; }
/* Dashboard stat icons */
.dash-tile-icon i { font-size: 1.3rem !important; }
/* Action buttons icons */
.btn i, button i, a.btn i { font-size: inherit !important; }
/* Portal section header icons */
.portal-main h1 i, .portal-main h2 i { font-size: 1.2em !important; }
/* Sidebar icons highlight */
.portal-sidebar-link.active i { color: var(--color-gold) !important; }

/* ========== PREMIUM CINEMATIC ANIMATIONS ========== */
@keyframes carbonFiber {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes vaultUnlock {
  0% { transform: rotate(0deg) scale(1); opacity: 1; }
  40% { transform: rotate(-30deg) scale(1.1); }
  70% { transform: rotate(15deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes biometricScan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes floatGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(201,168,76,0.08); }
  50% { box-shadow: 0 0 20px rgba(201,168,76,0.18); }
}
@keyframes slideInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}
@keyframes carbonPattern {
  0% { background-position: 0 0, 10px 10px; }
  100% { background-position: 20px 20px, 30px 30px; }
}
@keyframes stampVerified {
  0% { transform: scale(2) rotate(-15deg); opacity: 0; }
  60% { transform: scale(0.9) rotate(3deg); opacity: 1; }
  80% { transform: scale(1.05) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Premium card base */
.premium-card {
  background: linear-gradient(135deg, rgba(10,10,10,0.98), rgba(15,15,15,0.95));
  border: 1px solid rgba(201,168,76,0.08);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.premium-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.06);
}
.premium-card:hover::before { opacity: 1; }

/* Carbon fiber texture overlay */
.carbon-bg {
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
  background-size: 4px 4px;
}

/* Gold shimmer text */
.gold-shimmer {
  background: linear-gradient(90deg, var(--color-gold), #e8d48b, var(--color-gold), #d4af37);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}

/* Vault door effect */
.vault-door {
  border: 2px solid rgba(201,168,76,0.15);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04), transparent 70%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

/* Stage tracker premium */
.stage-premium {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
}
.stage-node {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}
.stage-node.done {
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.1));
  border-color: #22c55e;
  color: #22c55e;
}
.stage-node.current {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-color: var(--color-gold);
  color: var(--color-gold);
  animation: pulseGold 2s ease-in-out infinite;
}
.stage-node.waiting {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.2);
}
.stage-bar {
  height: 3px; flex: 1; min-width: 6px;
  transition: background 0.4s;
}
.stage-bar.done { background: linear-gradient(90deg, #22c55e, rgba(201,168,76,0.4)); }
.stage-bar.pending { background: rgba(255,255,255,0.04); }

/* Deal card Netflix style */
.deal-card-nx {
  background: linear-gradient(135deg, rgba(10,10,10,0.98), rgba(18,18,18,0.95));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.75rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.5s ease-out both;
}
.deal-card-nx::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
}
.deal-card-nx:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 30px rgba(201,168,76,0.06);
}
.deal-card-nx:hover::after { transform: scaleX(1); }

/* Mission board card for introductions */
.mission-card {
  background: linear-gradient(135deg, rgba(10,10,10,0.98), rgba(15,15,15,0.95));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  animation: slideInUp 0.5s ease-out both;
}
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--color-gold), rgba(201,168,76,0.1));
}
.mission-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Verified stamp animation */
.verified-stamp {
  animation: stampVerified 0.6s ease-out both;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
  font-weight: 600;
}

/* Escrow module */
.escrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
}
.escrow-badge.funded {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}
.escrow-badge.pending {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--color-gold);
}
.escrow-badge.released {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  color: #3b82f6;
}

/* Luxury chat styling */
.luxury-msg {
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.6rem;
  max-width: 78%;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}
.luxury-msg.sent {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.15);
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
}
.luxury-msg.received {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px 14px 14px 4px;
}
.luxury-msg.urgent-msg {
  border-color: rgba(220,38,38,0.3) !important;
  background: rgba(220,38,38,0.04) !important;
}

/* Connection card */
.connection-card {
  background: linear-gradient(135deg, rgba(10,10,10,0.98), rgba(15,15,15,0.95));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.5rem;
  transition: all 0.4s;
  animation: fadeInScale 0.4s ease-out both;
}
.connection-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Wizard step progress */
.wizard-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.wizard-dot {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  transition: background 0.4s, box-shadow 0.4s;
}
.wizard-dot.active {
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(201,168,76,0.3);
}

/* Gold-filled progress bar */
.gold-progress {
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}
.gold-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), #e8d48b, var(--color-gold));
  background-size: 200% auto;
  animation: goldShimmer 3s linear infinite;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive mobile adjustments */
@media (max-width: 768px) {
  .stage-node { width: 24px !important; height: 24px !important; font-size: 0.5rem !important; }
  .deal-card-nx { padding: 1.25rem !important; }
  .mission-card { padding: 1.25rem !important; }
  .premium-card { padding: 1.25rem !important; }
  .luxury-msg { max-width: 90% !important; }
  .portal-main input,
  .portal-main textarea,
  .portal-main select { font-size: 16px !important; } /* Prevent iOS zoom */
  body { font-size: 16px; }
  .portal-main h1 { font-size: 1.6rem !important; }
  .portal-main h2 { font-size: 1.4rem !important; }
  .portal-main h3 { font-size: 1.2rem !important; }
}
@media (max-width: 480px) {
  .portal-sidebar-link { font-size: 0.85rem !important; padding: 0.7rem 1rem !important; }
  .portal-main h1 { font-size: 1.5rem !important; }
  .portal-main h2 { font-size: 1.3rem !important; }
  .stage-node { width: 20px !important; height: 20px !important; }
  body { font-size: 15px; }
}

/* ========== FORM INPUT GLOBAL ENHANCEMENTS ========== */
/* Ensure all form inputs on dark bg are clearly readable */
.portal-main input[type="text"],
.portal-main input[type="email"],
.portal-main input[type="password"],
.portal-main input[type="number"],
.portal-main input[type="tel"],
.portal-main input[type="url"],
.portal-main textarea {
  color: #fff !important;
  caret-color: var(--color-gold);
}
.portal-main input::placeholder,
.portal-main textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
  font-size: 0.95em;
}

/* ========== LETTER SPACING FOR PREMIUM FEEL ========== */
.portal-main [style*="letter-spacing:0.1em"],
.portal-main [style*="letter-spacing:0.12em"],
.portal-main [style*="letter-spacing:0.15em"],
.portal-main [style*="letter-spacing:0.2em"],
.portal-main [style*="letter-spacing:0.3em"] {
  font-weight: 500;
}

/* ========== ADMIN TABLE READABILITY ========== */
.portal-container td,
.portal-container th {
  font-size: 0.95rem !important;
  padding: 0.75rem 1rem !important;
}
.portal-container th {
  color: rgba(201,168,76,0.7) !important;
  font-weight: 600;
}

/* ========== STATUS BADGES ========== */
.status-active, .status-approved {
  color: #22c55e !important;
  font-weight: 600;
}
.status-pending {
  color: var(--color-gold) !important;
}
.status-rejected, .status-suspended {
  color: #ef4444 !important;
}


