:root {
  /* Clean Color Palette */
  --color-green: #10B981;
  --color-green-hover: #059669;
  --color-green-darker: #047857;
  --color-green-light: #D1FAE5;
  
  --color-red: #EF4444;
  --color-red-hover: #DC2626;
  --color-red-darker: #B91C1C;
  --color-red-light: #FEE2E2;
  
  --color-yellow: #F59E0B;
  --color-yellow-hover: #D97706;
  --color-yellow-darker: #B45309;
  --color-yellow-light: #FEF3C7;
  
  --color-blue: #3B82F6;
  --color-blue-hover: #2563EB;
  --color-blue-darker: #1D4ED8;
  --color-blue-light: #DBEAFE;
  
  /* Neutral Colors */
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-border: #E5E7EB;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-shadow: rgba(0, 0, 0, 0.1);
  
  /* Clean Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Simple Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
body {
  background: var(--color-bg);
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Container for centering */
.edubin-quiz-page,
.edubin-quiz-category-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Quiz Page Titles */
.edubin-quiz-page .entry-title,
.edubin-quiz-category-page .entry-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 3rem;
  color: var(--color-text);
  max-width: 800px;
}

/* Enhanced Share Buttons Container */
.share-buttons-container {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  padding: 0 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 400px;
  width: 100%;
}

/* Enhanced Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 48px;
  min-width: 140px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  background: transparent;
  flex: 1;
  max-width: 180px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-share {
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-hover) 100%);
  color: white;
  border: 2px solid var(--color-yellow);
}

.btn-share:hover {
  background: linear-gradient(135deg, var(--color-yellow-hover) 0%, var(--color-yellow-darker) 100%);
  border-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(245, 158, 11, 0.3);
}

.btn-embed {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-hover) 100%);
  color: white;
  border: 2px solid var(--color-blue);
}

.btn-embed:hover {
  background: linear-gradient(135deg, var(--color-blue-hover) 0%, var(--color-blue-darker) 100%);
  border-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.take-quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 40px;
  min-width: 120px;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-hover) 100%);
  color: white;
  border: 2px solid var(--color-green);
}

.take-quiz-btn:hover {
  background: linear-gradient(135deg, var(--color-green-hover) 0%, var(--color-green-darker) 100%);
  border-color: var(--color-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Fixed Modal Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.embed-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
}

.embed-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.embed-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.embed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--color-border);
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.embed-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.embed-modal-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  color: var(--color-text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.embed-modal-close:hover {
  background: var(--color-red-light);
  color: var(--color-red);
  transform: scale(1.1);
}

.embed-modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.embed-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.embed-modal-body p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  font-weight: 500;
}

.embed-code-container {
  position: relative;
  margin-bottom: 2rem;
}

#embedCodeText {
  width: 100%;
  min-height: 120px;
  padding: 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: #F8F9FA;
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
  resize: vertical;
  box-sizing: border-box;
  transition: var(--transition);
  margin-bottom: 1rem;
}

#embedCodeText:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: white;
}

.copy-btn {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-hover) 100%);
  color: white;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  min-width: 140px;
  box-shadow: var(--shadow-sm);
}

.copy-btn:hover {
  background: linear-gradient(135deg, var(--color-green-hover) 0%, var(--color-green-darker) 100%);
  border-color: var(--color-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

.embed-preview {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #F8F9FA;
  border-radius: 12px;
  border: 2px solid var(--color-border);
}

.embed-preview h4 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.embed-preview-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.embed-preview-frame iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
  z-index: 10000;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 250px;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-color: var(--color-green);
  background: var(--color-green-light);
  color: var(--color-green-darker);
}

.toast-error {
  border-color: var(--color-red);
  background: var(--color-red-light);
  color: var(--color-red-darker);
}

.toast-info {
  border-color: var(--color-blue);
  background: var(--color-blue-light);
  color: var(--color-blue-darker);
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Quiz Description - Enhanced */
.quiz-description {
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quiz-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-green), var(--color-yellow), var(--color-red));
}

.quiz-description h2 {
  color: var(--color-text);
  margin: 0 0 2rem 0;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

.quiz-description .description-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

/* Enhanced Breadcrumbs */
.quiz-breadcrumbs {
  text-align: center;
  margin: 0 auto 3rem;
  padding: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 800px;
  background: #F8F9FA;
  border-radius: 50px;
  padding: 1rem 2rem;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.quiz-breadcrumbs a {
  color: var(--color-green);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  white-space: nowrap;
}

.quiz-breadcrumbs a:hover {
  color: var(--color-green-hover);
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.quiz-breadcrumbs .separator {
  color: var(--color-green);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0.25rem;
  position: relative;
  transform: rotate(180deg);
}

/* Better arrow using CSS */
.quiz-breadcrumbs .separator::before {
  content: '→';
  font-size: 1.2rem;
  font-weight: bold;
}

.quiz-breadcrumbs .current-quiz {
  color: var(--color-text);
  font-weight: 700;
  background: rgba(17, 24, 39, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  white-space: nowrap;
}

/* Beautiful List Style Layout for Category Pages */
.quiz-list-container {
  max-width: 900px;
  margin: 3rem auto;
}

.quiz-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-align: center;
}

.quiz-subsection {
  margin: 2.5rem 0 1.5rem 0;
}

.quiz-subsection-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  border-radius: 8px;
  border-left: 4px solid var(--color-green);
  margin: 0;
}

.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-list-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.quiz-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.quiz-list-item:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.quiz-list-item:hover::before {
  transform: scaleY(1);
}

.quiz-item-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.quiz-item-content {
  flex: 1;
  min-width: 0;
}

.quiz-item-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.quiz-item-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.quiz-item-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.quiz-count-badge,
.quiz-type-badge,
.quiz-difficulty-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.quiz-count-badge {
  background: var(--color-blue-light);
  color: var(--color-blue-darker);
  border: 1px solid var(--color-blue);
}

.quiz-type-badge {
  background: var(--color-green-light);
  color: var(--color-green-darker);
  border: 1px solid var(--color-green);
}

.quiz-difficulty-badge {
  background: var(--color-yellow-light);
  color: var(--color-yellow-darker);
  border: 1px solid var(--color-yellow);
}

.quiz-item-action {
  flex-shrink: 0;
}

.quiz-start-btn,
.quiz-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  min-width: 160px;
  min-height: 52px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quiz-start-btn::before,
.quiz-explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.quiz-start-btn:hover::before,
.quiz-explore-btn:hover::before {
  left: 100%;
}

.quiz-start-btn {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-hover) 100%);
  color: white;
  border: 2px solid var(--color-green);
}

