/* ========================================
   4i4A Group - Crypto Dashboard Styles
   BULLETPROOF CSS SYSTEM - NO MORE LAYOUT BREAKS!
   ======================================== */

/* ===== CSS RESET & NORMALIZATION ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: 16px;
  line-height: 1.5;
}

body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
  /* ===== COLOR PALETTE ===== */
  
  /* Primary Colors */
  --color-primary: #ffe600;
  --color-primary-dark: #ffcc00;
  --color-primary-light: #fff200;
  
  /* Background Colors */
  --color-bg-gradient1: rgba(11, 27, 61, 0.65);
  --color-bg-gradient2: rgba(109, 40, 217, 0.65);
  --color-panel-bg: rgba(0, 0, 0, 0.25);
  --color-panel-bg-alt: rgba(255, 255, 255, 0.08);
  --color-panel-border: rgba(255, 255, 255, 0.2);
  --color-panel-shadow: rgba(0,0,0,0.25);
  --color-panel-shadow-strong: rgba(0,0,0,0.35);
  
  /* Text Colors */
  --color-text: #ffffff;
  --color-text-subtle: #bcd4ff;
  --color-text-meta: #cfe3ff;
  --color-text-meta-strong: #e6f0ff;
  --color-text-meta-faded: #bcd4ff;
  
  /* Title Colors */
  --color-title: #cfe3ff;
  --color-title-strong: #e6f0ff;
  --color-title-eth: #cfe3ff;
  --color-title-doge: #e6f0ff;
  
  /* Sentiment Colors */
  --color-sentiment-long: linear-gradient(90deg, #16a34a, #22c55e);
  --color-sentiment-short: linear-gradient(90deg, #ef4444, #f43f5e);
  
  /* News Colors */
  --color-news-bg: rgba(255,255,255,0.06);
  --color-news-border: rgba(255,255,255,0.18);
  --color-news-meta: #cfe3ff;
  --color-news-title: #e6f0ff;
  
  /* Widget Colors */
  --color-widget-stroke1: #60a5fa;
  --color-widget-stroke2: #a78bfa;
  --color-widget-fill1: rgba(96,165,250,0.28);
  --color-widget-fill2: rgba(96,165,250,0.05);
  
  /* Button Colors */
  --color-btn-bg: rgba(0, 0, 0, 0.6);
  --color-btn-bg-hover: rgba(0, 0, 0, 0.8);
  --color-btn-border: rgba(255, 255, 255, 0.2);
  --color-btn-border-hover: rgba(255, 255, 255, 0.4);
  --color-btn-focus: rgba(96, 165, 250, 0.5);
  --color-btn-text: #ffffff;
  
  /* Other Colors */
  --color-disclaimer: #bcd4ff;
  --color-oi-value: #e6f0ff;
  --color-oi-label: #bcd4ff;
  --color-oi-label-faded: #bcd4ff;
  --color-asset-header: #e6f0ff;
  --color-asset-header-faded: #e6f0ff;
  --color-doge-header: #e6f0ff;
  --color-doge-header-faded: #e6f0ff;
  
  /* ===== SPACING & LAYOUT ===== */
  --gap-main: 64px;
  --gap-panel: 16px;
  --gap-sentiment: 12px;
  --gap-news: 14px;
  --gap-header: 8px;
  --gap-header-small: 4px;
  
  /* ===== BORDER RADIUS ===== */
  --radius-panel: 12px;
  --radius-news: 10px;
  --radius-btn: 8px;
  --radius-img: 50%;
  
  /* ===== SHADOWS ===== */
  --shadow-panel: 0 6px 18px var(--color-panel-shadow);
  --shadow-panel-strong: 0 8px 22px var(--color-panel-shadow-strong);
  --shadow-btn-focus: 0 0 0 2px var(--color-btn-focus);
  
  /* ===== TYPOGRAPHY ===== */
  --font-main: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: 'Share Tech Mono', 'Consolas', 'monospace';
  --font-winamp: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* ===== Z-INDEX LAYERS ===== */
  --z-background: 100;
  --z-visualizer: 120;
  --z-tube-effect: 150;
  --z-widgets: 1000;
  --z-controls: 1001;
  --z-visualizer-title: 2502;
  
  /* ===== ANIMATION TIMINGS ===== */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
  --animation-fast: 0.8s;
  --animation-normal: 1.2s;
  --animation-slow: 2s;
  
  /* ===== LAYOUT DIMENSIONS ===== */
  --layout-left-width: 300px;
  --layout-center-max-width: 500px;
  --layout-news-width: 320px;
  --layout-gap: 64px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 768px) {
  :root {
    --gap-main: 16px;
    --gap-panel: 12px;
    --layout-left-width: 100%;
    --layout-center-max-width: 100%;
    --layout-news-width: 100%;
    --layout-gap: 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --gap-main: 12px;
    --gap-panel: 8px;
    --layout-gap: 16px;
  }
}

/* ===== BULLETPROOF LAYOUT SYSTEM ===== */
/* This system uses high specificity and !important to prevent conflicts */

/* ===== MAIN LAYOUT CONTAINER ===== */
body[data-layout="crypto-dashboard"] {
  /* Removed conflicting flexbox - using fixed positioning instead */
  background-image: linear-gradient(135deg, var(--color-bg-gradient1) 0%, var(--color-bg-gradient2) 100%), url('images/lunar01.jpg');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-text);
  padding: 24px;
  box-sizing: border-box;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== LEFT COLUMN - CRYPTO DATA ===== */
body[data-layout="crypto-dashboard"] .left-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important; /* Reduced gap */
  width: 270px !important; /* 90% of 300px */
  min-width: 270px !important; /* 90% of 300px */
  max-width: 270px !important; /* 90% of 300px */
  position: fixed !important;
  left: 20px !important; /* Adjusted position to account for scaling */
  top: 20px !important; /* Adjusted position to account for scaling */
  z-index: var(--z-widgets) !important;
  /* Scale transform to 90% */
  transform: scale(0.9) !important;
  transform-origin: top left !important;
  /* Ensure no overlapping */
  overflow: visible !important;
  height: auto !important;
  /* Force visibility */
  visibility: visible !important;
  opacity: 1 !important;
  /* Remove conflicting margins */
  margin: 0 !important;
  /* Force show all content */
  clip: auto !important;
  clip-path: none !important;
  /* Remove background that might interfere */
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* ===== LEFT COLUMN PANELS - FORCE VISIBILITY ===== */
body[data-layout="crypto-dashboard"] .left-column .dominance-panel,
body[data-layout="crypto-dashboard"] .left-column .sentiment-panel,
body[data-layout="crypto-dashboard"] .left-column .oi-panel,
body[data-layout="crypto-dashboard"] .left-column .doge-panel {
  width: 100% !important;
  max-width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  /* Ensure panels don't get cut off */
  overflow: visible !important;
  position: relative !important;
  z-index: 1 !important;
  /* Remove conflicting margins */
  margin: 0 !important;
  margin-bottom: 16px !important;
  /* Ensure panels are fully visible */
  min-height: auto !important;
  /* Force show all content */
  clip: auto !important;
  clip-path: none !important;
  /* Remove any transforms that might cause offsets */
  transform: none !important;
}

/* ===== CENTER COLUMN - ETH PRICE ===== */
body[data-layout="crypto-dashboard"] .container {
  max-width: var(--layout-center-max-width) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 28px !important;
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: var(--z-widgets) !important;
  width: var(--layout-center-max-width) !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(20, 20, 40, 0.4) 100%) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 2px solid rgba(0, 255, 136, 0.2) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 136, 0.1),
    inset 0 0 20px rgba(0, 255, 136, 0.05) !important;
  /* Add more breathing room */
  margin: 20px !important;
}

