/* --- DIFFICULTY SECTION --- */
.difficulty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.difficulty-card {
  text-align: center;
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.difficulty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--transition-base);
}

.difficulty-card:hover::before {
  height: 6px;
}

.difficulty-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.difficulty-card:nth-child(1)::before { background: var(--color-difficulty-easy); }
.difficulty-card:nth-child(2)::before { background: var(--color-difficulty-moderate); }
.difficulty-card:nth-child(3)::before { background: var(--color-difficulty-hard); }
.difficulty-card:nth-child(4)::before { background: var(--color-difficulty-expert); }

.difficulty-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.difficulty-icon-wrap--easy { background: rgba(76, 175, 80, 0.1); }
.difficulty-icon-wrap--moderate { background: rgba(255, 152, 0, 0.1); }
.difficulty-icon-wrap--hard { background: rgba(244, 67, 54, 0.1); }
.difficulty-icon-wrap--expert { background: rgba(156, 39, 176, 0.1); }

.difficulty-mountain {
  width: 40px;
  height: 40px;
}

.difficulty-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.difficulty-card:nth-child(1) h3 { color: var(--color-difficulty-easy); }
.difficulty-card:nth-child(2) h3 { color: var(--color-difficulty-moderate); }
.difficulty-card:nth-child(3) h3 { color: var(--color-difficulty-hard); }
.difficulty-card:nth-child(4) h3 { color: var(--color-difficulty-expert); }

.difficulty-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-neutral-mid);
  margin-bottom: var(--space-5);
}

.difficulty-bar {
  height: 6px;
  background: var(--color-neutral-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.difficulty-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s ease;
}

.difficulty-bar-fill--easy { background: var(--color-difficulty-easy); }
.difficulty-bar-fill--moderate { background: var(--color-difficulty-moderate); }
.difficulty-bar-fill--hard { background: var(--color-difficulty-hard); }
.difficulty-bar-fill--expert { background: var(--color-difficulty-expert); }

.difficulty-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-neutral-mid);
  margin-bottom: var(--space-4);
}

.difficulty-example {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  background: var(--color-neutral-warm);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

.difficulty-deco-sunburst {
  position: absolute;
  top: 200px;
  right: -100px;
  width: 300px;
  opacity: 0.04;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .difficulty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .difficulty-grid { grid-template-columns: 1fr; }
}
