/* =========================================
   REWARD POINTS PAGE STYLES
   ========================================= */

.rewards-page {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Hero Section */
.rewards-hero {
  text-align: center;
  margin-bottom: 4rem;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(217, 156, 46, 0.1);
}

.rewards-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 156, 46, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.points-balance {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(217, 156, 46, 0.2);
}

.points-label {
  color: var(--text);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.rewards-cta-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rewards-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(217, 156, 46, 0.3);
}

/* How to Earn Grid */
.earn-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.earn-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.earn-card:hover {
  border-color: var(--gold);
}

.earn-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.earn-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.earn-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Rewards History */
.history-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.history-item:last-child {
  border-bottom: none;
}

.history-info h4 {
  color: var(--text);
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
}

.history-info p {
  color: var(--muted);
  margin: 0;
  font-size: 0.85rem;
}

.history-points.positive {
  color: #4CAF50;
  font-weight: 700;
  font-size: 1.2rem;
}

.history-points.negative {
  color: #F44336;
  font-weight: 700;
  font-size: 1.2rem;
}