body[data-layout="crypto-dashboard"] .asset-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  padding: 20px !important;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  width: 100% !important;
  max-width: 100% !important;
}

body[data-layout="crypto-dashboard"] .asset-icon {
  width: 48px !important;
  height: 48px !important;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.4)) !important;
  animation: cosmic-eth-glow 3s ease-in-out infinite !important;
}

body[data-layout="crypto-dashboard"] .asset-header-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #00ff88 !important;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

/* ===== ENHANCED ETH PRICE DISPLAY ===== */
body[data-layout="crypto-dashboard"] .custom-eth-price {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 20, 40, 0.6) 100%) !important;
  border: 2px solid rgba(0, 255, 136, 0.4) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 136, 0.2),
    inset 0 0 20px rgba(0, 255, 136, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  width: 100% !important;
  max-width: 100% !important;
  animation: cosmic-eth-glow 4s ease-in-out infinite !important;
}

body[data-layout="crypto-dashboard"] .custom-eth-price::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 136, 0.05) 50%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

body[data-layout="crypto-dashboard"] .custom-eth-price:hover::before {
  opacity: 1 !important;
}

body[data-layout="crypto-dashboard"] .custom-eth-price:hover {
  transform: scale(1.02) !important;
  border-color: rgba(0, 255, 136, 0.6) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 136, 0.3),
    inset 0 0 20px rgba(0, 255, 136, 0.15) !important;
}

body[data-layout="crypto-dashboard"] .eth-price-main {
  text-align: center !important;
  margin-bottom: 12px !important;
}

body[data-layout="crypto-dashboard"] .eth-price-amount {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6) !important;
  font-family: 'Share Tech Mono', monospace !important;
  margin-bottom: 12px !important;
  line-height: 1.2 !important;
}

body[data-layout="crypto-dashboard"] .eth-price-change {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 25px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body[data-layout="crypto-dashboard"] .change-arrow {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #00ff88 !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5) !important;
}

body[data-layout="crypto-dashboard"] .change-value {
  color: #00ff88 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
}

/* ===== ETH PRICE DETAILS ===== */
body[data-layout="crypto-dashboard"] .eth-price-details {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  /* Ensure content doesn't get cut off */
  overflow: visible !important;
}

body[data-layout="crypto-dashboard"] .eth-price-24h,
body[data-layout="crypto-dashboard"] .eth-price-volume {
  text-align: center !important;
  padding: 6px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 255, 136, 0.2) !important;
  /* Prevent text truncation */
  overflow: visible !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}

body[data-layout="crypto-dashboard"] .detail-label {
  display: block !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body[data-layout="crypto-dashboard"] .detail-value {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #00ff88 !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
  /* Ensure full text is visible */
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  /* Force full text display */
  word-break: keep-all !important;
  hyphens: none !important;
}

/* ===== VOLUME DISPLAY SPECIFIC FIX ===== */
body[data-layout="crypto-dashboard"] .eth-price-volume .detail-value {
  /* Ensure volume shows full amount */
  font-size: 13px !important; /* Even smaller to fit better */
  line-height: 1.1 !important;
  /* Prevent any truncation */
  text-overflow: unset !important;
  overflow: visible !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

/* ===== ETH PRICE CHART ===== */
body[data-layout="crypto-dashboard"] .eth-price-chart {
  display: flex !important;
  justify-content: center !important;
  padding: 12px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 255, 136, 0.2) !important;
}

/* ===== COSMIC ETH GLOW ANIMATION ===== */
@keyframes cosmic-eth-glow {
  0%, 100% { 
    box-shadow: 
      0 15px 50px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(0, 255, 136, 0.2),
      inset 0 0 20px rgba(0, 255, 136, 0.1);
  }
  50% { 
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(0, 255, 136, 0.3),
      inset 0 0 20px rgba(0, 255, 136, 0.15);
  }
}

/* ===== RIGHT COLUMN - NEWS PANEL ===== */
/* News panel positioning now handled by inline styles to avoid conflicts */

/* ===== PANEL COMPONENTS ===== */
body[data-layout="crypto-dashboard"] .dominance-panel,
body[data-layout="crypto-dashboard"] .sentiment-panel,
body[data-layout="crypto-dashboard"] .oi-panel,
body[data-layout="crypto-dashboard"] .doge-panel {
  width: 100% !important;
  padding: 16px !important;
  background: var(--color-panel-bg) !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: var(--shadow-panel) !important;
  box-sizing: border-box !important;
  text-align: center !important;
  /* Position handled by parent container */
  z-index: 1 !important;
  /* Allow content to be fully visible */
  overflow: visible !important;
  position: relative !important;
  /* Ensure minimum height for content */
  min-height: auto !important;
  /* Remove any transforms or offsets */
  transform: none !important;
  margin: 0 !important;
  margin-bottom: 16px !important;
}

/* ===== DOGECOIN PANEL LAYOUT FIXES ===== */
body[data-layout="crypto-dashboard"] .doge-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 16px !important;
  margin: 0 !important;
  transform: none !important;
}

