/* Kemer Köyü Şenliği Quiz System - Custom Premium Stylesheet */

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

:root {
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
              radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.15), transparent),
              #0f172a; /* Sleek dark theme */
  color: #f8fafc;
  min-height: 100vh;
}

/* Glassmorphism Panel card styling */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated backgrounds */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-btn {
  background: linear-gradient(135deg, #6366f1 0%, #14b8a6 100%);
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

/* Pulse animation for timer */
@keyframes timerPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 12px rgba(239, 68, 68, 0.5); }
  100% { transform: scale(1); }
}

.timer-danger {
  animation: timerPulse 1s infinite ease-in-out;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}

/* Interactive Option Card styling */
.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.5);
  cursor: pointer;
}

.option-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

.option-card.selected {
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.15);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.2);
}

/* Animations for transitioning questions */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
