html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #f0f0f0, #e0e0ff);
  color: #333;
}

header {
  background-color: #4b0082;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background-color: #4b0082;
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.menu a:hover {
  background-color: #6a0dad;
}

.menu a.active {
  background-color: gold;
  color: black;
}

main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

.regra {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.regra:hover {
  transform: scale(1.02);
}

.regra.active {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  border: 2px solid gold;
}

h2 {
  color: #4b0082;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

span.icon {
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}

ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: #4b0082;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  font-size: 0.9rem;
}