/* style/faq-game-rules.css */
.page-faq-game-rules {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2342; /* Deep blue primary background */
}

.page-faq-game-rules__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Darker blue gradient */
  padding: 80px 20px;
  text-align: center;
  border-bottom: 3px solid #FFD700; /* Gold accent */
}

.page-faq-game-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq-game-rules__title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-faq-game-rules__subtitle {
  font-size: 1.4em;
  color: #B0C4DE; /* Lighter blue-gray for subtitle */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq-game-rules__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2342; /* Deep blue text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq-game-rules__cta-button:hover {
  background-color: #E6C200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-faq-game-rules__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
}

.page-faq-game-rules__section {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq-game-rules__section:last-of-type {
  border-bottom: none;
}

.page-faq-game-rules__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-faq-game-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-faq-game-rules__general-rules p,
.page-faq-game-rules__game-specific-rules p,
.page-faq-game-rules__limits-payment p,
.page-faq-game-rules__faq p,
.page-faq-game-rules__support p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-faq-game-rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-faq-game-rules__grid-item {
  background-color: #1A3F6C; /* Slightly lighter blue for grid items */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-faq-game-rules__grid-item:hover {
  transform: translateY(-5px);
}

.page-faq-game-rules__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Gold tint for icons */
}

.page-faq-game-rules__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub-titles */
  margin-bottom: 15px;
}

.page-faq-game-rules__game-category {
  background-color: #1A3F6C;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__game-category .page-faq-game-rules__sub-title {
  text-align: left;
  margin-top: 0;
  border-bottom: 2px solid rgba(255, 215, 0, 0.4);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.page-faq-game-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-faq-game-rules__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05em;
}

.page-faq-game-rules__list strong {
  color: #FFD700;
}

.page-faq-game-rules__image-inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__accordion {
  margin-top: 30px;
}

.page-faq-game-rules__accordion-item {
  background-color: #1A3F6C;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__accordion-header {
  color: #FFD700; /* Gold for accordion headers */
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.3em;
  margin: 0;
  position: relative;
  user-select: none;
  background-color: #1A3F6C;
  transition: background-color 0.3s ease;
}

.page-faq-game-rules__accordion-header:hover {
  background-color: #2A5380;
}

.page-faq-game-rules__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq-game-rules__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-faq-game-rules__accordion-content {
  padding: 0 25px;
  background-color: #0A2342; /* Deep blue for content */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq-game-rules__accordion-content p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  color: #B0C4DE;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq-game-rules__title {
    font-size: 2.5em;
  }

  .page-faq-game-rules__subtitle {
    font-size: 1.2em;
  }

  .page-faq-game-rules__section-title {
    font-size: 2em;
  }

  .page-faq-game-rules__sub-title {
    font-size: 1.5em;
  }

  .page-faq-game-rules__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-faq-game-rules__hero {
    padding: 60px 15px;
  }

  .page-faq-game-rules__title {
    font-size: 2em;
  }

  .page-faq-game-rules__subtitle {
    font-size: 1em;
  }

  .page-faq-game-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-faq-game-rules__section {
    padding: 40px 15px;
  }

  .page-faq-game-rules__section-title {
    font-size: 1.8em;
  }

  .page-faq-game-rules__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq-game-rules__accordion-header::after {
    right: 20px;
  }

  .page-faq-game-rules__accordion-content {
    padding: 0 20px;
  }
  .page-faq-game-rules__general-rules p,
  .page-faq-game-rules__game-specific-rules p,
  .page-faq-game-rules__limits-payment p,
  .page-faq-game-rules__faq p,
  .page-faq-game-rules__support p {
    font-size: 0.95em;
  }
}