/**
 * Polymarket Pro - Black & Gold Premium Theme
 * A Bloomberg Terminal meets Luxury Brand aesthetic
 *
 * Color Palette:
 * - Primary Background: #0a0a0a (deep black)
 * - Secondary Background: #111111 (card black)
 * - Tertiary: #1a1a1a (hover states)
 * - Primary Accent: #FFD700 (gold)
 * - Secondary Accent: #B8860B (dark gold)
 * - Tertiary Accent: #DAA520 (goldenrod)
 * - Text: #FFFFFF (white), #E5E5E5 (secondary), #888888 (muted)
 * - Success: #00C853 (green)
 * - Danger: #FF1744 (red)
 * - Warning: #FFD700 (gold)
 */

/* ============================================
   CSS VARIABLES - Premium Color System
   ============================================ */
:root {
  /* Backgrounds */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-elevated: #141414;
  --bg-card: #0d0d0d;

  /* Gold Palette */
  --gold-50: #FFF9E6;
  --gold-100: #FFF0B3;
  --gold-200: #FFE680;
  --gold-300: #FFDB4D;
  --gold-400: #FFD700;
  --gold-500: #DAA520;
  --gold-600: #B8860B;
  --gold-700: #8B6914;
  --gold-800: #5E4A0E;
  --gold-900: #312707;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #E5E5E5;
  --text-tertiary: #B3B3B3;
  --text-muted: #888888;
  --text-subtle: #555555;

  /* Semantic Colors */
  --success: #00C853;
  --success-muted: rgba(0, 200, 83, 0.15);
  --danger: #FF1744;
  --danger-muted: rgba(255, 23, 68, 0.15);
  --warning: #FFD700;
  --warning-muted: rgba(255, 215, 0, 0.15);
  --info: #2196F3;
  --info-muted: rgba(33, 150, 243, 0.15);

  /* Borders */
  --border-subtle: rgba(255, 215, 0, 0.1);
  --border-default: rgba(255, 215, 0, 0.2);
  --border-prominent: rgba(255, 215, 0, 0.4);
  --border-gold: rgba(255, 215, 0, 0.6);

  /* Shadows & Glows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --glow-gold-sm: 0 0 10px rgba(255, 215, 0, 0.2);
  --glow-gold-md: 0 0 20px rgba(255, 215, 0, 0.3);
  --glow-gold-lg: 0 0 40px rgba(255, 215, 0, 0.4);
  --glow-success: 0 0 20px rgba(0, 200, 83, 0.3);
  --glow-danger: 0 0 20px rgba(255, 23, 68, 0.3);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
  --gradient-gold-subtle: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
  --gradient-gold-border: linear-gradient(135deg, #FFD700 0%, #DAA520 50%, #B8860B 100%);
  --gradient-dark: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  --gradient-card: linear-gradient(145deg, #141414 0%, #0d0d0d 100%);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}


/* ============================================
   BASE STYLES
   ============================================ */
.theme-black-gold {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.theme-black-gold * {
  border-color: var(--border-subtle);
}

.theme-black-gold ::selection {
  background: var(--gold-400);
  color: var(--bg-primary);
}


/* ============================================
   TYPOGRAPHY
   ============================================ */
.theme-black-gold .text-gold {
  color: var(--gold-400);
}

.theme-black-gold .text-gold-light {
  color: var(--gold-300);
}

.theme-black-gold .text-gold-dark {
  color: var(--gold-600);
}

.theme-black-gold .text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-black-gold .heading-premium {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.theme-black-gold .heading-gold {
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-black-gold .label-premium {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}


/* ============================================
   CARDS - Premium Style
   ============================================ */
.theme-black-gold .card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-black-gold .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.theme-black-gold .card:hover {
  border-color: var(--border-default);
  box-shadow: var(--glow-gold-sm);
  transform: translateY(-2px);
}

.theme-black-gold .card:hover::before {
  opacity: 1;
}

.theme-black-gold .card-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
}

.theme-black-gold .card-gold {
  background: var(--gradient-gold-subtle);
  border: 1px solid var(--border-prominent);
}

.theme-black-gold .card-gold:hover {
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold-md);
}

/* Card with gradient border */
.theme-black-gold .card-gradient-border {
  position: relative;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
}

.theme-black-gold .card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-gold-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Featured card with glow */
.theme-black-gold .card-featured {
  background: var(--bg-card);
  border: 1px solid var(--gold-600);
  box-shadow: var(--glow-gold-sm);
}

.theme-black-gold .card-featured:hover {
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold-md);
}


/* ============================================
   BUTTONS - Premium Styles
   ============================================ */
/* Primary Button - Gold filled */
.theme-black-gold .btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-black-gold .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.theme-black-gold .btn-primary:hover {
  box-shadow: var(--glow-gold-md);
  transform: translateY(-1px);
}

.theme-black-gold .btn-primary:hover::before {
  opacity: 1;
}

.theme-black-gold .btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--glow-gold-sm);
}

