/* style/help-center-game-rules.css */
.page-help-center-game-rules {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Hero Section */
.page-help-center-game-rules__hero {
  background: linear-gradient(135deg, #003366, #001a33);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-help-center-game-rules__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,gaming,lights,dark_blue]') no-repeat center center / cover;
  opacity: 0.1;
  z-index: 0;
}

.page-help-center-game-rules__hero .page-help-center-game-rules__container {
  position: relative;
  z-index: 1;
}

.page-help-center-game-rules__title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFCC00;
  font-weight: bold;
}

.page-help-center-game-rules__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* General Section Styles */
.page-help-center-game-rules__section {
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.page-help-center-game-rules__section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-help-center-game-rules__section-title {
  font-size: 2.2em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-help-center-game-rules__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-help-center-game-rules__description {
  text-align: center;
  max-width: 900px;
  margin: -20px auto 40px;
  font-size: 1.1em;
  color: #555;
}

/* Container */
.page-help-center-game-rules__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.page-help-center-game-rules__cta-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-help-center-game-rules__cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-help-center-game-rules__link-button {
  display: inline-block;
  background-color: transparent;
  color: #003366;
  padding: 10px 20px;
  border: 2px solid #003366;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-help-center-game-rules__link-button:hover {
  background-color: #003366;
  color: #ffffff;
}

.page-help-center-game-rules__cta-small {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-help-center-game-rules__cta-small:hover {
  background-color: #e6b800;
}

/* General Rules Section */
.page-help-center-game-rules__general-rules .page-help-center-game-rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-help-center-game-rules__rule-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-help-center-game-rules__rule-item:hover {
  transform: translateY(-5px);
}

.page-help-center-game-rules__rule-item .page-help-center-game-rules__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-help-center-game-rules__rule-item h3 {
  color: #003366;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-help-center-game-rules__rule-item p {
  color: #555;
}

/* Game Categories Section */
.page-help-center-game-rules__game-categories {
  background-color: #f8f9fa;
}

.page-help-center-game-rules__category-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  flex-wrap: wrap;
}

.page-help-center-game-rules__category-card--reverse {
  flex-direction: row-reverse;
}

.page-help-center-game-rules__category-image {
  width: 50%;
  height: 350px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-help-center-game-rules__category-content {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

.page-help-center-game-rules__category-content h3 {
  color: #003366;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-help-center-game-rules__category-content p {
  color: #444;
  margin-bottom: 15px;
}

.page-help-center-game-rules__category-content ul {
  list-style-type: disc;
  margin-left: 25px;
  color: #555;
}

.page-help-center-game-rules__category-content ul li {
  margin-bottom: 8px;
}

/* Tips Section */
.page-help-center-game-rules__tips {
  background-color: #ffffff;
}

.page-help-center-game-rules__tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-help-center-game-rules__tip-item {
  background-color: #f0f7ff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #d0e0f0;
}

.page-help-center-game-rules__tip-item .page-help-center-game-rules__tip-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.page-help-center-game-rules__tip-item h4 {
  color: #003366;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-help-center-game-rules__tip-item p {
  color: #555;
}

/* FAQ Section */
.page-help-center-game-rules__faq {
  background-color: #f8f9fa;
}

.page-help-center-game-rules__faq-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-help-center-game-rules__faq-question {
  color: #003366;
  font-size: 1.25em;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-help-center-game-rules__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFCC00;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-help-center-game-rules__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-help-center-game-rules__faq-answer {
  color: #666;
  font-size: 1.05em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, border-top 0.3s ease-out;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

.page-help-center-game-rules__faq-answer.active {
  max-height: 500px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

/* CTA Banner */
.page-help-center-game-rules__cta-banner {
  background: #003366;
  color: #ffffff;
  padding: 70px 20px;
  text-align: center;
}

.page-help-center-game-rules__banner-title {
  font-size: 2.5em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-help-center-game-rules__banner-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-help-center-game-rules__banner-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-help-center-game-rules__cta-button--primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-help-center-game-rules__cta-button--primary:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-help-center-game-rules__cta-button--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-help-center-game-rules__cta-button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}


/* Responsive Design */
@media (max-width: 992px) {
  .page-help-center-game-rules__title {
    font-size: 2.2em;
  }
  .page-help-center-game-rules__section-title {
    font-size: 1.8em;
  }
  .page-help-center-game-rules__category-card,
  .page-help-center-game-rules__category-card--reverse {
    flex-direction: column;
  }
  .page-help-center-game-rules__category-image,
  .page-help-center-game-rules__category-content {
    width: 100%;
    padding: 30px;
  }
  .page-help-center-game-rules__category-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-help-center-game-rules__hero {
    padding: 60px 15px;
  }
  .page-help-center-game-rules__title {
    font-size: 1.8em;
  }
  .page-help-center-game-rules__subtitle {
    font-size: 1em;
  }
  .page-help-center-game-rules__section {
    padding: 40px 15px;
  }
  .page-help-center-game-rules__section-title {
    font-size: 1.6em;
  }
  .page-help-center-game-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-help-center-game-rules__banner-title {
    font-size: 2em;
  }
  .page-help-center-game-rules__banner-text {
    font-size: 1em;
  }
  .page-help-center-game-rules__banner-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-help-center-game-rules__hero {
    padding: 40px 10px;
  }
  .page-help-center-game-rules__title {
    font-size: 1.5em;
  }
  .page-help-center-game-rules__section {
    padding: 30px 10px;
  }
  .page-help-center-game-rules__section-title {
    font-size: 1.4em;
  }
  .page-help-center-game-rules__rule-item,
  .page-help-center-game-rules__tip-item,
  .page-help-center-game-rules__faq-item {
    padding: 20px;
  }
}