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

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: #f4eee8;
  color: #1a1a1a;
  padding: 20px;
}

.main-container {
  max-width: 900px;
  margin: 0 auto;
}

.top-bar {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.top-bar h1 {
  font-family: "Fraunces", serif;
  font-size: 32px;
  margin-bottom: 10px;
}

.top-bar p {
  color: #666;
  margin-bottom: 20px;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  text-decoration: none;
  background: #c35a3a;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

#votingGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.person-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.profile-pic {
  height: 200px;
  background: #eee;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  padding: 20px;
  flex-grow: 1;
}

.info h3 {
  margin-bottom: 10px;
}

.info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.btn-vote {
  width: 100%;
  padding: 12px;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-vote:hover {
  background: #000;
}

.btn-vote:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.footer {
  margin-top: 50px;
  text-align: center;
  color: #999;
  font-size: 12px;
}
