/* ═════════════════════════════════════════════════════════════
   NORULESPVP · VOTAÇÕES
   ═════════════════════════════════════════════════════════════ */

.vot-page { min-height: 100vh; }

.vot-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

.vot-intro {
  text-align: center;
  margin-bottom: 40px;
}
.vot-kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(96,212,255,0.10);
  border: 1px solid rgba(96,212,255,0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #8ad6f5;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.vot-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #c4d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vot-title em {
  font-style: normal;
  background: linear-gradient(180deg, #8ad6f5 0%, #60D4FF 60%, #2a8bb8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vot-sub {
  color: #98a8b3;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Poll list ─── */
.vot-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.vot-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5a6772;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(13,20,23,0.4);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* Login gate (when user is not authenticated) */
.vot-gate {
  text-align: center;
  padding: 64px 28px;
  background: linear-gradient(180deg, rgba(13,20,23,0.7) 0%, rgba(6,7,10,0.5) 100%);
  border: 1px solid rgba(96,212,255,0.18);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.vot-gate::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(96,212,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.vot-gate-icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 16px rgba(96,212,255,0.4));
}
.vot-gate-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.vot-gate-desc {
  color: #98a8b3;
  font-size: 14px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 28px;
}
.vot-gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(88,101,242,0.4);
  transition: transform 0.15s, box-shadow 0.2s;
}
.vot-gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(88,101,242,0.55);
}

/* ─── Single poll card ─── */
.vot-card {
  background: linear-gradient(180deg, rgba(13,20,23,0.6) 0%, rgba(6,7,10,0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.vot-card:hover { border-color: rgba(96,212,255,0.3); }
.vot-card.is-closed { opacity: 0.7; }

.vot-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.vot-card-q {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  flex: 1;
}
.vot-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.vot-status.open  { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.vot-status.closed { background: rgba(255,255,255,0.05); color: #98a8b3; border: 1px solid var(--border); }

.vot-card-desc {
  color: #98a8b3;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.vot-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vot-opt {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  overflow: hidden;
  text-align: left;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  display: block;
}
.vot-opt:hover:not(:disabled) {
  background: rgba(96,212,255,0.10);
  border-color: rgba(96,212,255,0.4);
  transform: translateY(-1px);
}
.vot-opt:disabled { cursor: default; }

.vot-opt-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(96,212,255,0.18) 0%, rgba(96,212,255,0.08) 100%);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.vot-opt.show-results .vot-opt-bar { width: var(--pct, 0%); }
.vot-opt.is-mine .vot-opt-bar { background: linear-gradient(90deg, rgba(96,212,255,0.32) 0%, rgba(96,212,255,0.16) 100%); }

.vot-opt-row {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vot-opt-label {
  font-weight: 600;
  flex: 1;
  display: flex; align-items: center; gap: 8px;
}
.vot-opt-mine {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: var(--gold, #FFC93C);
  color: #0a0e12;
  padding: 2px 8px;
  border-radius: 999px;
}
.vot-opt-stats {
  font-family: Consolas, 'Courier New', monospace;
  font-size: 12.5px;
  color: #c4ccd2;
  white-space: nowrap;
}
.vot-opt-stats b { color: #fff; }
.vot-opt-pct {
  display: inline-block;
  min-width: 52px;
  text-align: right;
  color: #60D4FF;
  font-weight: 700;
}

.vot-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 11.5px;
  color: #5a6772;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 8px;
}
.vot-card-foot b { color: #c4ccd2; }
.vot-card-foot .vot-actions {
  display: flex;
  gap: 8px;
}
.vot-clear-vote {
  background: transparent;
  border: 1px solid var(--border);
  color: #98a8b3;
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}
.vot-clear-vote:hover { color: #ff6273; border-color: rgba(253,18,39,0.3); }

/* ─── Modal ─── */
.vot-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.vot-modal[hidden] { display: none; }
.vot-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(3,5,8,0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.vot-modal-panel {
  position: relative;
  background: linear-gradient(180deg, #11141c 0%, #0a0e12 100%);
  border: 1px solid rgba(96,212,255,0.35);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%; max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 60px rgba(96,212,255,0.18);
}
.vot-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #98a8b3;
  font-size: 14px;
  cursor: pointer;
}
.vot-modal-icon { font-size: 56px; margin-bottom: 14px; }
.vot-modal-panel h3 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.vot-modal-panel p { color: #98a8b3; font-size: 14px; margin-bottom: 20px; }
.vot-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.vot-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s;
}
.vot-btn-primary {
  background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
  color: #fff;
}
.vot-btn-primary:hover { transform: translateY(-2px); }
.vot-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #98a8b3;
}

@media (max-width: 600px) {
  .vot-card { padding: 20px 18px; }
  .vot-card-q { font-size: 18px; }
}