/* Secondary Button - Gold outline */
.theme-black-gold .btn-secondary {
  background: transparent;
  color: var(--gold-400);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-600);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-black-gold .btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold-sm);
}

.theme-black-gold .btn-secondary:active {
  background: rgba(255, 215, 0, 0.15);
}

/* Ghost Button - Minimal */
.theme-black-gold .btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-black-gold .btn-ghost:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-default);
  color: var(--text-primary);
}

/* Icon Button */
.theme-black-gold .btn-icon {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-black-gold .btn-icon:hover {
  background: var(--bg-tertiary);
  border-color: var(--gold-600);
  color: var(--gold-400);
  box-shadow: var(--glow-gold-sm);
}

/* Success Button */
.theme-black-gold .btn-success {
  background: var(--success);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-black-gold .btn-success:hover {
  box-shadow: var(--glow-success);
  filter: brightness(1.1);
}

/* Danger Button */
.theme-black-gold .btn-danger {
  background: var(--danger);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-black-gold .btn-danger:hover {
  box-shadow: var(--glow-danger);
  filter: brightness(1.1);
}


/* ============================================
   INPUTS & FORM ELEMENTS
   ============================================ */
.theme-black-gold .input {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
  width: 100%;
}

.theme-black-gold .input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.theme-black-gold .input::placeholder {
  color: var(--text-subtle);
}

.theme-black-gold .input-gold {
  border-color: var(--gold-600);
}

.theme-black-gold .input-gold:focus {
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold-sm);
}

.theme-black-gold .select {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FFD700'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  transition: all var(--transition-normal);
}

.theme-black-gold .select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.theme-black-gold .checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--gold-600);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  cursor: pointer;
  appearance: none;
  transition: all var(--transition-fast);
}

.theme-black-gold .checkbox:checked {
  background: var(--gold-500);
  border-color: var(--gold-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 100%;
}


/* ============================================
   NAVIGATION & SIDEBAR
   ============================================ */
.theme-black-gold .sidebar {
  background: var(--bg-primary);
  border-right: 1px solid var(--border-subtle);
}

.theme-black-gold .nav-item {
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border-left: 2px solid transparent;
  position: relative;
}

.theme-black-gold .nav-item:hover {
  background: var(--bg-tertiary);
  color: var(--gold-400);
}

.theme-black-gold .nav-item.active {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-400);
  border-left-color: var(--gold-400);
}

.theme-black-gold .nav-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}


/* ============================================
   TABLES - Bloomberg Style
   ============================================ */
.theme-black-gold .table {
  width: 100%;
  border-collapse: collapse;
}

.theme-black-gold .table th {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}

.theme-black-gold .table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.theme-black-gold .table tr:hover td {
  background: var(--bg-tertiary);
}

.theme-black-gold .table-striped tr:nth-child(even) td {
  background: var(--bg-secondary);
}


/* ============================================
   BADGES & TAGS
   ============================================ */
