/* ==========================================================================
   Benacer Cherfaoui — Personal Branding Stylesheet
   ========================================================================== */

/* Base Reset & Aesthetics */
body {
  background-color: #040711;
  color: #94a3b8;
}

/* Ambient Lighting Background */
.ambient-bg {
  background: 
    radial-gradient(1000px circle at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
    radial-gradient(800px circle at 85% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(600px circle at 15% 45%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

/* Subtle Technical Grid Overlay */
.grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 70%, transparent 100%);
}

/* Dynamic Cursor Spotlight */
.cursor-spotlight {
  background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 25%), rgba(14, 165, 233, 0.06), transparent 60%);
  transition: background 0.05s ease-out;
}

/* Glassmorphism Interactive Cards */
.glass-panel {
  background: rgba(15, 22, 41, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(14, 165, 233, 0.38);
  background: rgba(18, 27, 49, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.15);
}

/* Static Glass Panel for Structural Cards */
.glass-panel-static {
  background: rgba(15, 22, 41, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Timeline Vertical Connecting Line */
.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, #0ea5e9 0%, rgba(14, 165, 233, 0.3) 50%, rgba(33, 48, 82, 0.4) 100%);
}

/* Subtle Badge Glow */
.badge-subtle {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

/* Text Selection Styling */
::selection {
  background-color: #0ea5e9;
  color: #ffffff;
}

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

::-webkit-scrollbar-track {
  background: #040711;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
