/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header styles */
.site-header {
  background: linear-gradient(135deg, #14213d 0%, #1a2b4d 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #fca311;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Responsive header */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #14213d;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .main-nav.mobile-menu-active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-container {
    position: relative;
  }
}

/* Utility classes */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.flex-grow { flex-grow: 1; }
.bg-white { background-color: white; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-5 { padding: 1.25rem; }
.p-4 { padding: 1rem; }
.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.text-center { text-align: center; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.border { border-width: 1px; }
.border-t-0 { border-top-width: 0; }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-white { color: white; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-4 { gap: 1rem; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.duration-200 { transition-duration: 200ms; }
.transition-all { transition-property: all; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hidden { display: none; }
.animate-spin { animation: spin 1s linear infinite; }
.rounded-full { border-radius: 9999px; }
.border-b-2 { border-bottom-width: 2px; }
.overflow-hidden { overflow: hidden; }
.opacity-90 { opacity: 0.9; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.max-w-6xl { max-width: 72rem; }
.min-h-\[60px\] { min-height: 60px; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Custom color classes */
.bg-\[#FEF9E7\] { background-color: #FEF9E7; }
.text-\[#14213d\] { color: #14213d; }
.text-\[#8a4500\] { color: #8a4500; }
.text-\[#fca311\] { color: #fca311; }
.border-\[#f1e6c0\] { border-color: #f1e6c0; }
.bg-\[#fca311\] { background-color: #fca311; }
.hover\:bg-\[#e69100\]:hover { background-color: #e69100; }
.hover\:text-\[#e69100\]:hover { color: #e69100; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(252, 163, 17, 0.5); }
.focus\:ring-\[#fca311\]:focus { --tw-ring-color: #fca311; }
.focus\:border-transparent:focus { border-color: transparent; }
.border-\[#fca311\] { border-color: #fca311; }

/* Quiz Styles */
.quiz-intro {
  padding: 2rem;
  text-align: center;
}

.quiz-intro h2 {
  color: #14213d;
  margin-bottom: 1rem;
}

.quiz-intro p {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.quiz-button {
  background: linear-gradient(45deg, #fca311, #e69100);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(252, 163, 17, 0.3);
}

.quiz-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 163, 17, 0.4);
}

/* Quiz Question Styles */
.quiz-question {
  padding: 2rem;
}

.quiz-progress {
  margin-bottom: 2rem;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(45deg, #fca311, #e69100);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
}

.quiz-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.option-card:hover {
  border-color: #fca311;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252, 163, 17, 0.1);
}

.option-card.selected {
  border-color: #fca311;
  background: linear-gradient(135deg, #fef9e7 0%, #fff 100%);
  box-shadow: 0 4px 15px rgba(252, 163, 17, 0.2);
}

.radio-button {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.radio-circle.selected {
  border-color: #fca311;
  background-color: #fca311;
}

.inner-circle {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
}

/* Quiz Navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button.prev {
  background: #f3f4f6;
  color: #374151;
}

.nav-button.prev:hover {
  background: #e5e7eb;
}

.nav-button.next {
  background: linear-gradient(45deg, #fca311, #e69100);
  color: white;
}

.nav-button.next:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Quiz Results */
.quiz-results {
  padding: 2rem;
}

.result-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.result-header {
  padding: 2rem;
  text-align: center;
  color: white;
  position: relative;
}

.result-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}

.result-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.result-content {
  padding: 2rem;
}

.result-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  margin: 2rem 0;
}

/* Side Hustle Cards */
.hustle-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.hustle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #fca311;
}

.hustle-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.hustle-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(45deg, #fca311, #e69100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.hustle-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
}

.hustle-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hustle-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.detail-item {
  text-align: center;
}

.detail-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-weight: 600;
  color: #374151;
}

.earning-range {
  color: #059669;
}

.difficulty-easy { color: #10b981; }
.difficulty-medium { color: #f59e0b; }
.difficulty-hard { color: #ef4444; }

.hustle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.get-started-btn {
  width: 100%;
  background: linear-gradient(45deg, #fca311, #e69100);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

/* Restart Section */
.restart-section {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.75rem;
}

.restart-text {
  color: #6b7280;
  margin-bottom: 1rem;
}

.restart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #374151;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.restart-button:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .text-3xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .text-2xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .p-8 {
    padding: 1.5rem;
  }
  
  .p-6 {
    padding: 1rem;
  }
  
  .quiz-question {
    padding: 1.5rem;
  }
  
  .result-header {
    padding: 1.5rem;
  }
  
  .result-content {
    padding: 1.5rem;
  }
  
  .hustle-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .quiz-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-button {
    width: 100%;
    justify-content: center;
  }
}

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

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

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