.theme-black-gold .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.theme-black-gold .badge-gold {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.theme-black-gold .badge-success {
  background: var(--success-muted);
  color: var(--success);
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.theme-black-gold .badge-danger {
  background: var(--danger-muted);
  color: var(--danger);
  border: 1px solid rgba(255, 23, 68, 0.3);
}

.theme-black-gold .badge-info {
  background: var(--info-muted);
  color: var(--info);
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.theme-black-gold .badge-premium {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  border: none;
  font-weight: 600;
}


/* ============================================
   PROGRESS BARS
   ============================================ */
.theme-black-gold .progress {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}

.theme-black-gold .progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.theme-black-gold .progress-bar-gold {
  background: var(--gradient-gold);
}

.theme-black-gold .progress-bar-success {
  background: var(--success);
}

.theme-black-gold .progress-bar-danger {
  background: var(--danger);
}


/* ============================================
   TOOLTIPS & POPOVERS
   ============================================ */
.theme-black-gold .tooltip {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  box-shadow: var(--shadow-lg);
}


/* ============================================
   DIVIDERS & SEPARATORS
   ============================================ */
.theme-black-gold .divider {
  border: none;
  height: 1px;
  background: var(--border-subtle);
}

.theme-black-gold .divider-gold {
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

.theme-black-gold .divider-vertical {
  width: 1px;
  height: 100%;
  background: var(--border-subtle);
}


/* ============================================
   STATUS INDICATORS
   ============================================ */
.theme-black-gold .status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

.theme-black-gold .status-online {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.theme-black-gold .status-offline {
  background: var(--text-muted);
}

.theme-black-gold .status-warning {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
}

.theme-black-gold .status-danger {
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
}

/* Pulsing animation */
.theme-black-gold .pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}


/* ============================================
   MARKET CARDS - Specialized
   ============================================ */
.theme-black-gold .market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: all var(--transition-normal);
  position: relative;
}

.theme-black-gold .market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.theme-black-gold .market-card:hover {
  border-color: var(--border-prominent);
  box-shadow: var(--glow-gold-sm);
  transform: translateY(-3px);
}

.theme-black-gold .market-card:hover::before {
  opacity: 1;
}

.theme-black-gold .market-card-featured {
  border-color: var(--gold-600);
  box-shadow: var(--glow-gold-sm);
}

.theme-black-gold .market-card-featured::before {
  opacity: 1;
}


/* ============================================
   PRICE DISPLAYS
   ============================================ */
.theme-black-gold .price {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

.theme-black-gold .price-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
}

.theme-black-gold .price-up {
  color: var(--success);
}

.theme-black-gold .price-down {
  color: var(--danger);
}

.theme-black-gold .price-neutral {
  color: var(--text-muted);
}


/* ============================================
   STATS & METRICS
   ============================================ */
.theme-black-gold .stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

.theme-black-gold .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.theme-black-gold .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.theme-black-gold .stat-change {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.theme-black-gold .stat-change-positive {
  color: var(--success);
}

.theme-black-gold .stat-change-negative {
  color: var(--danger);
}


/* ============================================
   TABS
   ============================================ */
.theme-black-gold .tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.theme-black-gold .tab {
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-normal);
}

.theme-black-gold .tab:hover {
  color: var(--text-primary);
}

.theme-black-gold .tab.active {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}


/* ============================================
   MODALS & OVERLAYS
   ============================================ */
.theme-black-gold .modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.theme-black-gold .modal {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), var(--glow-gold-sm);
}

.theme-black-gold .modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.theme-black-gold .modal-body {
  padding: 1.5rem;
}

.theme-black-gold .modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}


/* ============================================
   NOTIFICATIONS & TOASTS
   ============================================ */
.theme-black-gold .toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
}

.theme-black-gold .toast-success {
  border-left: 3px solid var(--success);
}

.theme-black-gold .toast-danger {
  border-left: 3px solid var(--danger);
}

.theme-black-gold .toast-warning {
  border-left: 3px solid var(--warning);
}

.theme-black-gold .toast-info {
  border-left: 3px solid var(--info);
}


/* ============================================
   SCROLLBAR STYLING
   ============================================ */
.theme-black-gold ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.theme-black-gold ::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.theme-black-gold ::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: var(--radius-full);
}

.theme-black-gold ::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}


/* ============================================
   LOADING STATES
   ============================================ */
.theme-black-gold .shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.theme-black-gold .spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--gold-400);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ============================================
   CHARTS & GRAPHS (Chart.js integration)
   ============================================ */
.theme-black-gold .chart-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}


/* ============================================
   GLASS MORPHISM EFFECT
   ============================================ */
