/* Custom Blog CSS for Getasound - Identité Sonore & Audio Branding */

:root {
  --color-primary: #4864FF;
  --color-secondary: #AD48FF;
  --color-primary-rgb: 72, 100, 255;
  --color-secondary-rgb: 173, 72, 255;
  --color-dark: #0F172A;
  --color-light: #F8FAFC;
  --font-sans: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-light);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Gradients & Glows */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-brand {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.glow-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(72, 100, 255, 0.25);
}
.glow-card:hover::before {
  opacity: 0.15;
}

/* Decorative background glowing grids */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.glow-orb-primary {
  background: var(--color-primary);
}
.glow-orb-secondary {
  background: var(--color-secondary);
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Post content styles */
.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.article-content p {
  font-size: 1.075rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #475569;
}
.article-content ul {
  list-style-type: disc;
}
.article-content ol {
  list-style-type: decimal;
}
.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: rgba(72, 100, 255, 0.05);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #334155;
}
.article-content blockquote p {
  margin-bottom: 0;
}

/* Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.16; transform: scale(1.08); }
}
.animate-pulse-glow {
  animation: pulseGlow 10s infinite alternate ease-in-out;
}
