/* RESET */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #333;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fff7ed;
}

.logo {
  height: 42px;
}

.btn-login {
  text-decoration: none;
  font-weight: bold;
  color: #f97316;
}

/* HERO HOME */
.hero {
  text-align: center;
  padding: 60px 20px;
  color: white;
  background: linear-gradient(135deg, #f97316, #facc15, #22c55e, #3b82f6);
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 15px;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 20px;
}

/* PAGE HERO */
.page-hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: white;
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.primary {
  background: white;
  color: #f97316;
}

.secondary {
  border: 2px solid white;
  color: white;
}

.small {
  font-size: 13px;
  padding: 8px 14px;
}

/* SECTIONS */
.section {
  padding: 26px 20px;
}

.section h2 {
  margin-bottom: 14px;
}

/* GRID VOTES */
.vote-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Responsive columns */
@media (min-width: 720px) {
  .vote-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vote-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* VOTE CARD */
.vote-card {
  background: #fff7ed;
  padding: 16px;
  border-radius: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.vote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.vote-card.featured {
  border: 2px solid #f97316;
  background: linear-gradient(135deg, #fff7ed, #fff);
}

/* TEXT */
.vote-card h3 {
  font-size: 16px;
  margin: 6px 0;
}

.vote-card p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

/* BADGES */
.vote-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: bold;
  color: white;
  background: #f97316;
}

.vote-badge.premium {
  background: linear-gradient(135deg, #f97316, #facc15);
}

/* DATE */
.vote-date {
  display: block;
  font-size: 12px;
  color: #777;
}

/* CATEGORIES */
.categories {
  background: #fff7ed;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category-card {
  background: white;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  color: #f97316;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #777;
}

/* HERO CENTER FIX */
.hero-content {
  max-width: 720px;
  margin: auto;
}

/* CTA CENTER FIX */
.cta h2 {
  margin-bottom: 6px;
}

.cta p {
  margin-bottom: 14px;
}

/* STATS ALIGN FIX */
.stats {
  text-align: center;
}
