.page-live-game-rules {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

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

.page-live-game-rules__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px; /* Adjusted padding-top to ensure content is not hidden by header */
  background-color: #1A202C;
  overflow: hidden;
}

.page-live-game-rules__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-live-game-rules__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-live-game-rules__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-live-game-rules__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-game-rules__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-live-game-rules__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-live-game-rules__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live-game-rules__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin: 60px 0 30px;
  position: relative;
}

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

.page-live-game-rules__section-paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

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

.page-live-game-rules__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  min-height: 250px; /* Ensure sufficient size for content */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-live-game-rules__card:hover {
  transform: translateY(-10px);
}

.page-live-game-rules__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live-game-rules__card-text {
  font-size: 1em;
  color: #cccccc;
}

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

.page-live-game-rules__rule-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-live-game-rules__rule-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-live-game-rules__rule-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-live-game-rules__game-rules-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-live-game-rules__game-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
}

.page-live-game-rules__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block; /* Ensure image is block level */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live-game-rules__game-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-live-game-rules__game-details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-live-game-rules__game-details-list li {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 12px 15px;
  margin-bottom: 8px;
  border-radius: 6px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-live-game-rules__game-details-list li strong {
  color: #FFD700;
}

.page-live-game-rules__button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  text-align: center;
}

.page-live-game-rules__button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live-game-rules__limits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-live-game-rules__limits-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #FFD700;
  border-radius: 6px;
  padding: 20px;
  color: #e0e0e0;
  font-size: 1em;
}

.page-live-game-rules__limits-list li strong {
  color: #FFD700;
}

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

.page-live-game-rules__info-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure sufficient size for content */
}

.page-live-game-rules__info-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live-game-rules__info-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live-game-rules__info-text {
  font-size: 1em;
  color: #cccccc;
}

.page-live-game-rules__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-live-game-rules__tips-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-live-game-rules__tips-list li strong {
  color: #FFD700;
}

.page-live-game-rules__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-live-game-rules__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-live-game-rules__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
}

.page-live-game-rules__cta-section {
  background-color: #1A202C;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-live-game-rules__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-live-game-rules__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-live-game-rules__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-live-game-rules__button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-live-game-rules__button--primary:hover {
  background-color: #e6c200;
}

.page-live-game-rules__button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-live-game-rules__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-game-rules__hero-title {
    font-size: 3em;
  }
  .page-live-game-rules__section-title {
    font-size: 2.2em;
  }
  .page-live-game-rules__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-live-game-rules__hero-section {
    padding: 100px 15px 40px;
  }
  .page-live-game-rules__hero-title {
    font-size: 2.5em;
  }
  .page-live-game-rules__hero-description {
    font-size: 1.1em;
  }
  .page-live-game-rules__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-live-game-rules__section-title {
    font-size: 2em;
    margin: 40px 0 25px;
  }
  .page-live-game-rules__section-paragraph {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live-game-rules__card-grid, .page-live-game-rules__rules-list, .page-live-game-rules__info-grid, .page-live-game-rules__cta-buttons {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live-game-rules__game-title {
    font-size: 1.8em;
  }
  .page-live-game-rules__game-image, .page-live-game-rules__info-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-live-game-rules__cta-title {
    font-size: 2em;
  }
  .page-live-game-rules__cta-description {
    font-size: 1em;
  }
  .page-live-game-rules__button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-live-game-rules__tips-list li, .page-live-game-rules__limits-list li, .page-live-game-rules__faq-item {
    font-size: 1em;
    padding: 15px;
  }
  /* Ensure all images within content area are responsive and not smaller than 200px */
  .page-live-game-rules img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live-game-rules__hero-title {
    font-size: 2em;
  }
  .page-live-game-rules__section-title {
    font-size: 1.8em;
  }
  .page-live-game-rules__cta-title {
    font-size: 1.8em;
  }
  .page-live-game-rules__hero-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-live-game-rules__button {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}