/* HOLISTIX INSIDER - HOLIGUMS 2.0 Modern Dark Theme CSS (Crisp 6px Border Radius) */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --color-pink: #ec4899;
  --color-purple: #8b5cf6;
  --color-teal: #06b6d4;
  --color-amber: #f59e0b;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-main);
  background-color: #070b14;
  color: #f8fafc;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Background Glowing Orbs */
.bg-glow-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.32;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  animation: floatOrb 14s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #ec4899 0%, #9333ea 100%);
  top: -60px;
  left: -60px;
}

.glow-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #06b6d4 0%, #3b82f6 100%);
  bottom: -100px;
  right: -60px;
  animation-delay: -4s;
}

.glow-orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #f59e0b 0%, #ec4899 100%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 35px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Glassmorphism Card Container (Sleek 6px Radius) */
.glass-card {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.65), 0 0 20px rgba(236, 72, 153, 0.05);
  border-radius: 8px !important;
}

.glass-card-inner {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 6px !important;
}

/* Gradient Typography */
.text-brand-gradient {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 35%, #a855f7 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gummy Action Button (Crisp 6px edges) */
.btn-brand-gradient {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
  background-size: 200% 200%;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 18px -4px rgba(236, 72, 153, 0.4);
  min-height: 44px;
  border-radius: 6px !important;
}

.btn-brand-gradient:hover:not(:disabled) {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -4px rgba(236, 72, 153, 0.6);
}

.btn-brand-gradient:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 3px 10px -2px rgba(236, 72, 153, 0.35);
}

/* Quiz Option Card Styling */
.quiz-option-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.7);
  color: #f8fafc;
  cursor: pointer;
  user-select: none;
  min-height: 48px;
  touch-action: manipulation;
  border-radius: 6px !important;
}

.quiz-option-card:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(236, 72, 153, 0.12);
  transform: translateY(-1px);
}

.quiz-option-card.selected {
  border-color: #ec4899;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.3);
}

.quiz-option-card.selected .option-badge {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(236, 72, 153, 0.4);
}

.option-badge {
  width: 34px;
  height: 34px;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #f8fafc;
  transition: all 0.22s ease;
}

/* Winner Card Item */
.winner-card-item {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f8fafc;
  border-radius: 6px !important;
}

/* Card Transitions */
.card-slide-in {
  animation: slideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateY(8px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Progress Bar Fill */
.progress-bar-fill {
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #06b6d4);
  background-size: 300% 100%;
  animation: gradientShift 4s ease infinite;
  transition: width 0.35s ease-out;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Product Pills Tag Bar */
.product-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.22s ease;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 6px !important;
}

.product-tag:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(236, 72, 153, 0.12);
  transform: translateY(-1px);
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Answers Review Container Scrollbar */
#answers-review-container::-webkit-scrollbar {
  width: 5px;
}
#answers-review-container::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}
#answers-review-container::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.5);
  border-radius: 4px;
}
#answers-review-container::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.8);
}

/* Toast Alert Popup */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
  max-width: 90vw;
  border-radius: 6px !important;
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Winner Card Animation */
.winner-card-pop {
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
