.rules-content {
  background: rgba(22, 40, 65, 0.6);
  border-radius: 16px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: inset 0 0 0 1px rgba(100, 180, 255, 0.15);
  border: 1px solid rgba(80, 168, 252, 0.1);
}

.rule-section {
  margin-bottom: 30px;
}

.rule-section:last-child {
  margin-bottom: 0;
}

.rule-section h2 {
  color: #64b5ff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(100, 180, 255, 0.3);
}

.rule-section p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #d6edff;
}

.rule-section ul {
  padding-left: 20px;
  margin: 15px 0;
}

.rule-section li {
  margin-bottom: 10px;
  color: #d6edff;
  line-height: 1.5;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.back-button {
  background: linear-gradient(135deg, #1a3d5d 0%, #15314d 100%);
  border-radius: 12px;
  padding: 14px 32px;
  text-decoration: none;
  color: #d6edff;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(5, 25, 45, 0.4);
  border: 1px solid rgba(80, 168, 252, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  width: fit-content;
}

.back-button:hover {
  background: linear-gradient(135deg, #215a8a 0%, #1a4770 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 70, 150, 0.5);
}

.back-button:active {
  transform: translateY(1px);
}
.rules-btn-container {
  margin: 2rem 0;
}

.rules-btn {
  background: linear-gradient(135deg, #215a8a 0%, #1a4770 100%);
  border-radius: 14px;
  color: white;
  padding: 16px 40px;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(64, 156, 255, 0.4), 0 4px 15px rgba(5, 25, 45, 0.6);
  border: 1px solid rgba(100, 200, 255, 0.4);
  position: relative;
  text-shadow: 0 0 8px rgba(86, 180, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  animation: pulse-glow 2.5s infinite alternate;
}

.rules-btn::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120, 200, 255, 0.4),
    transparent
  );
}

.rules-btn:hover {
  background: linear-gradient(135deg, #2573b8 0%, #1e5a91 100%);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(86, 180, 255, 0.7),
    0 6px 20px rgba(10, 70, 150, 0.7);
  text-shadow: 0 0 12px rgba(120, 200, 255, 0.8);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(64, 156, 255, 0.4),
      0 4px 15px rgba(5, 25, 45, 0.6);
    transform: translateY(0);
  }
  100% {
    box-shadow: 0 0 25px rgba(86, 180, 255, 0.7),
      0 6px 20px rgba(10, 70, 150, 0.7);
    transform: translateY(-2px);
  }
}
/* Mobile optimization */
@media (max-width: 600px) {
  .rules-btn {
    padding: 14px 32px;
    font-size: 1.15rem;
  }

  .rule-section h2 {
    font-size: 1.3rem;
  }

  .back-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}
