/* ═══════════════════════════════════════════
   Page: Earn
   ═══════════════════════════════════════════ */

.earn-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.earn-title {
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 800;
  color: var(--color-heading);
  text-align: center;
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-subtitle {
  font-size: clamp(14px, 2.6vw, 18px);
  font-weight: 700;
  color: #3a220a;
  text-align: center;
  max-width: 820px;
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-grid {
  width: min(980px, 96vw);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.earn-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--card-shadow);
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #3a220a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-card-text {
  font-size: 14px;
  color: #5c3308;
  font-weight: 600;
  line-height: 1.4;
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-link {
  color: #7a3f00;
  font-weight: 800;
  text-decoration: none;
  font-family: "Geist", "Trebuchet MS", "Segoe UI", sans-serif;
}

.earn-link:hover {
  color: #b35400;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .earn-grid {
    grid-template-columns: 1fr;
  }
}
