.page-red88-community-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #36454F; /* Charcoal Grey for main text */
  background-color: #f8f8f8;
}

.page-red88-community-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-red88-community-rules__hero-section {
  background: linear-gradient(135deg, #DC143C, #8B0000); /* Darker crimson for depth */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.page-red88-community-rules__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-red88-community-rules__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-red88-community-rules__hero-button {
  display: inline-block;
  background-color: #f8f8f8; /* Light background for contrast */
  color: #DC143C; /* Crimson text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #f8f8f8;
}

.page-red88-community-rules__hero-button:hover {
  background-color: #DC143C;
  color: #ffffff;
  border-color: #ffffff;
}

.page-red88-community-rules__content-section {
  padding: 60px 0;
}

.page-red88-community-rules__article {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-red88-community-rules__section-title {
  font-size: 2em;
  color: #DC143C; /* Crimson for main titles */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #f0f0f0;
  padding-bottom: 10px;
}

.page-red88-community-rules__article h3 {
  font-size: 1.5em;
  color: #36454F; /* Charcoal Grey for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-red88-community-rules__article p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #36454F;
}

.page-red88-community-rules__article strong {
  color: #DC143C;
}

.page-red88-community-rules__list,
.page-red88-community-rules__numbered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #36454F;
}

.page-red88-community-rules__numbered-list {
  list-style-type: decimal;
}

.page-red88-community-rules__list li,
.page-red88-community-rules__numbered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-red88-community-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-red88-community-rules__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #fdf2f2; /* Very light crimson background */
  border-radius: 8px;
  border: 1px solid #f0dcdc;
}

.page-red88-community-rules__cta-button {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  border: none;
}

.page-red88-community-rules__cta-button:hover {
  background-color: #A50F2C; /* Darker crimson on hover */
  transform: translateY(-3px);
}

.page-red88-community-rules__cta-button--secondary {
  background-color: #36454F;
}

.page-red88-community-rules__cta-button--secondary:hover {
  background-color: #1a2228;
}

@media (max-width: 768px) {
  .page-red88-community-rules__hero-title {
    font-size: 2.5em;
  }

  .page-red88-community-rules__hero-subtitle {
    font-size: 1.1em;
  }

  .page-red88-community-rules__section-title {
    font-size: 1.8em;
  }

  .page-red88-community-rules__article {
    padding: 20px;
  }

  .page-red88-community-rules__cta-button {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .page-red88-community-rules__hero-title {
    font-size: 2em;
  }

  .page-red88-community-rules__hero-subtitle {
    font-size: 1em;
  }

  .page-red88-community-rules__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-red88-community-rules__section-title {
    font-size: 1.5em;
  }

  .page-red88-community-rules__article p,
  .page-red88-community-rules__list li,
  .page-red88-community-rules__numbered-list li {
    font-size: 0.95em;
  }

  .page-red88-community-rules__cta-section {
    flex-direction: column;
  }

  .page-red88-community-rules__cta-button {
    width: 90%;
    margin: 10px auto;
  }
}