/* ===============================
   VOTE PAGE
   Main content + sidebar leaderboard
================================ */

.vote-section {
  padding: 40px 8% 80px;
}

.vote-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .vote-container {
    grid-template-columns: 1fr;
  }
}

.vote-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.vote-block-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #7b5cff, #5f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vote-block-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.vote-links-block,
.vote-rewards-block {
  background: rgba(18, 20, 40, 0.85);
  border: 1px solid rgba(123, 92, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
}

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

.vote-links-list li {
  margin-bottom: 10px;
}

.vote-links-list a {
  color: #aab0ff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vote-links-list a:hover {
  color: #7b5cff;
}

.vote-links-list a::before {
  content: "→";
  color: rgba(123, 92, 255, 0.8);
}

.vote-rewards-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.vote-rewards-empty {
  font-style: italic;
  margin: 0;
}

/* Sidebar: top voters */
.vote-sidebar {
  position: sticky;
  top: 100px;
}

.vote-leaderboard-card {
  background: rgba(18, 20, 40, 0.9);
  border: 1px solid rgba(123, 92, 255, 0.3);
  border-radius: 16px;
  overflow: hidden;
}

.vote-leaderboard-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 18px;
  margin: 0;
  background: rgba(123, 92, 255, 0.15);
  border-bottom: 1px solid rgba(123, 92, 255, 0.25);
  background: linear-gradient(90deg, #7b5cff, #5f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vote-leaderboard-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0 18px 12px;
  margin: 0;
}

.vote-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.vote-leaderboard-table th,
.vote-leaderboard-table td {
  padding: 10px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(123, 92, 255, 0.15);
}

.vote-leaderboard-table th {
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
}

.vote-leaderboard-table th:first-child,
.vote-leaderboard-table td:first-child {
  width: 36px;
  text-align: center;
}

.vote-leaderboard-na {
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
  padding: 24px;
}