body[data-layout="crypto-dashboard"] .doge-price-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px !important;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  transform: none !important;
}

body[data-layout="crypto-dashboard"] .doge-price-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 136, 0.05) 50%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

body[data-layout="crypto-dashboard"] .doge-price-section:hover::before {
  opacity: 1 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-doge-icon {
  font-size: 32px !important;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6)) !important;
  animation: cosmic-doge-wag 2s ease-in-out infinite !important;
}

body[data-layout="crypto-dashboard"] .cosmic-doge-value {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
}

body[data-layout="crypto-dashboard"] .cosmic-value-currency {
  color: #00ff88 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
}

body[data-layout="crypto-dashboard"] .cosmic-value-number {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6) !important;
  font-family: 'Share Tech Mono', monospace !important;
}

body[data-layout="crypto-dashboard"] .cosmic-doge-change {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body[data-layout="crypto-dashboard"] .cosmic-change-arrow {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #00ff88 !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
}

body[data-layout="crypto-dashboard"] .cosmic-change-value {
  color: #00ff88 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.4) !important;
}

body[data-layout="crypto-dashboard"] .doge-sentiment-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 20px !important;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* ===== BITCOIN DOMINANCE PANEL FIXES ===== */
body[data-layout="crypto-dashboard"] .dominance-panel {
  min-height: auto !important;
  padding: 10px !important; /* Reduced padding */
  padding-bottom: 10px !important; /* Reduced padding */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  transform: none !important;
}

body[data-layout="crypto-dashboard"] .dominance-panel .cosmic-btc-value {
  margin-bottom: 5px !important; /* Reduced margin */
}

body[data-layout="crypto-dashboard"] .dominance-panel .cosmic-value-number {
  font-size: 2.5rem !important; /* Reduced font size */
  line-height: 1.1 !important; /* Reduced line height */
  margin-bottom: 2px !important; /* Reduced margin */
}

body[data-layout="crypto-dashboard"] .dominance-panel .cosmic-value-percent {
  font-size: 1.6rem !important; /* Reduced font size */
  line-height: 1.1 !important; /* Reduced line height */
}

/* ===== SENTIMENT METRICS LAYOUT FIXES ===== */
body[data-layout="crypto-dashboard"] .sentiment-metrics {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 8px 0 !important;
}

body[data-layout="crypto-dashboard"] .sentiment-metrics > div {
  flex: 1 !important;
  text-align: center !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body[data-layout="crypto-dashboard"] .sentiment-title {
  margin: 0 0 16px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--color-text-primary) !important;
}

/* ===== CUSTOM ETH PRICE STYLING ===== */
body[data-layout="crypto-dashboard"] .custom-eth-price {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(51, 65, 85, 0.6) 100%) !important;
  border: 2px solid rgba(71, 85, 105, 0.6) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-center { justify-content: center !important; align-items: center !important; }
.flex-between { justify-content: space-between !important; }

.hidden { display: none !important; }
.visible { display: block !important; }

.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-90 { opacity: 0.9 !important; }

/* ===== COMMON COMPONENTS ===== */
.panel {
  background: var(--color-panel-bg) !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: var(--shadow-panel) !important;
  padding: var(--gap-panel) !important;
}

.panel-alt {
  background: var(--color-panel-bg-alt) !important;
  border: 1px solid var(--color-panel-border) !important;
  border-radius: var(--radius-panel) !important;
}

.btn {
  background: var(--color-btn-bg) !important;
  border: 1px solid var(--color-btn-border) !important;
  border-radius: var(--radius-btn) !important;
  color: var(--color-btn-text) !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

.btn:hover {
  background: var(--color-btn-bg-hover) !important;
  border-color: var(--color-btn-border-hover) !important;
}

.btn:focus {
  box-shadow: var(--shadow-btn-focus) !important;
  outline: none !important;
}

/* ===== DISCO THEME COLORS ===== */
.disco-primary { background: linear-gradient(135deg, #ff00ff 0%, #00ffff 25%, #ffff00 50%, #ff0080 75%, #8000ff 100%) !important; }
.disco-glow { box-shadow: 0 4px 20px rgba(255, 0, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4), 0 0 40px rgba(255, 255, 0, 0.3) !important; }
.disco-text { color: #fff !important; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important; }

/* ===== VISUALIZER THEMES ===== */
.theme-rising { 
  --visualizer-primary: #00ff88 !important;
  --visualizer-secondary: #00d4ff !important;
  --visualizer-accent: #00ff66 !important;
}

.theme-falling { 
  --visualizer-primary: #ff4444 !important;
  --visualizer-secondary: #ff0066 !important;
  --visualizer-accent: #ff0000 !important;
}

.theme-neutral { 
  --visualizer-primary: #ffe600 !important;
  --visualizer-secondary: #ff6b35 !important;
  --visualizer-accent: #ff0066 !important;
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

/* ===== PRINT STYLES ===== */
@media print {
  .no-print { display: none !important; }
  body { background: white !important; color: black !important; }
}

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

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-gradient1: rgba(11, 27, 61, 0.8);
    --color-bg-gradient2: rgba(109, 40, 217, 0.8);
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --color-text: #000000;
    --color-bg-gradient1: rgba(255, 255, 255, 0.9);
    --color-bg-gradient2: rgba(255, 255, 255, 0.9);
  }
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  body[data-layout="crypto-dashboard"] {
    padding: 12px !important;
  }
  
  body[data-layout="crypto-dashboard"] .left-column {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    left: 12px !important;
    top: 12px !important;
    gap: 12px !important;
  }
  
  body[data-layout="crypto-dashboard"] .container {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    padding: 20px 12px !important;
  }
  
  body[data-layout="crypto-dashboard"] .news-panel {
    display: none !important;
  }
  
  body[data-layout="crypto-dashboard"] .news-toggle-btn {
    display: none !important;
  }
  
  /* Mobile Panel Improvements */
  body[data-layout="crypto-dashboard"] .dominance-panel,
  body[data-layout="crypto-dashboard"] .sentiment-panel,
  body[data-layout="crypto-dashboard"] .oi-panel,
  body[data-layout="crypto-dashboard"] .doge-panel {
    margin-bottom: 16px !important;
    padding: 20px !important;
    border-radius: 16px !important;
  }
  
  /* Mobile Typography */
  body[data-layout="crypto-dashboard"] .sentiment-title,
  body[data-layout="crypto-dashboard"] .oi-title,
  body[data-layout="crypto-dashboard"] .dominance-title,
  body[data-layout="crypto-dashboard"] .doge-header-title {
    font-size: 18px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Mobile Sentiment Bars */
  body[data-layout="crypto-dashboard"] .sentiment-bar {
    height: 24px !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
  }
  
  body[data-layout="crypto-dashboard"] .sentiment-metrics {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  
  /* Mobile Open Interest */
  body[data-layout="crypto-dashboard"] .oi-value {
    font-size: 24px !important;
    margin: 16px 0 !important;
    text-align: center !important;
  }
  
  body[data-layout="crypto-dashboard"] .oi-sub {
    font-size: 14px !important;
    text-align: center !important;
    margin-bottom: 16px !important;
  }
  
  /* Mobile Spark Charts */
  body[data-layout="crypto-dashboard"] .oi-spark-row {
    margin-bottom: 16px !important;
  }
  
  body[data-layout="crypto-dashboard"] .oi-spark-label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }
  
  body[data-layout="crypto-dashboard"] .oi-spark-canvas {
    width: 100% !important;
    height: 32px !important;
  }
  
  /* Mobile Disclaimer */
  body[data-layout="crypto-dashboard"] .disclaimer {
    font-size: 12px !important;
    text-align: center !important;
    margin-top: 12px !important;
    opacity: 0.8 !important;
  }
  
  /* Mobile Asset Headers */
  body[data-layout="crypto-dashboard"] .asset-header,
  body[data-layout="crypto-dashboard"] .doge-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding: 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
  }
  
  body[data-layout="crypto-dashboard"] .asset-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  body[data-layout="crypto-dashboard"] .asset-header-title,
  body[data-layout="crypto-dashboard"] .doge-header-title {
    font-size: 20px !important;
    font-weight: 600 !important;
  }
  
  /* Mobile Widget Improvements */
  body[data-layout="crypto-dashboard"] .widget-scale {
    margin-bottom: 20px !important;
  }
  
  /* Mobile TradingView Widgets */
  body[data-layout="crypto-dashboard"] .tradingview-widget-container {
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  /* Mobile Value Display */
  body[data-layout="crypto-dashboard"] .value {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--color-text-meta-strong) !important;
  }
  
  /* Mobile Panel Shadows */
  body[data-layout="crypto-dashboard"] .dominance-panel,
  body[data-layout="crypto-dashboard"] .sentiment-panel,
  body[data-layout="crypto-dashboard"] .oi-panel,
  body[data-layout="crypto-dashboard"] .doge-panel {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  /* Mobile Text Contrast */
  body[data-layout="crypto-dashboard"] .sentiment-metrics div,
  body[data-layout="crypto-dashboard"] .oi-sub,
  body[data-layout="crypto-dashboard"] .disclaimer {
    color: var(--color-text-meta) !important;
    line-height: 1.4 !important;
  }
  
  /* Mobile Touch Targets */
  body[data-layout="crypto-dashboard"] .btn,
  body[data-layout="crypto-dashboard"] button {
    min-height: 44px !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
}

/* ===== CSS CONFLICT PREVENTION ===== */
/* These rules ensure our layout system takes precedence */
body[data-layout="crypto-dashboard"] * {
  box-sizing: border-box !important;
}

body[data-layout="crypto-dashboard"] .left-column,
body[data-layout="crypto-dashboard"] .container,
body[data-layout="crypto-dashboard"] .news-section {
  position: relative !important;
  z-index: var(--z-widgets) !important;
}

/* ===== DEBUG MODE (can be enabled for troubleshooting) ===== */
body[data-layout="crypto-dashboard"][data-debug="true"] .left-column {
  border: 2px solid red !important;
}

body[data-layout="crypto-dashboard"][data-debug="true"] .container {
  border: 2px solid green !important;
}

body[data-layout="crypto-dashboard"][data-debug="true"] .news-section {
  border: 2px solid blue !important;
}

/* ===== COSMIC LOADER - THE GOD TOUCH ===== */
.cosmic-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #330066 50%, #6600cc 75%, #9900ff 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cosmic-fade-in 0.5s ease-out;
}

.cosmic-center {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.cosmic-logo {
  font-size: 8rem;
  margin-bottom: 2rem;
  animation: cosmic-rocket-bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
}

.cosmic-title {
  font-size: 1rem; /* Further reduced font size */
  font-weight: 900;
  margin-bottom: 0.5rem; /* Reduced margin */
  background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff0080);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cosmic-gradient-shift 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.cosmic-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #bcd4ff;
  animation: cosmic-fade-pulse 2s ease-in-out infinite;
}

.cosmic-loading-bar {
  width: 400px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto 2rem;
  overflow: hidden;
  position: relative;
}

.cosmic-loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff0080);
  background-size: 400% 100%;
  animation: cosmic-loading-progress 3s ease-in-out infinite, cosmic-gradient-shift 2s ease-in-out infinite;
  border-radius: 4px;
}

.cosmic-loading-text {
  font-size: 1.2rem;
  color: #cfe3ff;
  animation: cosmic-text-glow 2s ease-in-out infinite;
}

.cosmic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.cosmic-particles::before,
.cosmic-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: cosmic-particle-float 6s linear infinite;
}

.cosmic-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.cosmic-particles::after {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
  animation-duration: 10s;
}

/* ===== COSMIC ANIMATIONS ===== */
@keyframes cosmic-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cosmic-rocket-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
  75% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes cosmic-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cosmic-fade-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes cosmic-loading-progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes cosmic-text-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(207, 227, 255, 0.5); }
  50% { text-shadow: 0 0 20px rgba(207, 227, 255, 0.8), 0 0 30px rgba(207, 227, 255, 0.6); }
}

