/* style/live-roulette-rules.css */
.page-live-roulette-rules {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Inherited from body, but explicitly set for clarity */
}

.page-live-roulette-rules__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 40px; /* Add header offset for desktop */
  background-color: #1A202C; /* Main brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-live-roulette-rules__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 30px;
  }
}

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

.page-live-roulette-rules__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-live-roulette-rules__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-live-roulette-rules__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Accent color for title */
}

.page-live-roulette-rules__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

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

.page-live-roulette-rules__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-live-roulette-rules__sub-section-title {
  font-size: 2em;
  color: #1A202C;
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-live-roulette-rules__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live-roulette-rules__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-live-roulette-rules__text-block a:hover {
  text-decoration: underline;
}

.page-live-roulette-rules__image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-live-roulette-rules__image-item {
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-live-roulette-rules__image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-live-roulette-rules__image-caption {
  font-size: 1.5em;
  color: #1A202C;
  margin: 20px 0 10px;
}

.page-live-roulette-rules__image-item .page-live-roulette-rules__text-block {
  padding: 0 20px;
  font-size: 1em;
}

.page-live-roulette-rules__bet-list,
.page-live-roulette-rules__strategy-list,
.page-live-roulette-rules__gameplay-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-live-roulette-rules__bet-item,
.page-live-roulette-rules__strategy-item,
.page-live-roulette-rules__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease;
}

.page-live-roulette-rules__bet-item:hover,
.page-live-roulette-rules__strategy-item:hover,
.page-live-roulette-rules__step-item:hover {
  transform: translateY(-5px);
}

.page-live-roulette-rules__bet-title,
.page-live-roulette-rules__strategy-title,
.page-live-roulette-rules__step-title {
  font-size: 1.4em;
  color: #1A202C;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-live-roulette-rules__bet-description,
.page-live-roulette-rules__strategy-description,
.page-live-roulette-rules__step-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-live-roulette-rules__bet-payout {
  font-size: 1.1em;
  color: #FFD700;
  font-weight: 700;
  margin-top: 15px;
}

.page-live-roulette-rules__step-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  min-height: 200px;
}

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

.page-live-roulette-rules__cta-section .page-live-roulette-rules__section-title {
  color: #FFD700;
}

.page-live-roulette-rules__cta-section .page-live-roulette-rules__section-title::after {
  background-color: #ffffff;
}

.page-live-roulette-rules__cta-section .page-live-roulette-rules__text-block {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.2em;
}

.page-live-roulette-rules__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-live-roulette-rules__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.page-live-roulette-rules__cta-button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-live-roulette-rules__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-live-roulette-rules__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-live-roulette-rules__download-text {
  font-size: 1.1em;
}

.page-live-roulette-rules__download-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-live-roulette-rules__download-text a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live-roulette-rules__hero-title {
    font-size: 2.8em;
  }
  .page-live-roulette-rules__hero-description {
    font-size: 1.1em;
  }
  .page-live-roulette-rules__section-title {
    font-size: 2em;
  }
  .page-live-roulette-rules__sub-section-title {
    font-size: 1.7em;
  }
  .page-live-roulette-rules__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-live-roulette-rules__hero-title {
    font-size: 2.2em;
  }
  .page-live-roulette-rules__hero-description {
    font-size: 1em;
  }
  .page-live-roulette-rules__image-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-live-roulette-rules__bet-list,
  .page-live-roulette-rules__strategy-list,
  .page-live-roulette-rules__gameplay-steps {
    grid-template-columns: 1fr;
  }
  .page-live-roulette-rules__cta-section .page-live-roulette-rules__text-block {
    font-size: 1em;
  }
  .page-live-roulette-rules__button-group {
    flex-direction: column;
  }
  .page-live-roulette-rules__hero-image img,
  .page-live-roulette-rules__image-item img,
  .page-live-roulette-rules__step-item img {
    max-width: 100%;
    height: auto;
  }
  .page-live-roulette-rules__container {
    padding: 30px 15px;
  }
}

/* Ensure content area images are not too small on mobile */
@media (max-width: 768px) {
  .page-live-roulette-rules img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small, but responsive */
    min-height: 200px;
  }
}

/* Ensure no image filter */
.page-live-roulette-rules img {
  filter: none; /* Absolutely no CSS filter to change image color */
}