.theme-black-gold .glass {
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

.theme-black-gold .glass-gold {
  background: rgba(255, 215, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-prominent);
}


/* ============================================
   HEADER STYLES
   ============================================ */
.theme-black-gold .header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.theme-black-gold .header-glass {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.theme-black-gold .logo-gradient {
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================
   ORDERBOOK STYLES
   ============================================ */
.theme-black-gold .orderbook-row {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  transition: background var(--transition-fast);
}

.theme-black-gold .orderbook-row:hover {
  background: var(--bg-tertiary);
}

.theme-black-gold .orderbook-bid {
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.1) 0%, transparent 100%);
}

.theme-black-gold .orderbook-ask {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 23, 68, 0.1) 100%);
}


/* ============================================
   TRADING PANEL
   ============================================ */
.theme-black-gold .trading-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-prominent);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.theme-black-gold .trading-panel-header {
  background: rgba(255, 215, 0, 0.05);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
}

.theme-black-gold .trading-panel-body {
  padding: 1.25rem;
}


/* ============================================
   UTILITY CLASSES
   ============================================ */
.theme-black-gold .bg-primary { background-color: var(--bg-primary); }
.theme-black-gold .bg-secondary { background-color: var(--bg-secondary); }
.theme-black-gold .bg-tertiary { background-color: var(--bg-tertiary); }
.theme-black-gold .bg-elevated { background-color: var(--bg-elevated); }
.theme-black-gold .bg-card { background-color: var(--bg-card); }

.theme-black-gold .border-gold { border-color: var(--gold-400); }
.theme-black-gold .border-gold-subtle { border-color: var(--border-subtle); }
.theme-black-gold .border-gold-default { border-color: var(--border-default); }

.theme-black-gold .glow-gold { box-shadow: var(--glow-gold-md); }
.theme-black-gold .glow-gold-sm { box-shadow: var(--glow-gold-sm); }
.theme-black-gold .glow-gold-lg { box-shadow: var(--glow-gold-lg); }

.theme-black-gold .text-gold { color: var(--gold-400); }
.theme-black-gold .text-success { color: var(--success); }
.theme-black-gold .text-danger { color: var(--danger); }
.theme-black-gold .text-warning { color: var(--warning); }
.theme-black-gold .text-info { color: var(--info); }
.theme-black-gold .text-muted { color: var(--text-muted); }


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: var(--glow-gold-sm);
  }
  50% {
    box-shadow: var(--glow-gold-md);
  }
}

.theme-black-gold .animate-fade-in {
  animation: fadeIn 0.3s ease;
}

.theme-black-gold .animate-slide-up {
  animation: slideUp 0.3s ease;
}

.theme-black-gold .animate-scale-in {
  animation: scaleIn 0.2s ease;
}

.theme-black-gold .animate-glow-pulse {
  animation: glowPulse 2s infinite;
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  :root {
    --radius-xl: 12px;
    --radius-2xl: 16px;
  }

  .theme-black-gold .market-card {
    padding: 1rem;
  }

  .theme-black-gold .stat-value {
    font-size: 1.25rem;
  }
}


/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .theme-black-gold {
    background: white;
    color: black;
  }

  .theme-black-gold .card,
  .theme-black-gold .market-card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}


/* ============================================
   MOBILE-FIRST RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Base responsive utilities */
.theme-black-gold .container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .theme-black-gold .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .theme-black-gold .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================
   ENHANCED GLASS MORPHISM
   ============================================ */