@keyframes cosmic-particle-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ===== FLOATING COSMIC ELEMENTS ===== */
body[data-layout="crypto-dashboard"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent);
  z-index: 9998;
  pointer-events: none;
  animation: cosmic-wave 3s infinite linear;
}

body[data-layout="crypto-dashboard"]::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.5), transparent);
  z-index: 9998;
  pointer-events: none;
  animation: cosmic-wave-reverse 2s infinite linear;
}

/* ===== COSMIC WAVE ANIMATIONS ===== */
@keyframes cosmic-wave {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes cosmic-wave-reverse {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== ENHANCED PANEL ANIMATIONS ===== */
body[data-layout="crypto-dashboard"] .dominance-panel,
body[data-layout="crypto-dashboard"] .sentiment-panel,
body[data-layout="crypto-dashboard"] .oi-panel,
body[data-layout="crypto-dashboard"] .doge-panel {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: cosmic-panel-enter 0.6s ease-out !important;
}

body[data-layout="crypto-dashboard"] .dominance-panel:hover,
body[data-layout="crypto-dashboard"] .sentiment-panel:hover,
body[data-layout="crypto-dashboard"] .oi-panel:hover,
body[data-layout="crypto-dashboard"] .doge-panel:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

@keyframes cosmic-panel-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== ENHANCED ETH PRICE ANIMATIONS ===== */
body[data-layout="crypto-dashboard"] .custom-eth-price {
  animation: cosmic-eth-glow 4s ease-in-out infinite !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body[data-layout="crypto-dashboard"] .custom-eth-price:hover {
  transform: scale(1.02) !important;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 30px rgba(255, 255, 255, 0.1) !important;
}

@keyframes cosmic-eth-glow {
  0%, 100% { 
    box-shadow: 
      0 15px 50px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(0, 255, 136, 0.2),
      inset 0 0 20px rgba(0, 255, 136, 0.1);
  }
  50% { 
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(0, 255, 136, 0.3),
      inset 0 0 20px rgba(0, 255, 136, 0.15);
  }
}

/* ===== COSMIC BUTTON ENHANCEMENTS ===== */
body[data-layout="crypto-dashboard"] .btn,
body[data-layout="crypto-dashboard"] button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body[data-layout="crypto-dashboard"] .btn::before,
body[data-layout="crypto-dashboard"] button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

body[data-layout="crypto-dashboard"] .btn:hover::before,
body[data-layout="crypto-dashboard"] button:hover::before {
  left: 100%;
}

body[data-layout="crypto-dashboard"] .btn:hover,
body[data-layout="crypto-dashboard"] button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

/* ===== COSMIC TEXT ENHANCEMENTS ===== */
body[data-layout="crypto-dashboard"] .cosmic-title,
body[data-layout="crypto-dashboard"] .cosmic-subtitle {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: cosmic-text-shimmer 3s ease-in-out infinite;
}

@keyframes cosmic-text-shimmer {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); }
}

/* ===== COSMIC SCROLLBAR ===== */
body[data-layout="crypto-dashboard"] ::-webkit-scrollbar {
  width: 12px;
}

body[data-layout="crypto-dashboard"] ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

body[data-layout="crypto-dashboard"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff00ff, #00ffff, #ffff00);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

body[data-layout="crypto-dashboard"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff0080, #00d4ff, #ff6b35);
}

/* ===== COSMIC SELECTION ===== */
body[data-layout="crypto-dashboard"] ::selection {
  background: rgba(255, 0, 255, 0.3);
  color: white;
}

body[data-layout="crypto-dashboard"] ::-moz-selection {
  background: rgba(255, 0, 255, 0.3);
  color: white;
}

/* ===== COSMIC FOCUS EFFECTS ===== */
body[data-layout="crypto-dashboard"] .btn:focus,
body[data-layout="crypto-dashboard"] button:focus {
  outline: none !important;
  box-shadow: 
    0 0 0 3px rgba(255, 0, 255, 0.3),
    0 0 20px rgba(255, 0, 255, 0.2) !important;
  transform: scale(1.05) !important;
}

/* ===== COSMIC LOADING COMPLETE ===== */
.cosmic-loader.loading-complete {
  animation: cosmic-fade-out 1s ease-in-out forwards;
}

@keyframes cosmic-fade-out {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.1); pointer-events: none; }
}

