.rules {
  padding: 4rem 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.rules h2 {
  font-size: 2.4rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255,138,31,0.3);
}

.rules > p {
  text-align: center;
  color: var(--light-400);
  margin-bottom: 2.5rem;
}

/* Accordion Button */
.accordion {
  background: var(--dark-300);
  color: var(--light-200);
  cursor: pointer;
  padding: 1rem 1.5rem;
  width: 100%;
  border: 1px solid rgba(255,138,31,0.2);
  outline: none;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius-md);
  transition: 0.3s;
  position: relative;
  font-family: 'Cairo', sans-serif;
}

.accordion:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.accordion:after {
  content: '+';
  position: absolute;
  left: 15px;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s;
}

.accordion.active {
  border-color: var(--primary);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}
.accordion.active:after {
  content: '-';
  transform: rotate(180deg);
}

/* Panel */
.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: var(--dark-200);
  border: 1px solid rgba(255,138,31,0.1);
  border-top: none;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  padding: 0 1.2rem;
  margin-bottom: 1rem;
}

.panel.open {
  padding: 1.2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  border-color: var(--primary);
}

.panel p, .panel ul {
  margin: 1rem 0;
  line-height: 1.8;
  color: var(--light-300);
}

.panel ul { list-style: none; padding: 0; }

.panel ul li {
  margin-bottom: 0.5rem;
  padding-right: 1.2rem;
  position: relative;
}

.panel ul li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  right: 0;
  font-size: 1.2rem;
}
