/* Base Styles */
:root {
  --glass: rgba(255, 255, 255, 0.08);
  --primary: #071219;
  --secondary: #0e2331;
  --accent: #38a3a5;
  --text-primary: #dbeafe;
  --text-secondary: #94a3b8;
}

html, body {
  font-family: 'Jura', 'Quicksand', 'Arial', 'Helvetica', 'sans-serif';
}

body {
  color: var(--text-primary);
  background: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: 0.025em;
}

/* Simplified Glass Card matching index page */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Backdrop-filter fallback for older browsers */
@supports not (backdrop-filter: blur(10px)) {
  .glass-card {
    background: rgba(255, 255, 255, 0.1);
  }
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Simplified Question box styling */
.quiz-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

/* Backdrop-filter fallback for question boxes */
@supports not (backdrop-filter: blur(10px)) {
  .quiz-box {
    background: rgba(255, 255, 255, 0.1);
  }
}

.quiz-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quiz-box-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	color: rgba(255,255,255,0.75);
	font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Simplified option buttons */
.option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #e8f1ff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  align-items: center;
}

.option-btn:hover { 
  background: rgba(255, 255, 255, 0.08); 
  border-color: rgba(255, 255, 255, 0.2); 
}

.option-btn.selected { 
  background: rgba(87, 204, 153, 0.15); 
  border-color: rgba(87, 204, 153, 0.4); 
}

/* Enhanced Ripple effect */
.option-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Quick actions dock styling - only for quiz demo and full pages */
.quick-actions-dock {
	position: fixed;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 40;
}

.qa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 9999px;
	background: rgba(32, 54, 60, 0.18);
	border: 1.5px solid rgba(56, 163, 165, 0.13);
	color: #57cc99;
	font-size: 12px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	text-align: center;
	min-width: 80px;
	box-shadow: 0 2px 8px rgba(56,163,165,0.06);
}

/* Backdrop-filter fallback for quick action buttons */
@supports not (backdrop-filter: blur(10px)) {
  .qa-btn {
    background: rgba(32, 54, 60, 0.85);
  }
}

.qa-btn:hover { 
	background: rgba(56, 163, 165, 0.10); 
	border-color: rgba(56, 163, 165, 0.25); 
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(56, 163, 165, 0.15);
	color: #38a3a5;
}

.qa-btn span { 
	opacity: .85; 
	text-align: center; 
	font-weight: 500;
}

@media (max-width: 640px) {
	.quick-actions-dock { display: none; }
}

/* Enhanced Progress Bar with Brand Gradients */
  .progress-container {
    height: 8px;
  background: rgba(87, 204, 153, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }
  
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38a3a5, #57cc99);
    transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    overflow: hidden;
  box-shadow: 0 0 20px rgba(87, 204, 153, 0.4);
  }
  
  .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.2) 50%,
      rgba(255,255,255,0) 100%
    );
    animation: progressShine 2.5s infinite;
  }
  
  @keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
/* Premium Intro Screen with Brand Typography */
  .intro-heading {
    font-weight: 350;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    background: linear-gradient(to right, #80ed99, #38a3a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .intro-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #38a3a5, #57cc99);
    border-radius: 3px;
  }
  
  /* Floating Particles Background */
  .particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  
  .particle {
    position: absolute;
    background: rgba(123, 211, 137, 0.15);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatParticle linear infinite;
  }
  
  @keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
  }
  
/* Enhanced Navigation buttons with brand styling */
  .nav-btn {
    background: linear-gradient(90deg, #164141 0%, #22577A 100%);
    color: #fff;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 8px rgba(56,163,165,0.08);
  }
  
  .nav-btn:hover {
    background: linear-gradient(90deg, #164141 0%, #38A3A5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 211, 137, 0.2);
  }
  
  .nav-btn:disabled {
    background: rgba(59, 90, 116, 0.5);
    opacity: 0.6;
    cursor: not-allowed;
  }
  
/* Action buttons with brand styling */
  .action-btn {
  background: rgba(32, 54, 60, 0.18);
    backdrop-filter: blur(10px);
  border: 1.5px solid rgba(56, 163, 165, 0.13);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
  color: #57cc99;
}

.action-btn:hover {
  background: rgba(56, 163, 165, 0.10);
  border-color: rgba(56, 163, 165, 0.25);
  color: #38a3a5;
}

/* Tooltip with brand styling */
  .tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(16, 23, 32, 0.95);
    color: var(--text-primary);
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(56, 163, 165, 0.2);
  }
  
  .tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  
/* Loading animation with brand colors */
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
  }
  
  .pulse-animation {
    animation: pulse 2.5s infinite ease-in-out;
  }
  
  /* Error shake animation */
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px); }
    40%, 80% { transform: translateX(3px); }
  }
  
  .shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
  }
  
  /* Scroll Animations */
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  [data-animate="fadeIn"] {
    opacity: 1;
    transform: translateY(0);
  }
  
