/* ==========================================================================
   PREMIUM STYLE SHEET - STAMPS & SEALS CUSTOM STYLING (STYLES.CSS)
   ========================================================================== */

:root {
  /* HSL variables populated dynamically from config.js */
  --primary-h: 40;
  --primary-s: 48%;
  --primary-l: 56%;
  
  --accent-h: 40;
  --accent-s: 48%;
  --accent-l: 46%;

  --bg-h: 0;
  --bg-s: 0%;
  --bg-l: 3%;

  --text-h: 0;
  --text-s: 0%;
  --text-l: 92%;

  /* Color mapping */
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --bg: hsl(var(--bg-h), var(--bg-s), var(--bg-l));
  --text: hsl(var(--text-h), var(--text-s), var(--text-l));

  --font-family: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
}

body {
  font-family: var(--font-family);
  background-color: #080808;
  color: #EAEAEA;
  overflow-x: hidden;
}

/* Custom premium gold-tinted scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #080808; 
}
::-webkit-scrollbar-thumb {
  background: #222; 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary); 
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: #000000;
}

/* Fade transitions for quiz and interactive cards */
.quiz-step-fade {
  animation: fadeIn 0.4s ease-out-back;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom premium glow effects */
.gold-glow {
  box-shadow: 0 0 40px rgba(197, 160, 89, 0.08);
}
.gold-glow-hover:hover {
  box-shadow: 0 0 50px rgba(197, 160, 89, 0.15);
}

/* Custom animations */
.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