.theme-black-gold .glass-premium {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-black-gold .glass-dark {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

/* ============================================
   PREMIUM HEADER STYLES
   ============================================ */
.theme-black-gold .header-premium {
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.98) 0%,
    rgba(10, 10, 10, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.theme-black-gold .logo-premium {
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  padding: 0.625rem;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.theme-black-gold .logo-premium:hover {
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* ============================================
   RESPONSIVE GRID SYSTEM
   ============================================ */
.theme-black-gold .grid-responsive {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .theme-black-gold .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .theme-black-gold .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .theme-black-gold .grid-responsive {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stats Grid */
.theme-black-gold .stats-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .theme-black-gold .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .theme-black-gold .stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ============================================
   ENHANCED STAT CARDS
   ============================================ */
.theme-black-gold .stat-card-premium {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-xl);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.theme-black-gold .stat-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-black-gold .stat-card-premium:hover {
  border-color: rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(255, 215, 0, 0.15);
}

.theme-black-gold .stat-card-premium:hover::before {
  opacity: 1;
}

.theme-black-gold .stat-card-premium .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .theme-black-gold .stat-card-premium {
    padding: 1.25rem;
  }
  .theme-black-gold .stat-card-premium .stat-value {
    font-size: 1.75rem;
  }
}

/* ============================================
   PREMIUM MARKET CARDS - ENHANCED
   ============================================ */
.theme-black-gold .market-card-premium {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 1) 0%,
    rgba(13, 13, 13, 1) 100%
  );
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-black-gold .market-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.theme-black-gold .market-card-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.theme-black-gold .market-card-premium:hover {
  border-color: rgba(255, 215, 0, 0.25);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px -10px rgba(255, 215, 0, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

.theme-black-gold .market-card-premium:hover::before,
.theme-black-gold .market-card-premium:hover::after {
  opacity: 1;
}

/* ============================================
   REAL-TIME PRICE DISPLAYS
   ============================================ */
.theme-black-gold .price-ticker {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.theme-black-gold .price-ticker.updating {
  animation: priceFlash 0.3s ease;
}

@keyframes priceFlash {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.theme-black-gold .price-up-flash {
  animation: priceUpFlash 0.5s ease;
}

@keyframes priceUpFlash {
  0% {
    color: var(--success);
    text-shadow: 0 0 10px var(--success);
  }
  100% {
    color: var(--success);
    text-shadow: none;
  }
}

.theme-black-gold .price-down-flash {
  animation: priceDownFlash 0.5s ease;
}

@keyframes priceDownFlash {
  0% {
    color: var(--danger);
    text-shadow: 0 0 10px var(--danger);
  }
  100% {
    color: var(--danger);
    text-shadow: none;
  }
}

/* ============================================
   WEBSOCKET CONNECTION INDICATOR
   ============================================ */
.theme-black-gold .ws-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.theme-black-gold .ws-indicator.connected {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: var(--success);
}

.theme-black-gold .ws-indicator.connecting {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold-400);
}

.theme-black-gold .ws-indicator.disconnected {
  background: rgba(255, 23, 68, 0.15);
  border: 1px solid rgba(255, 23, 68, 0.3);
  color: var(--danger);
}

.theme-black-gold .ws-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: wsPulse 2s infinite;
}

.theme-black-gold .ws-dot.connected {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.theme-black-gold .ws-dot.connecting {
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
  animation: wsPulse 1s infinite;
}

.theme-black-gold .ws-dot.disconnected {
  background: var(--danger);
  box-shadow: none;
  animation: none;
}

@keyframes wsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* ============================================
   ORDER BOOK PREMIUM STYLES
   ============================================ */
.theme-black-gold .orderbook-premium {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.theme-black-gold .orderbook-header {
  background: rgba(255, 215, 0, 0.05);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.theme-black-gold .orderbook-row-bid {
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.12) 0%, transparent 100%);
  transition: background 0.2s ease;
}

.theme-black-gold .orderbook-row-bid:hover {
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.2) 0%, transparent 100%);
}

.theme-black-gold .orderbook-row-ask {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 23, 68, 0.12) 100%);
  transition: background 0.2s ease;
}

.theme-black-gold .orderbook-row-ask:hover {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 23, 68, 0.2) 100%);
}

.theme-black-gold .depth-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.theme-black-gold .depth-bar.bid {
  right: 0;
  background: rgba(0, 200, 83, 0.15);
}

.theme-black-gold .depth-bar.ask {
  left: 0;
  background: rgba(255, 23, 68, 0.15);
}

/* ============================================
   RESPONSIVE NAVIGATION
   ============================================ */
.theme-black-gold .nav-mobile {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  padding: 0.5rem;
  z-index: 100;
}

@media (min-width: 1024px) {
  .theme-black-gold .nav-mobile {
    display: none;
  }
}

.theme-black-gold .nav-mobile-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: var(--radius-lg);
}

.theme-black-gold .nav-mobile-item:active {
  background: rgba(255, 215, 0, 0.1);
}

.theme-black-gold .nav-mobile-item.active {
  color: var(--gold-400);
}

.theme-black-gold .nav-mobile-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.25rem;
}

