/* ==========================================================================
   Yozza SMP — Vote page (vote.html)
   Vote-site cards in a responsive grid.
   ========================================================================== */

.vote-main {
  padding: 130px 0 120px;
}

.vote-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
}

.vote-lead {
  margin-top: 14px;
  font-size: 20px;
  color: #c9bdd1;
  max-width: 620px;
}

.vote-info {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(240, 79, 234, 0.08);
  border: 1px solid rgba(240, 79, 234, 0.22);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.vote-info strong { color: var(--c-primary); }

.vote-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.vote-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(28, 10, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color .25s ease, transform .25s ease;
}

.vote-card:hover {
  border-color: rgba(240, 79, 234, 0.4);
  transform: translateY(-3px);
}

.vote-card-head {
  /* badge on its own line above the name, so long site names never fight it for space */
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 6px;
}

.vote-site {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
  /* let long one-word names (no hyphen) wrap instead of running under the "Every 24h" badge */
  min-width: 0;
  overflow-wrap: anywhere;
}

.vote-cooldown {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.vote-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #c9bdd1;
  flex: 1;
}

.vote-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  border-radius: var(--radius);
  background-color: var(--c-primary);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s var(--ease-site);
}

.vote-btn:hover { background-color: var(--c-primary-hover); }

/* ---------- Monthly top voters (prize pool) ---------- */
.vote-prizes { margin-top: 72px; }
.vote-h2 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.25; }
.vote-sub { margin-top: 12px; max-width: 720px; font-size: 16px; line-height: 1.6; color: #c9bdd1; }
.vote-sub strong, .vote-note strong { color: var(--c-primary); }

.prize-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
  max-width: 900px;
}

.prize-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 26px;
  border-radius: 12px;
  background: rgba(28, 10, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--prize-c, var(--c-primary));
  box-shadow: 0 0 30px var(--prize-glow, transparent);
}
.prize-rank {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--prize-c, var(--c-primary));
}
.prize-amount {
  margin-top: 8px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.prize-label { margin-top: 6px; font-size: 13px; color: #c9bdd1; }

.prize-1 { --prize-c: #f5c542; --prize-glow: rgba(245, 197, 66, .18); order: 2; padding-top: 44px; padding-bottom: 40px; }
.prize-1 .prize-amount { font-size: 56px; }
.prize-2 { --prize-c: #cfd6e4; --prize-glow: rgba(207, 214, 228, .10); order: 1; }
.prize-3 { --prize-c: #d08a4a; --prize-glow: rgba(208, 138, 74, .12); order: 3; }

.vote-note { margin-top: 26px; font-size: 15px; line-height: 1.6; color: #c9bdd1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .vote-main { padding: 126px 0 80px; }
  .vote-title { font-size: 32px; }
  .vote-lead { font-size: 16px; }
  .vote-h2 { font-size: 24px; }
  .vote-prizes { margin-top: 52px; }
  .prize-grid { grid-template-columns: 1fr; }
  .prize-1, .prize-2, .prize-3 { order: 0; padding-top: 24px; padding-bottom: 22px; }
  .prize-1 .prize-amount { font-size: 48px; }
}
