/* ══════════════════════════
   PAGE: VOTE
══════════════════════════ */
.vote-page {
  padding: 36px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
}

/* ─── HERO ─── */
.awards-hero {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

/* Subtle radial glow behind hero */
.awards-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 90vw);
  height: 200px;
  background: radial-gradient(ellipse, rgba(224, 48, 48, .07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-dim);
  border: 1px solid rgba(224, 48, 48, .25);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 18px;
  font-family: var(--font-ui);
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.awards-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  /* margin-bottom: 12px; */
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-logo-img {
  width: clamp(52px, 8vw, 80px);
  height: clamp(52px, 8vw, 80px);
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(224, 48, 48, .5));
  animation: pulse-logo 4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-logo {
  0%, 100% { filter: drop-shadow(0 4px 16px rgba(224, 48, 48, .5)); transform: scale(1); }
  50%       { filter: drop-shadow(0 6px 24px rgba(224, 48, 48, .8)); transform: scale(1.04); }
}

/* "Awards" word — animated shimmer */
.awards-word {
  display: inline-block;
  background: linear-gradient(100deg, #e03030 0%, #e8b84b 35%, #ff6b6b 65%, #e03030 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

.awards-sub {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.2vw, 15px);
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── VOTE CARD ─── */
.vote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow);
  transition: background .3s, border-color .3s;
}

/* ─── SECTION ─── */
.vote-section {
  padding: 24px 28px;
}

.vote-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: clamp(11px, 0.85vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Students header — purple accent */
.vote-section:first-child .vote-section-header { color: var(--purple); }
/* Admins header — gold accent */
.vote-section:last-child  .vote-section-header { color: var(--gold); }

/* ─── BUTTON GRID ─── */
.vote-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ─── CATEGORY BUTTON ─── */
.vote-cat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4, 0, .2, 1);
  -webkit-tap-highlight-color: transparent;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.vote-cat-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
  transition: left .5s;
}

.vote-cat-btn:hover::before { left: 130%; }

.vote-cat-btn:hover {
  border-color: var(--gold-glow);
  background: var(--card);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-sm);
}

.vote-cat-btn:active { transform: scale(.97); }

/* ─── DIVIDER ─── */
.vote-divider {
  height: 1px;
  background: var(--border);
  margin: 0 28px;
}

/* ══════════════════════════
   LIGHT THEME
══════════════════════════ */
[data-theme="light"] .vote-card {
  box-shadow: 0 4px 24px var(--shadow);
}

[data-theme="light"] .vote-cat-btn {
  background: #fafafa;
  border-color: rgba(0, 0, 0, 0.09);
  color: var(--text-2);
  box-shadow: 0 1px 3px var(--shadow-sm);
}

[data-theme="light"] .vote-cat-btn:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--text);
  box-shadow: 0 6px 20px var(--shadow);
}

/* ══════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
══════════════════════════ */
@media (max-width: 768px) {
  .vote-page {
    padding: 24px 16px calc(var(--bottom-h) + 24px);
  }

  .vote-section { padding: 20px 16px; }
  .vote-divider { margin: 0 16px; }

  .awards-hero  { margin-bottom: 24px; }
  .awards-title { font-size: clamp(26px, 7vw, 38px); }

  .vote-cat-btn { padding: 15px 10px; font-size: 13px; }
}

/* ══════════════════════════
   RESPONSIVE — PHONE (≤ 480px)
══════════════════════════ */
@media (max-width: 480px) {
  .vote-btn-grid { gap: 8px; }

  .vote-cat-btn {
    padding: 14px 8px;
    font-size: 12.5px;
  }
}