/* Loading spinner with brand colors */
.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(87, 204, 153, 0.2);
  border-top-color: #57cc99;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Question indicator dots with brand styling */
.question-dot {
  transition: all 0.3s ease;
  background: rgba(87, 204, 153, 0.3);
}

.question-dot:hover {
  transform: scale(1.5);
  background: rgba(87, 204, 153, 0.6);
  box-shadow: 0 0 10px rgba(87, 204, 153, 0.4);
}

.question-dot:active {
  transform: scale(0.9);
}

/* Mobile tap targets */
@media (hover: none) {
  button, .option-btn, .action-btn {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Prevent zoom on input focus for mobile */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px;
  }
}

/* Enhanced focus states with brand colors */
button:focus-visible, 
[role="button"]:focus-visible,
a:focus-visible,
.option-btn:focus-visible,
.nav-btn:focus-visible,
.qa-btn:focus-visible {
  outline: 2px solid rgba(87, 204, 153, 0.8);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(87, 204, 153, 0.2);
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .option-btn:hover,
  .nav-btn:hover,
  .qa-btn:hover,
  .glass-card:hover {
    transform: none;
    box-shadow: none;
  }
  
  .option-btn:active,
  .nav-btn:active,
  .qa-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .glass-card:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(56, 163, 165, 0.15);
  }
}

/* Haptic feedback simulation for touch devices */
@media (hover: none) {
  .option-btn,
  .nav-btn,
  .qa-btn {
    -webkit-tap-highlight-color: rgba(87, 204, 153, 0.3);
    touch-action: manipulation;
  }
  }
  
  /* Smooth scroll behavior */
  html {
    scroll-behavior: smooth;
  }
  
/* Custom scrollbar with brand colors */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(14, 35, 49, 0.5);
  }
  
  ::-webkit-scrollbar-thumb {
  background: rgba(87, 204, 153, 0.5);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
  background: rgba(87, 204, 153, 0.7);
  }
  
/* Selection color with brand colors */
  ::selection {
  background: rgba(87, 204, 153, 0.3);
    color: white;
  }
  
  /* Smooth transitions */
  .smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-fade-up,
  .animate-fade-in,
  .animate-float,
  .animate-float-delay,
  .animate-subtle-pulse,
  .animate-gradient-shift,
  .animate-text-gradient,
  .animate-ping-slow {
    animation: none !important;
  }
  
  .option-btn:hover,
  .nav-btn:hover,
  .qa-btn:hover,
  .glass-card:hover {
    transform: none !important;
  }
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: rgba(87, 204, 153, 0.9);
  color: #071219;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid rgba(87, 204, 153, 0.8);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
  width: 1px;
  height: 1px;
    padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Performance optimizations */
.glass-card,
.quiz-box,
.option-btn,
.nav-btn,
.qa-btn {
  will-change: transform, box-shadow;
}

/* Optimize animations for better performance */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
      from {
        opacity: 0;
    transform: scale(0.95);
      }
      to {
        opacity: 1;
    transform: scale(1);
      }
    }

/* Enhanced modal with brand styling */
    .modal-overlay {
  animation: fade-in 0.3s ease-out forwards;
}

.modal-content {
  animation: fade-in 0.3s ease-out forwards, float-slow 0.3s ease-out forwards;
}



