.page-game-rules {
  background-color: #B71C1C;
  color: #FFF5E1;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-game-rules__hero-section {
  padding-top: 10px; /* Small top padding as per rules */
  margin-bottom: 40px;
  text-align: center;
  background-color: #C91F17; /* Main color for hero background */
}

.page-game-rules__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-game-rules__hero-content {
  padding: 30px 15px 50px;
}

.page-game-rules__main-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F4D34D; /* Gold color for main title */
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.7); /* Glow effect */
}

.page-game-rules__description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF5E1;
}

.page-game-rules__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for button text */
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(244, 211, 77, 0.4);
}

.page-game-rules__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 211, 77, 0.6);
}

.page-game-rules__section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F4D34D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  text-shadow: 0 0 5px rgba(255, 204, 102, 0.5);
}

.page-game-rules__introduction-section,
.page-game-rules__general-rules-section,
.page-game-rules__specific-rules-section,
.page-game-rules__faq-section,
.page-game-rules__cta-bottom-section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-game-rules__text-content {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF5E1;
  text-align: justify;
}

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

.page-game-rules__rule-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #E53935; /* Auxiliary color for border */
}

.page-game-rules__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFCC66; /* Glow color for card titles */
  margin-bottom: 10px;
}

.page-game-rules__card-text {
  font-size: 0.95rem;
  color: #FFF5E1;
}

.page-game-rules__game-type-card {
  display: flex;
  flex-direction: column;
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid #E53935; /* Auxiliary color for border */
}

.page-game-rules__game-type-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-game-rules__game-type-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-game-rules__game-type-content {
  padding: 25px;
}

.page-game-rules__game-type-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F4D34D; /* Gold color */
  margin-bottom: 15px;
}

.page-game-rules__rule-list {
  list-style: disc;
  padding-left: 25px;
  color: #FFF5E1;
}

.page-game-rules__rule-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.page-game-rules__rule-list a {
  color: #FFCC66; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-rules__rule-list a:hover {
  color: #F2B544; /* Border color for hover */
}

.page-game-rules__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #E53935;
}

.page-game-rules__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFCC66; /* Glow color */
  margin-bottom: 10px;
}

.page-game-rules__faq-answer {
  font-size: 1rem;
  color: #FFF5E1;
}

.page-game-rules__cta-bottom-section {
  text-align: center;
  padding-bottom: 60px;
  background-color: #C91F17;
}

.page-game-rules__cta-button--large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-game-rules__hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .page-game-rules__hero-image-wrapper {
    order: 1;
  }
  .page-game-rules__hero-content {
    order: 2;
    padding-top: 0;
    padding-bottom: 50px;
  }
  .page-game-rules__game-type-card {
    flex-direction: row;
    align-items: center;
  }
  .page-game-rules__game-type-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  .page-game-rules__game-type-image-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .page-game-rules__game-type-content {
    flex: 1;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-game-rules__text-content {
    text-align: left;
  }
  .page-game-rules__grid {
    grid-template-columns: 1fr;
  }
  .page-game-rules__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-rules__game-type-card {
    flex-direction: column; /* Ensure stack on small screens */
  }
  .page-game-rules__game-type-image-wrapper {
    max-width: 100%;
  }
  .page-game-rules__game-type-image {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must not display smaller than 200px */
  .page-game-rules__game-type-image,
  .page-game-rules__rule-card img { /* if there were images in rule cards */
    min-width: 200px;
    min-height: 200px;
  }
}

/* Ensure images in content area are responsive and meet min size */
.page-game-rules img {
  max-width: 100%;
  height: auto;
  display: block; /* Important for max-width to work correctly */
}

/* Ensure no filter is applied to images */
.page-game-rules img {
  filter: none !important;
}

/* Specific rule for content area images to ensure min size */
.page-game-rules__game-type-image {
  width: 100%; /* Overrides explicit width/height to be responsive */
  height: auto; /* Overrides explicit width/height to be responsive */
  min-width: 200px;
  min-height: 200px;
}