.quiz-start-btn:hover {
  background: linear-gradient(135deg, var(--color-green-hover) 0%, var(--color-green-darker) 100%);
  border-color: var(--color-green-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
  color: white;
}

.quiz-explore-btn {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-hover) 100%);
  color: white;
  border: 2px solid var(--color-blue);
}

.quiz-explore-btn:hover {
  background: linear-gradient(135deg, var(--color-blue-hover) 0%, var(--color-blue-darker) 100%);
  border-color: var(--color-blue-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
  color: white;
}

.quiz-start-btn.loading,
.quiz-explore-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.quiz-start-btn svg,
.quiz-explore-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.quiz-start-btn:hover svg,
.quiz-explore-btn:hover svg {
  transform: scale(1.1);
}

/* Chained Quiz Item */
.chained-quiz-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid var(--color-yellow);
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}

.chained-quiz-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-sm);
}

.chained-quiz-content {
  flex: 1;
}

.chained-quiz-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-yellow-darker);
  margin: 0 0 0.5rem 0;
}

.chained-quiz-content p {
  font-size: 0.9rem;
  color: var(--color-yellow-darker);
  margin: 0 0 1rem 0;
  opacity: 0.8;
}

/* More Quizzes Section - Use for cards when needed */
.more-quizzes-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.more-quizzes-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.more-quizzes-section .quizzes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

.more-quizzes-section .quiz-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.more-quizzes-section .quiz-card:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-lg);
}

.more-quizzes-section .quiz-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.more-quizzes-section .quiz-card-inner h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

/* Quiz Start Button - Centered */
.ays-quiz-form {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.ays-quiz-form .start_button {
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-hover) 100%) !important;
  color: white !important;
  border: 2px solid var(--color-green) !important;
  border-radius: 12px !important;
  padding: 1.25rem 2.5rem !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  transition: var(--transition) !important;
  cursor: pointer !important;
  display: inline-block !important;
  text-align: center !important;
  min-height: 56px !important;
  min-width: 200px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
}

.ays-quiz-form .start_button::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.5s !important;
}

.ays-quiz-form .start_button:hover::before {
  left: 100% !important;
}

.ays-quiz-form .start_button:hover {
  background: linear-gradient(135deg, var(--color-green-hover) 0%, var(--color-green-darker) 100%) !important;
  border-color: var(--color-green-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3) !important;
}

.quiz-subsection-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.quiz-subsection-title a:hover {
    color: #0073aa; /* or any theme-accent color */
}


/* Responsive Design */
@media (max-width: 768px) {
  .edubin-quiz-page,
  .edubin-quiz-category-page {
    padding: 1rem 0.5rem;
  }
  
  .edubin-quiz-page .entry-title,
  .edubin-quiz-category-page .entry-title {
    font-size: 2rem;
  }
  
  .quiz-description {
    margin: 2rem 0.5rem;
    padding: 1.5rem;
  }
  
  .more-quizzes-section {
    padding: 2rem 0.5rem;
  }
  
  .more-quizzes-section .quizzes-grid {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .share-buttons .btn {
    width: 220px;
    height: 56px;
    max-width: none;
  }
  
  .embed-modal {
    width: 95%;
    max-height: 95vh;
  }
  
  .embed-modal-header {
    padding: 1rem 1.5rem;
  }
  
  .embed-modal-body {
    padding: 1.5rem;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    transform: translateY(100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
  
  /* List style responsive */
  .quiz-list-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    text-align: center;
  }
  
  .quiz-item-content {
    text-align: center;
  }
  
  .quiz-item-meta {
    justify-content: center;
  }
  
  .quiz-item-action {
    width: 100%;
  }
  
  .quiz-start-btn,
  .quiz-explore-btn {
    width: 100%;
    justify-content: center;
  }
  
  .chained-quiz-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .quiz-list-item:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .quiz-list-container {
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .quiz-list-item {
    padding: 1rem;
  }
  
  .quiz-item-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  .quiz-item-title {
    font-size: 1.125rem;
  }
  
  .quiz-breadcrumbs {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .quiz-breadcrumbs .separator {
    transform: rotate(90deg);
  }
}

/* Focus States for Accessibility */
.btn:focus,
.take-quiz-btn:focus,
.quiz-start-btn:focus,
.quiz-explore-btn:focus,
.copy-btn:focus,
.embed-modal-close:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}