/* Responsive adjustments - matching brand breakpoint strategy */
@media (max-width: 1024px) {
  .intro-heading {
    font-size: 2.5rem;
  }
  
  .question-text {
    font-size: 1.3rem;
  }
  
    .option-btn {
    padding: 1rem;
  }
  
  .quiz-main-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .intro-heading {
    font-size: 2rem;
  }
  
  .intro-heading::after {
    width: 60px;
    height: 2px;
  }
  
  .question-text {
    font-size: 1.25rem;
  }
  
  .option-btn {
    padding: 0.9rem;
    min-height: 56px;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .nav-buttons button {
    width: 100%;
    min-height: 48px;
  }
  
  .action-btn span {
    display: none;
  }
  
  /* Adjust floating orbs for mobile */
  .floating-orb {
    filter: blur(30px);
  }
  
  /* Mobile-specific spacing */
  .quiz-main-content { 
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .quiz-intro { 
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .intro-heading {
    font-size: 1.5rem;
  }
  .question-text {
    font-size: 1.05rem;
  }
  .option-btn {
    padding: 0.7rem;
    font-size: 0.92rem;
    min-height: 48px;
  }
  nav {
    padding: 0.3rem 0.3rem;
  }
  .premium-navbar .max-w-7xl {
    flex-direction: column;
    gap: 0.5rem;
  }
  .premium-navbar .flex.items-center.gap-3 {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .quiz-action-label {
    display: none !important;
  }
  .nav-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-buttons button {
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 0;
    min-height: 44px;
  }
  .quiz-main-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .quiz-intro {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .glass-card {
    padding: 1rem !important;
  }
  .footer .max-w-7xl {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Enhanced touch targets for small screens */
  .option-btn,
  .nav-btn,
  .qa-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 375px) {
  .intro-heading {
    font-size: 1.1rem;
  }
  .option-btn {
    font-size: 0.85rem;
  }
  .nav-buttons button {
    font-size: 0.92rem;
  }
}

/* New floating elements with brand colors */
.floating-orb {
    position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.08;
  z-index: -1;
  }

  /* Enhanced question transitions */
  .quiz-box {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  /* Better option button interactions */
  .option-btn.selected {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(87, 204, 153, 0.3);
    background: rgba(87, 204, 153, 0.15);
    border-color: rgba(87, 204, 153, 0.4);
  }

  /* Enhanced navigation button styling */
  .nav-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(56, 163, 165, 0.1), rgba(87, 204, 153, 0.1));
    border: 1px solid rgba(87, 204, 153, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(87, 204, 153, 0.1), rgba(56, 163, 165, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-btn:hover::before {
    opacity: 1;
  }

  /* Enhanced question dots */
  .question-dot {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .question-dot:hover {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(87, 204, 153, 0.4);
  }

  .question-dot:active {
    transform: scale(0.9);
  }

  /* Better modal animations */
  .modal-overlay {
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .modal-overlay > div {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

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

  /* Enhanced intro screen */
  #introScreen {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Enhanced text readability */
  .quiz-box h3 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
  }

  /* Better spacing and typography */
  .quiz-box-header {
    font-weight: 500;
    letter-spacing: 0.025em;
  }

  /* Enhanced progress text */
  #progress-percent {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  /* Better question counter styling */
  #current-question {
    font-weight: 700;
    color: #57cc99 !important;
    text-shadow: 0 1px 3px rgba(87, 204, 153, 0.3);
  }

/* Clean spacing matching index page */
.w-full.z-40.mt-14 { 
  margin-bottom: 1rem; 
  padding-bottom: 0; 
  border-bottom: 0; 
}

.quiz-main-content { 
  padding-top: 2rem; 
  padding-bottom: 4rem; 
  justify-content: flex-start; 
}

.quiz-intro { 
  margin-top: 1rem; 
  margin-bottom: 2rem; 
}

/* Enhanced Mobile Touch Feedback */
@media (max-width: 640px) {
  .option-btn {
    min-height: 64px;
    padding: 1.25rem !important;
  }
  
  .nav-btn {
    min-height: 56px;
    font-size: 1.1rem;
  }
  
  /* Haptic feedback simulation */
  .option-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Gesture navigation optimization */
  .quiz-box {
    touch-action: pan-y;
    user-select: none;
  }
  
  /* Swipe feedback for question navigation */
  .quiz-box.swipe-left {
    transform: translateX(-20px);
    transition: transform 0.2s ease;
  }
  
  .quiz-box.swipe-right {
    transform: translateX(20px);
    transition: transform 0.2s ease;
  }
}

/* Advanced Hover Effects for Desktop */
@media (min-width: 641px) {
  .option-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  .quiz-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .quiz-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  }

  .nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
}

/* Loading States */
.quiz-box.loading {
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.05) 25%, 
    rgba(255,255,255,0.1) 50%, 
    rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced Progress Visualization */
#progress {
    background: linear-gradient(90deg, #57cc99, #38a3a5);
  box-shadow: 0 0 20px rgba(87, 204, 153, 0.4);
  position: relative;
  overflow: hidden;
}

#progress::after {
    content: '';
    position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Quiz page specific navbar and footer styling */
#navbar {
  position: relative;
  z-index: 50;
}

#footer {
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  background: rgba(16, 20, 24, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(56, 163, 165, 0.1);
}

/* Ensure footer doesn't interfere with quiz content */
#footer {
  position: relative;
  z-index: 10;
}

/* Quiz page specific footer adjustments */
@media (max-width: 768px) {
  #footer {
    margin-top: 2rem;
  }
}

/* Hide navigation elements on intro screen */
.quiz-intro ~ #mobileNavDock {
  display: none !important;
}

/* Ensure navbar doesn't interfere with quiz content */
.quiz-main-content {
  position: relative;
  z-index: 20;
  padding-top: 1rem;
}

/* Account for navbar height */
@media (min-width: 768px) {
  .quiz-main-content {
    padding-top: 2rem;
  }
}

/* Quiz-specific navbar styling */
#quiz-navbar {
  position: relative;
  z-index: 40;
}

/* Clean intro screen styling matching index page */
.quiz-intro .glass-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.quiz-intro .glass-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}