/* ===================================================
   Pandora Dashboard — Dark Luxury 3D Theme
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg:         #060714;
  --surface:    rgba(12, 14, 32, 0.75);
  --surface2:   rgba(18, 20, 45, 0.85);
  --border:     rgba(255, 255, 255, 0.07);
  --border-glow:rgba(139, 92, 246, 0.35);
  --text:       #c8cade;
  --muted:      #555872;
  --title:      #f0f0ff;

  --violet:     #7c3aed;
  --cyan:       #06b6d4;
  --rose:       #f43f5e;
  --gold:       #f59e0b;
  --emerald:    #10b981;
  --indigo:     #4f46e5;

  --glow-v:     rgba(124, 58, 237, 0.4);
  --glow-c:     rgba(6, 182, 212, 0.3);

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --sidebar-w:  270px;
  --font:       'Space Grotesk', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 99px; opacity: 0.5; }

/* ---- BACKGROUND BLOBS ---- */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18;
  will-change: transform;
}
.blob-1 { width: 700px; height: 700px; background: var(--violet); top: -200px; left: -150px; animation: blobFloat1 22s ease-in-out infinite; }
.blob-2 { width: 550px; height: 550px; background: var(--cyan); bottom: -100px; right: -100px; animation: blobFloat2 28s ease-in-out infinite; }
.blob-3 { width: 400px; height: 400px; background: var(--rose); top: 40%; left: 50%; animation: blobFloat3 18s ease-in-out infinite; }
@keyframes blobFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(120px,80px) scale(1.15)} }
@keyframes blobFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-80px,-60px) scale(1.1)} }
@keyframes blobFloat3 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-60px,80px) scale(0.9)} 66%{transform:translate(50px,-40px) scale(1.05)} }

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px var(--glow-v), 0 1px 0 rgba(255,255,255,0.08) inset;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---- UTILITY ---- */
.mt-4 { margin-top: 16px; }
.text-center { text-align: center; }
