﻿/* ==========================================================================
   X9Capital Modern FinTech Visual Styling System
   ========================================================================== */

/* Glassmorphism Cards & Navigation */
.x9-glass-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.x9-glass-nav {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Emerald Glowing Badges & Accents */
.x9-emerald-glow {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

.x9-emerald-pulse {
  animation: emeraldPulse 2.5s infinite;
}

@keyframes emeraldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Risk Warning Amber Card */
.x9-risk-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Custom Scrollbar for FinTech Aesthetic */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0F19;
}
::-webkit-scrollbar-thumb {
  background: #1F2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10B981;
}

/* Toast Notification Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Single Post Reading Progress Bar */
#reading-progress {
  height: 3px;
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  transition: width 0.1s ease-out;
}