.dashboard {
  padding: 2rem;
  animation: fadeIn 0.8s ease-out;
}

.dashboard-header {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--deep-blue);
  animation: slideInDown 0.6s ease-out;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: var(--text-shadow-dm);
}

.dashboard-subtitle {
  font-size: 1.2rem;
  color: var(--earth-brown);
  font-family: 'Lora', serif;
  font-style: italic;
  letter-spacing: 0.3px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.stat-card {
  background: linear-gradient(135deg, var(--parchment-light) 0%, var(--parchment) 100%);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(45, 80, 22, 0.15);
  border: 2px solid var(--gold-dark);
  transition: all 0.3s ease;
  animation: cascade-item;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 80, 22, 0.25), 
              0 0 15px rgba(218, 165, 32, 0.15);
  border-color: var(--gold);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
  text-shadow: var(--text-shadow-dm);
  letter-spacing: 1px;
}

.stat-label {
  font-size: 1rem;
  color: var(--earth-brown);
  font-weight: 600;
  font-family: 'Lora', serif;
  letter-spacing: 0.5px;
}

.dashboard-section {
  background: var(--parchment);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
  border: 2px solid var(--earth-brown);
  margin-bottom: 2rem;
}

.dashboard-section h2 {
  margin-bottom: 1.5rem;
  color: var(--deep-blue);
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.dark-magic-warning {
  background: linear-gradient(135deg, #2a1a1a 0%, #3d2525 100%);
  color: var(--parchment);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 2px solid var(--dark-red);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5),
              0 0 20px rgba(220, 38, 38, 0.2);
  font-family: 'Lora', serif;
  font-weight: 600;
  animation: dangerGlow 2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

.user-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.user-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-stat-label {
  font-size: 0.9rem;
  color: var(--earth-brown);
  font-family: 'Lora', serif;
}

.user-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Cinzel', serif;
}

.quest-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quest-item {
  padding: 1rem;
  border: 2px solid var(--earth-brown);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--parchment) 0%, var(--parchment-light) 100%);
  transition: all 0.3s ease;
  animation: cascade-item;
}

.quest-item:hover {
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3),
              0 0 10px rgba(218, 165, 32, 0.1);
  transform: translateY(-2px);
}

.quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.quest-header h3 {
  margin: 0;
  color: var(--deep-blue);
  font-size: 1.2rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.quest-status {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.quest-status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.quest-status-in_progress {
  background-color: #d1ecf1;
  color: #0c5460;
}

.quest-status-completed {
  background-color: #d4edda;
  color: #155724;
}

.quest-description {
  color: var(--earth-brown);
  margin: 0.5rem 0;
  font-family: 'Lora', serif;
}

.quest-location {
  color: var(--earth-brown-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-family: 'Lora', serif;
}
