.page-game-rules {
  color: #FFF5E1; /* Text Main - ensured contrast with dark body background */
  background-color: #B71C1C; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-game-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-game-rules__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-rules__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and text */
}

.page-game-rules__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD86A; /* Gold for title - ensured contrast */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-rules__lead-paragraph {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
}

.page-game-rules__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-rules__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on primary button - ensured contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 0 15px #FFCC66; /* Glow */
}

.page-game-rules__cta-button--primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 20px #FFCC66;
  transform: translateY(-2px);
}

.page-game-rules__cta-button--secondary {
  background-color: transparent;
  color: #FFD86A; /* Gold for text on secondary button - ensured contrast */
  border: 2px solid #F2B544; /* Border */
}

.page-game-rules__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFF5E1;
  transform: translateY(-2px);
}

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

.page-game-rules__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-game-rules__section {
  padding: 60px 20px;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-game-rules__overview-section {
  background-color: #7A0E0E;
}

.page-game-rules__specific-games-section {
  background-color: #B71C1C;
}

.page-game-rules__responsible-gaming-section {
  background-color: #7A0E0E;
}

.page-game-rules__strategies-section {
  background-color: #B71C1C;
}

.page-game-rules__conclusion-section {
  background-color: #7A0E0E;
}

.page-game-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-rules__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #FFD86A; /* Gold for section titles - ensured contrast */
  margin-bottom: 30px;
  text-align: center;
}

.page-game-rules__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: #F4D34D; /* Gold for sub-titles - ensured contrast */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-rules p {
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
}

.page-game-rules__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-game-rules__list-item {
  margin-bottom: 10px;
  color: #FFF5E1; /* Text Main */
}

.page-game-rules__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544; /* Border */
}

.page-game-rules__faq-section {
  background-color: #D32F2F; /* Card BG */
  padding: 60px 20px;
}

.page-game-rules__faq-list {
  margin-top: 40px;
}

.page-game-rules__faq-item {
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for FAQ item */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #F2B544; /* Border */
}

.page-game-rules__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #FFD86A; /* Gold for FAQ question - ensured contrast */
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-game-rules__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-rules__faq-item summary:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.page-game-rules__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFF5E1; /* Text Main */
}

.page-game-rules__faq-answer {
  padding: 0 20px 20px;
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-game-rules__hero-content {
    padding: 20px 15px;
  }

  .page-game-rules__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-game-rules__lead-paragraph {
    font-size: 1rem;
  }

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

  .page-game-rules__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .page-game-rules__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  /* Images */
  .page-game-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-rules__container,
  .page-game-rules__hero-section,
  .page-game-rules__overview-section,
  .page-game-rules__specific-games-section,
  .page-game-rules__responsible-gaming-section,
  .page-game-rules__strategies-section,
  .page-game-rules__faq-section,
  .page-game-rules__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-game-rules__cta-button,
  .page-game-rules__cta-button--primary,
  .page-game-rules__cta-button--secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-rules__video-section {
    padding-top: 10px !important;
  }
}