/* ═══════════════════════════════════════════
   Foxflame — custom dashboard theme
   ═══════════════════════════════════════════ */

/* ── Page background ──────────────────────── */
html, body, #__next {
  background-color: #09070f !important;
}

/* Nebula gradient blobs fixed behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 12% 20%, rgba(236, 72, 153, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 88% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 70%  8%, rgba(251, 113, 133, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 90%, rgba(192,  38, 211, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Keep page content above the background layer */
.container {
  position: relative;
  z-index: 1;
}

/* ── Header ───────────────────────────────── */
/* Soften the header divider to a subtle pink line */
.border-theme-800,
.dark .dark\:border-theme-200\/50 {
  border-color: rgba(236, 72, 153, 0.22) !important;
}

/* ── Service cards — glassmorphism ─────────── */
.service-card {
  background: rgba(12, 8, 24, 0.50) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(236, 72, 153, 0.13) !important;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
  transition:
    transform       0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow      0.24s ease,
    border-color    0.24s ease !important;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.015) !important;
  border-color: rgba(236, 72, 153, 0.45) !important;
  box-shadow:
    0 16px 48px rgba(236, 72, 153, 0.22),
    0 4px  16px rgba(0, 0, 0, 0.55),
    0 0   0 1px rgba(236, 72, 153, 0.22) !important;
}

/* ── Service icon — pink glow ──────────────── */
.service-icon img,
.service-icon svg {
  filter: drop-shadow(0 0 5px rgba(236, 72, 153, 0.25)) !important;
  transition: filter 0.24s ease !important;
}

.service-card:hover .service-icon img,
.service-card:hover .service-icon svg {
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.60)) !important;
}

/* ── Group headings — gradient text ────────── */
.service-group-name {
  background: linear-gradient(100deg, #f9a8d4 0%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
}

/* ── Widget containers — match card glass ──── */
.widget-container {
  background: rgba(12, 8, 24, 0.50) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(236, 72, 153, 0.11) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.50) !important;
}

/* ── Custom scrollbar ──────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: rgba(12, 8, 24, 0.60); }
::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.45);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.75);
}