/* ===== COSMIC RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .cosmic-title {
    font-size: 0.75rem !important; /* Reduced from 2.5rem to 0.75rem (0.3x) */
  }
  
  .cosmic-subtitle {
    font-size: 1.2rem !important;
  }
  
  .cosmic-loading-bar {
    width: 300px !important;
  }
  
  body[data-layout="crypto-dashboard"]::before,
  body[data-layout="crypto-dashboard"]::after {
    display: none !important;
  }
}

/* ===== COSMIC ACHIEVEMENT SYSTEM - THE FINAL GOD TOUCH ===== */
.cosmic-achievements {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 10000;
	pointer-events: none;
}

.achievement {
	display: flex;
	align-items: center;
	gap: 15px;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.9));
	border: 2px solid transparent;
	border-radius: 15px;
	padding: 15px 20px;
	margin-bottom: 15px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transform: translateX(-400px);
	opacity: 0;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.achievement.show {
	transform: translateX(0);
	opacity: 1;
}

.achievement.complete {
	border-color: #00ff88;
	box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3), 0 0 20px rgba(0, 255, 136, 0.2);
	animation: achievement-complete 0.8s ease-out;
}

.achievement-icon {
	font-size: 2.5rem;
	animation: achievement-icon-bounce 2s ease-in-out infinite;
}

.achievement-text {
	color: white;
}

.achievement-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 5px;
	background: linear-gradient(45deg, #00ff88, #00d4ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.achievement-desc {
	font-size: 0.9rem;
	color: #bcd4ff;
	opacity: 0.8;
}

/* ===== ACHIEVEMENT ANIMATIONS ===== */
@keyframes achievement-complete {
	0% {
		transform: translateX(0) scale(1);
	}
	25% {
		transform: translateX(0) scale(1.1);
	}
	50% {
		transform: translateX(0) scale(1.05);
	}
	100% {
		transform: translateX(0) scale(1);
	}
}

@keyframes achievement-icon-bounce {
	0%, 100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-5px) scale(1.1);
	}
}

/* ===== ACHIEVEMENT TRIGGERS ===== */
.achievement[data-achievement="first-visit"] {
	animation-delay: 0s;
}

