:root {
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --primary-color: #000000;
  --secondary-color: #64748b;
  --accent-color: #3b82f6;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 20px 20px;
  overflow: hidden;
  position: relative;
}

.domain-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  z-index: 2000;
}


.container {
  max-width: 440px;
  width: 100%;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  z-index: 10;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.poll-item {
  cursor: pointer;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.poll-item:hover {
  background: #f8fafc;
  border-color: var(--border-color);
}

.poll-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
}

.poll-item.voted .radio-circle {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.percentage {
  margin-left: auto;
}

.progress-bg {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
}

.progress-fill {
  height: 100%;
}

.highlighted .progress-fill {
  background: var(--primary-color);
  width: 67%;
}

.subtext {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

.legal-footer {
  position: fixed;
  bottom: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  width: 100%;
}

.countdown-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  padding: 12px 20px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
  border: 1px solid var(--border-color);
}

.countdown-timer {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.api-credit {
  font-size: 0.6rem;
}
