/* Rate & Follow Page Styles */
.rate-page {
  padding: 48px 16px 80px 16px;
  max-width: 760px;
  margin: 0 auto;
}

.rate-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  margin-bottom: 32px;
  box-shadow: var(--elev-card);
  text-align: center;
}

.rate-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(8, 61, 119, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.star-rating-box {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 12px 0;
}

.star-rating-box i {
  font-size: 28px;
  color: #f59e0b;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.star-rating-box i:hover,
.star-rating-box i.hovered {
  transform: scale(1.25);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.channel-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--fg);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elev-card);
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--elev-raised);
  color: var(--fg);
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 16px;
  flex-shrink: 0;
}

.channel-info {
  flex-grow: 1;
}

.channel-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--fg);
}

.channel-subtitle {
  font-size: 12px;
  color: var(--fg-2);
  margin: 0;
}

.channel-arrow {
  color: var(--primary);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.channel-card:hover .channel-arrow {
  transform: translateX(4px);
}

/* ── Dark Mode Overrides ─────────────────────────────────────── */
[data-theme="dark"] .rate-header-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .rate-icon-badge {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

[data-theme="dark"] .channel-card {
  background: #1c2333;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .channel-card:hover {
  background: #232d42;
  border-color: #60a5fa;
}

[data-theme="dark"] .channel-title {
  color: #e6edf3;
}

[data-theme="dark"] .channel-subtitle {
  color: #8b949e;
}

[data-theme="dark"] .channel-arrow {
  color: #60a5fa;
}