.achievement[data-achievement="music-player"] {
	animation-delay: 0.2s;
}

.achievement[data-achievement="visualizer"] {
	animation-delay: 0.4s;
}

/* ===== ACHIEVEMENT RESPONSIVE ===== */
@media (max-width: 768px) {
	.cosmic-achievements {
		top: 10px;
		left: 10px;
		right: 10px;
	}
	
	.achievement {
		padding: 12px 16px;
		margin-bottom: 10px;
	}
	
	.achievement-icon {
		font-size: 2rem;
	}
	
	.achievement-title {
		font-size: 1rem;
	}
	
	.achievement-desc {
		font-size: 0.8rem;
	}
}

/* ===== COSMIC CRYPTO PANELS - PURE SPACE VIBES ===== */
.cosmic-panel {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(30, 30, 30, 0.8)) !important;
	border: 2px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
	backdrop-filter: blur(15px) !important;
	-webkit-backdrop-filter: blur(15px) !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cosmic-panel:hover {
	transform: translateY(-8px) scale(1.02) !important;
	border-color: rgba(0, 255, 136, 0.3) !important;
	box-shadow: 
		0 15px 40px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(0, 255, 136, 0.1),
		0 0 30px rgba(0, 255, 136, 0.1) !important;
}

.cosmic-title {
	background: linear-gradient(45deg, #00ff88, #00d4ff, #ff6b35) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	font-weight: 700 !important;
	text-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;
	animation: cosmic-title-glow 3s ease-in-out infinite !important;
}

@keyframes cosmic-title-glow {
	0%, 100% { filter: brightness(1) saturate(1); }
	50% { filter: brightness(1.2) saturate(1.3); }
}

/* ===== COSMIC BTC DOMINANCE ===== */
.cosmic-btc-dominance {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px; /* Reduced from 15px to 12px (80%) */
	padding: 16px; /* Reduced from 20px to 16px (80%) */
	text-align: center;
}

.cosmic-btc-icon {
	font-size: 0.792rem; /* Reduced from 2.4rem to 0.792rem (0.33x) */
	color: #f7931a;
	text-shadow: 0 0 20px rgba(247, 147, 26, 0.6);
	animation: cosmic-btc-pulse 2s ease-in-out infinite;
}

@keyframes cosmic-btc-pulse {
	0%, 100% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.1); opacity: 1; }
}

.cosmic-btc-value {
	display: flex;
	align-items: baseline;
	gap: 4px; /* Reduced from 5px to 4px (80%) */
}

.cosmic-value-number {
	font-size: 0.66rem; /* Reduced from 2rem to 0.66rem (0.33x) */
	font-weight: 900;
	color: #ffffff;
	text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.cosmic-value-percent {
	font-size: 0.396rem; /* Reduced from 1.2rem to 0.396rem (0.33x) */
	color: #00ff88;
	font-weight: 600;
}

.cosmic-btc-change {
	display: flex;
	align-items: center;
	gap: 6px; /* Reduced from 8px to 6px (80%) */
	font-size: 0.33rem; /* Reduced from 1rem to 0.33rem (0.33x) */
}

.cosmic-change-arrow {
	font-size: 0.396rem; /* Reduced from 1.2rem to 0.396rem (0.33x) */
	color: #00ff88;
	animation: cosmic-arrow-bounce 1.5s ease-in-out infinite;
}

.cosmic-change-value {
	color: #00ff88;
	font-weight: 600;
}

@keyframes cosmic-arrow-bounce {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(5px); }
}

.cosmic-btc-chart {
	width: 100%;
	height: 32px; /* Reduced from 40px to 32px (80%) */
	background: rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(0, 255, 136, 0.2);
}

/* ===== COSMIC DOGE PRICE ===== */
.cosmic-doge-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 20px;
	text-align: center;
}

.cosmic-doge-icon {
	font-size: 3rem;
	animation: cosmic-doge-wag 2s ease-in-out infinite;
}

@keyframes cosmic-doge-wag {
	0%, 100% { transform: rotate(-5deg); }
	50% { transform: rotate(5deg); }
}

.cosmic-doge-value {
	display: flex;
	align-items: baseline;
	gap: 5px;
}

.cosmic-value-currency {
	font-size: 1.5rem;
	color: #00ff88;
	font-weight: 600;
}



/* ===== COSMIC SENTIMENT ===== */
.cosmic-sentiment {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(30, 30, 30, 0.7)) !important;
	border: 1px solid rgba(0, 255, 136, 0.2) !important;
}

.cosmic-value {
	color: #00ff88 !important;
	font-weight: 700 !important;
	text-shadow: 0 0 10px rgba(0, 255, 136, 0.3) !important;
}

