body {
  font-family: 'Segoe UI', sans-serif;
}

h1, h2 {
  font-weight: 700;
}

.card-title {
  font-weight: bold;
}

footer {
  background-color: #f8f9fa;
}

.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}

.hex {
  width: 160px;
  aspect-ratio: 1;
  background: #ffc107;
  clip-path: polygon(
    25% 6.7%, 75% 6.7%,
    100% 50%, 75% 93.3%,
    25% 93.3%, 0% 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  color: #000;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}

.hex:hover {
  background: #ffb000;
  transform: scale(1.05);
}

.hex span {
  z-index: 1;
  padding: 1rem;
}

.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff5c0;
  clip-path: inherit;
  z-index: 0;
  transition: opacity 0.2s;
  opacity: 0;
}

.hex:hover::before {
  opacity: 0.2;
}

.card-title {
  font-weight: bold;
}

.card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.card-body {
  padding-top: 3rem;
}

#livePreview {
  white-space: normal;
  background-color: #fffdf2;
}