.theme-black-gold .nav-mobile-item span {
  font-size: 0.625rem;
  font-weight: 500;
}

/* ============================================
   PREMIUM BUTTONS - ENHANCED
   ============================================ */
.theme-black-gold .btn-premium {
  position: relative;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(255, 215, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.theme-black-gold .btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-black-gold .btn-premium:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(255, 215, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.theme-black-gold .btn-premium:hover::before {
  opacity: 1;
}

.theme-black-gold .btn-premium:active {
  transform: translateY(0);
  box-shadow:
    0 2px 10px rgba(255, 215, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================
   LIVE FEED TICKER
   ============================================ */
.theme-black-gold .live-ticker {
  overflow: hidden;
  position: relative;
}

.theme-black-gold .live-ticker-content {
  display: flex;
  animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.theme-black-gold .live-ticker:hover .live-ticker-content {
  animation-play-state: paused;
}

.theme-black-gold .ticker-item {
  flex-shrink: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

/* ============================================
   CHART CONTAINERS - RESPONSIVE
   ============================================ */
.theme-black-gold .chart-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-xl);
  padding: 1rem;
  position: relative;
}

.theme-black-gold .chart-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .theme-black-gold .chart-wrapper {
    padding: 1.5rem;
  }
}

/* ============================================
   SKELETON LOADING - ENHANCED
   ============================================ */
.theme-black-gold .skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 25%,
    var(--bg-secondary) 50%,
    var(--bg-tertiary) 75%,
    var(--bg-secondary) 100%
  );
  background-size: 400% 100%;
  animation: skeletonShimmer 1.5s ease infinite;
  border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.theme-black-gold .skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.theme-black-gold .skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 0.75rem;
}

.theme-black-gold .skeleton-card {
  height: 12rem;
}

/* ============================================
   TRADING PANEL PREMIUM
   ============================================ */
.theme-black-gold .trading-panel-premium {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.theme-black-gold .trading-panel-header {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(184, 134, 11, 0.05) 100%
  );
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-black-gold .trading-panel-body {
  padding: 1.25rem;
}

/* ============================================
   RESPONSIVE SIDEBAR
   ============================================ */
.theme-black-gold .sidebar-responsive {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: var(--bg-primary);
  border-right: 1px solid rgba(255, 215, 0, 0.1);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.theme-black-gold .sidebar-responsive.open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .theme-black-gold .sidebar-responsive {
    position: relative;
    transform: translateX(0);
    width: 260px;
    flex-shrink: 0;
  }
}

.theme-black-gold .sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.theme-black-gold .sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .theme-black-gold .sidebar-overlay {
    display: none;
  }
}

/* ============================================
   FORM INPUTS - ENHANCED
   ============================================ */
.theme-black-gold .input-premium {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.25s ease;
  width: 100%;
}

.theme-black-gold .input-premium:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow:
    0 0 0 3px rgba(255, 215, 0, 0.1),
    0 0 20px rgba(255, 215, 0, 0.1);
}

.theme-black-gold .input-premium::placeholder {
  color: var(--text-subtle);
}

/* ============================================
   TOUCH-FRIENDLY INTERACTIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .theme-black-gold .btn-primary,
  .theme-black-gold .btn-secondary,
  .theme-black-gold .btn-premium,
  .theme-black-gold .nav-item {
    padding: 0.875rem 1.25rem;
    min-height: 44px;
  }

  .theme-black-gold .market-card-premium {
    padding: 1rem;
  }

  .theme-black-gold .input-premium {
    padding: 1rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* ============================================
   FOCUS VISIBLE STYLES
   ============================================ */
.theme-black-gold *:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

.theme-black-gold button:focus-visible,
.theme-black-gold a:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* ============================================
   HIGH CONTRAST MODE SUPPORT
   ============================================ */
@media (prefers-contrast: high) {
  .theme-black-gold {
    --border-subtle: rgba(255, 215, 0, 0.4);
    --border-default: rgba(255, 215, 0, 0.6);
  }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .theme-black-gold *,
  .theme-black-gold *::before,
  .theme-black-gold *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