.cosmic-sentiment-bar {
	border: 1px solid rgba(0, 255, 136, 0.3) !important;
	background: rgba(0, 0, 0, 0.4) !important;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

.cosmic-sentiment-bar .sentiment-bar-long {
	background: linear-gradient(90deg, #00ff88, #00d4ff) !important;
	box-shadow: 0 0 10px rgba(0, 255, 136, 0.4) !important;
}

.cosmic-sentiment-bar .sentiment-bar-short {
	background: linear-gradient(90deg, #ff4444, #ff0066) !important;
	box-shadow: 0 0 10px rgba(255, 68, 68, 0.4) !important;
}

/* ===== COSMIC PANEL RESPONSIVE ===== */
@media (max-width: 768px) {
	.cosmic-panel {
		padding: 16px !important;
	}
	
	.cosmic-btc-icon,
	.cosmic-doge-icon {
		font-size: 2.5rem !important;
	}
	
	.cosmic-value-number {
		font-size: 2rem !important;
	}
	
	.cosmic-btc-chart {
		height: 30px !important;
	}
}

/* ===== COSMIC PANEL ENHANCEMENTS ===== */
body[data-layout="crypto-dashboard"] .cosmic-panel {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%) !important;
  border: 2px solid rgba(0, 255, 136, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 136, 0.1),
    inset 0 0 20px rgba(0, 255, 136, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

body[data-layout="crypto-dashboard"] .cosmic-panel::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 136, 0.05) 50%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

body[data-layout="crypto-dashboard"] .cosmic-panel:hover::before {
  opacity: 1 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-panel:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 255, 136, 0.2),
    inset 0 0 20px rgba(0, 255, 136, 0.1) !important;
  border-color: rgba(0, 255, 136, 0.5) !important;
}

/* ===== COSMIC TITLE STYLING ===== */
body[data-layout="crypto-dashboard"] .cosmic-title {
  color: #00ff88 !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6) !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  position: relative !important;
}

body[data-layout="crypto-dashboard"] .cosmic-title::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #00ff88 0%, transparent 100%) !important;
  border-radius: 1px !important;
}

/* ===== COSMIC SENTIMENT METRICS ===== */
body[data-layout="crypto-dashboard"] .cosmic-sentiment-metrics {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 16px 0 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-metric-item {
  flex: 1 !important;
  text-align: center !important;
  padding: 12px !important;
  background: rgba(0, 255, 136, 0.1) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 255, 136, 0.2) !important;
  transition: all 0.3s ease !important;
}

body[data-layout="crypto-dashboard"] .cosmic-metric-item:hover {
  background: rgba(0, 255, 136, 0.15) !important;
  border-color: rgba(0, 255, 136, 0.4) !important;
  transform: translateY(-1px) !important;
}

body[data-layout="crypto-dashboard"] .metric-label {
  display: block !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body[data-layout="crypto-dashboard"] .cosmic-value {
  color: #00ff88 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
}

/* ===== COSMIC SENTIMENT BAR ===== */
body[data-layout="crypto-dashboard"] .cosmic-sentiment-bar {
  height: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  margin: 16px 0 !important;
  position: relative !important;
}

body[data-layout="crypto-dashboard"] .cosmic-sentiment-bar::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, rgba(255, 68, 68, 0.1) 100%) !important;
  border-radius: 4px !important;
}

body[data-layout="crypto-dashboard"] .sentiment-bar-long {
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%) !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4) !important;
  transition: all 0.3s ease !important;
}

body[data-layout="crypto-dashboard"] .sentiment-bar-short {
  background: linear-gradient(90deg, #ff4444 0%, #ff0066 100%) !important;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* ===== COSMIC OPEN INTEREST STYLING ===== */
body[data-layout="crypto-dashboard"] .cosmic-oi-value {
  text-align: center !important;
  margin: 16px 0 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-oi-number {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #00ff88 !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4) !important;
}

body[data-layout="crypto-dashboard"] .cosmic-oi-unit {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-left: 8px !important;
  opacity: 0.8 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-oi-sub {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  margin-bottom: 16px !important;
}

body[data-layout="crypto-dashboard"] .cosmic-oi-usd,
body[data-layout="crypto-dashboard"] .cosmic-oi-mark {
  color: #00ff88 !important;
  font-weight: 600 !important;
}

/* ===== COSMIC SPARKLINE STYLING - SIMPLIFIED ===== */
body[data-layout="crypto-dashboard"] .cosmic-oi-spark {
  margin-top: 12px !important;
  padding: 8px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 255, 136, 0.1) !important;
}

body[data-layout="crypto-dashboard"] .cosmic-spark-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
  padding: 4px !important;
}

body[data-layout="crypto-dashboard"] .cosmic-spark-row:last-child {
  margin-bottom: 0 !important;
}

body[data-layout="crypto-dashboard"] .cosmic-spark-label {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  min-width: 20px !important;
  text-align: center !important;
}

body[data-layout="crypto-dashboard"] .cosmic-spark-canvas {
  border-radius: 4px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(0, 255, 136, 0.15) !important;
  height: 20px !important;
  width: 100% !important;
  max-width: 180px !important;
}

/* ===== COSMIC DISCLAIMER ===== */
body[data-layout="crypto-dashboard"] .cosmic-disclaimer {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  font-style: italic !important;
  margin-top: 12px !important;
  padding: 8px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ===== COSMIC ANIMATIONS ===== */
@keyframes cosmic-panel-glow {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(0, 255, 136, 0.1),
      inset 0 0 20px rgba(0, 255, 136, 0.05);
  }
  50% {
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(0, 255, 136, 0.2),
      inset 0 0 20px rgba(0, 255, 136, 0.1);
  }
}

body[data-layout="crypto-dashboard"] .cosmic-panel {
  animation: cosmic-panel-glow 4s ease-in-out infinite !important;
}

/* ===== DOGECOIN ANIMATIONS ===== */
@keyframes cosmic-doge-wag {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  75% {
    transform: rotate(5deg) scale(1.05);
  }
}

/* ===== NUCLEAR WINAMP VISIBILITY - NEVER HIDE THE CORE! ===== */
body[data-layout="crypto-dashboard"] #winamp-yt-player {
  position: fixed !important;
  bottom: 30px !important; /* Increased from 20px for better spacing */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 340px !important;
  height: 200px !important;
  pointer-events: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  filter: none !important;
  transform-origin: center bottom !important;
}

/* Force Winamp to be above everything */
body[data-layout="crypto-dashboard"] #winamp-yt-player,
body[data-layout="crypto-dashboard"] #winamp-yt-player * {
  z-index: 99999 !important;
  position: relative !important;
}

/* Ensure Winamp controls are clickable */
body[data-layout="crypto-dashboard"] #winamp-yt-player button,
body[data-layout="crypto-dashboard"] #winamp-yt-player .winamp-external-play {
  z-index: 100000 !important;
  position: relative !important;
  pointer-events: auto !important;
}

/* Nuclear option - force show Winamp even if hidden by other CSS */
body[data-layout="crypto-dashboard"] #winamp-yt-player.cosmic-winamp {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  width: 340px !important;
  height: 200px !important;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
  border: 2px solid #ffe600 !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 4px 16px rgba(255, 230, 0, 0.2), 0 0 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(0, 0, 0, 0.8) !important;
  font-family: 'Share Tech Mono', 'Consolas', monospace !important;
  color: #ffe600 !important;
  padding: 0 !important;
  user-select: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* ===== ETH CONTAINER CENTERING FIX ===== */
body[data-layout="crypto-dashboard"] .container[aria-label="Ethereum Price Information"] {
  position: fixed !important;
  top: 42% !important; /* Adjusted for better vertical alignment with Winamp */
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.9) !important; /* Scaled down to 90% */
  z-index: 500 !important;
  width: 400px !important;
  max-width: 90vw !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 40, 0.95) 100%) !important;
  border: 2px solid rgba(0, 255, 136, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 255, 136, 0.2),
    inset 0 0 20px rgba(0, 255, 136, 0.05) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  padding: 28px !important; /* Slightly reduced padding */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: visible !important;
  margin: 0 auto !important; /* Ensure horizontal centering */
}

/* Ensure ETH container is above visualizer but below Winamp */
body[data-layout="crypto-dashboard"] .container[aria-label="Ethereum Price Information"] * {
  z-index: 501 !important;
  position: relative !important;
}

/* Force show ETH container */
body[data-layout="crypto-dashboard"] .container[aria-label="Ethereum Price Information"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ===== NUCLEAR SPACE BUTTON RESCUE - NEVER HIDE THE SPACE BUTTON! ===== */
body[data-layout="crypto-dashboard"] #visualizer-toggle-big {
  position: fixed !important;
  bottom: 24px !important; /* Moved to bottom corner */
  right: 324px !important; /* Shifted +300px right from 24px */
  z-index: 99999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100px !important; /* EXACTLY 100px as requested! */
  height: auto !important;
  min-width: 100px !important; /* Force minimum width to 100px */
  min-height: 45px !important;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff) !important;
  background-size: 400% 400% !important;
  border: 2px solid #fff !important;
  border-radius: 12px !important;
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 255, 255, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.1) !important;
  color: #000 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  font-family: 'Share Tech Mono', monospace !important;
  text-align: center !important;
  padding: 10px 18px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  filter: none !important;
  transform: none !important;
  animation: cosmic-gradient-shift 3s ease infinite !important;
}

/* Force show SPACE button even if hidden by other CSS */
body[data-layout="crypto-dashboard"] #visualizer-toggle-big.visualizer-toggle-big {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  bottom: 24px !important; /* Moved to bottom corner */
  right: 324px !important; /* Shifted +300px right from 24px */
  z-index: 99999 !important;
}

/* Hover effects for SPACE button */
body[data-layout="crypto-dashboard"] #visualizer-toggle-big:hover {
  transform: scale(1.05) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 255, 255, 0.4),
    0 0 80px rgba(255, 255, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

/* Active state for SPACE button */
body[data-layout="crypto-dashboard"] #visualizer-toggle-big:active {
  transform: scale(0.95) !important;
}

/* ===== ENHANCED VISUALIZER BARS ===== */
body[data-layout="crypto-dashboard"] .visualizer-row {
  position: fixed !important;
  bottom: 240px !important; /* Increased from 220px to give more space */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 200 !important;
  display: flex !important;
  gap: 6px !important; /* Increased gap between bars */
  align-items: flex-end !important;
  justify-content: center !important;
  width: 70vw !important; /* Reduced from 80vw to make it less overwhelming */
  max-width: 700px !important; /* Reduced from 800px */
  pointer-events: none !important;
}

body[data-layout="crypto-dashboard"] .visualizer-bar {
  width: 16px;
  margin: 0 2px;
  border-radius: 8px 8px 16px 16px;
  background: linear-gradient(180deg, rgba(0,255,255,0.85) 0%, rgba(0,0,0,0.1) 100%), linear-gradient(90deg, #00ffea 0%, #a259ff 100%);
  box-shadow:
    0 0 16px 4px #00fff7,
    0 0 32px 8px #a259ff,
    0 0 8px 2px #fff;
  opacity: 0.7;
  position: relative;
  animation: space-bar-shimmer 2.2s infinite linear;
}

@keyframes space-bar-shimmer {
  0% { filter: brightness(1.1) drop-shadow(0 0 8px #00fff7); }
  50% { filter: brightness(1.5) drop-shadow(0 0 16px #a259ff); }
  100% { filter: brightness(1.1) drop-shadow(0 0 8px #00fff7); }
}

/* Enhanced hole visualizer */
body[data-layout="crypto-dashboard"] .hole-container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 150 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
}

body[data-layout="crypto-dashboard"] .hole-layer {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  border: 2px solid rgba(0, 255, 136, 0.3) !important;
  border-radius: 50% !important;
  animation: hole-pulse 4s ease-in-out infinite !important;
}

body[data-layout="crypto-dashboard"] .hole-core {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100px !important;
  height: 100px !important;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.8), rgba(0, 204, 255, 0.4)) !important;
  border-radius: 50% !important;
  animation: hole-core-spin 10s linear infinite !important;
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.6) !important;
}

/* ===== MISSING ANIMATIONS - BABY ONE MORE TIME! ===== */
@keyframes cosmic-bar-dance {
  0% { 
    transform: scaleY(0.8); 
    opacity: 0.7; 
  }
  100% { 
    transform: scaleY(1.2); 
    opacity: 1; 
  }
}

@keyframes hole-pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

@keyframes hole-core-spin {
  0% { 
    transform: translate(-50%, -50%) rotate(0deg); 
  }
  100% { 
    transform: translate(-50%, -50%) rotate(360deg); 
  }
}

/* ===== OPEN INTEREST PANEL - COMPACT & SIMPLE ===== */
body[data-layout="crypto-dashboard"] .oi-panel {
  padding: 16px !important;
  margin-bottom: 16px !important;
}

body[data-layout="crypto-dashboard"] .oi-title {
  margin: 0 0 12px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #00ff88 !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4) !important;
}

body[data-layout="crypto-dashboard"] .oi-value {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 12px 0 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

body[data-layout="crypto-dashboard"] .oi-sub {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.3 !important;
}

body[data-layout="crypto-dashboard"] .container[aria-label="Ethereum Price Information"] {
  opacity: 0.66 !important;
}

body[data-layout="crypto-dashboard"]::before,
body[data-layout="crypto-dashboard"]::after {
  display: none !important;
}

/* ===== COMPLETELY HIDE TOP GLOWING EFFECTS ===== */
body[data-layout="crypto-dashboard"]::before,
body[data-layout="crypto-dashboard"]::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* Nuclear option - force hide any remaining top effects */
body[data-layout="crypto-dashboard"] *[style*="top: 0"],
body[data-layout="crypto-dashboard"] *[style*="top:0"],
body[data-layout="crypto-dashboard"] *[style*="top: 0px"],
body[data-layout="crypto-dashboard"] *[style*="top:0px"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
