.page-live-roulette {
  color: #333333; /* Dark text for light body background */
}

.page-live-roulette__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-live-roulette__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 20px;
}

.page-live-roulette__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-live-roulette__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #F0F0F0;
}

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

.page-live-roulette__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live-roulette__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-roulette__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-live-roulette__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live-roulette__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

.page-live-roulette__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-live-roulette__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-live-roulette__about-section,
.page-live-roulette__variants-section,
.page-live-roulette__how-to-play-section,
.page-live-roulette__strategy-section,
.page-live-roulette__why-choose-section,
.page-live-roulette__promo-section,
.page-live-roulette__faq-section,
.page-live-roulette__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live-roulette__about-section .page-live-roulette__text-content,
.page-live-roulette__how-to-play-section .page-live-roulette__text-content,
.page-live-roulette__strategy-section .page-live-roulette__text-content,
.page-live-roulette__why-choose-section .page-live-roulette__text-content,
.page-live-roulette__promo-section .page-live-roulette__text-content,
.page-live-roulette__faq-section .page-live-roulette__text-content,
.page-live-roulette__cta-section .page-live-roulette__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live-roulette__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min-width for content images */
  min-height: 200px; /* Enforce min-height for content images */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-live-roulette__variant-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-live-roulette__variant-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live-roulette__variant-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-live-roulette__button--tertiary {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-live-roulette__button--tertiary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live-roulette__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-live-roulette__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 20px;
  border-radius: 8px;
  background-color: #F8F8F8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-live-roulette__step-item::before {
  counter-increment: step-counter;
  content: "Step " counter(step-counter);
  font-size: 1.2em;
  font-weight: 700;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-live-roulette__step-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live-roulette__step-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-live-roulette__button--step {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1em;
}

.page-live-roulette__button--step:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-live-roulette__strategy-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-live-roulette__strategy-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live-roulette__strategy-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-live-roulette__disclaimer {
  font-size: 0.9em;
  color: #777777;
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

.page-live-roulette__image-content--strategy {
  margin-top: 40px;
}

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

.page-live-roulette__advantage-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-live-roulette__advantage-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live-roulette__advantage-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-live-roulette__image-content--mobile {
  margin: 20px auto;
}

.page-live-roulette__promo-banner-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-live-roulette__promo-banner {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce min-width for content images */
  min-height: 200px; /* Enforce min-height for content images */
}

.page-live-roulette__promo-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-live-roulette__faq-item {
  background-color: #F8F8F8;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-live-roulette__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live-roulette__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  display: none; /* Hidden by default */
  margin-top: 15px;
}

.page-live-roulette__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-live-roulette__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live-roulette__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-live-roulette__cta-section .page-live-roulette__section-title {
  color: #FFFFFF;
}

.page-live-roulette__cta-section .page-live-roulette__text-content {
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-roulette__hero-title {
    font-size: 3em;
  }
  .page-live-roulette__hero-description {
    font-size: 1.1em;
  }
  .page-live-roulette__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live-roulette__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 40px;
  }
  .page-live-roulette__hero-title {
    font-size: 2.5em;
  }
  .page-live-roulette__hero-description {
    font-size: 1em;
  }
  .page-live-roulette__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-roulette__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live-roulette__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-live-roulette__about-section,
  .page-live-roulette__variants-section,
  .page-live-roulette__how-to-play-section,
  .page-live-roulette__strategy-section,
  .page-live-roulette__why-choose-section,
  .page-live-roulette__promo-section,
  .page-live-roulette__faq-section,
  .page-live-roulette__cta-section {
    padding: 40px 0;
  }
  .page-live-roulette__text-content {
    font-size: 0.95em;
  }
  .page-live-roulette__variant-grid,
  .page-live-roulette__strategy-grid,
  .page-live-roulette__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live-roulette__step-item {
    padding: 15px;
  }
  .page-live-roulette__step-title {
    font-size: 1.5em;
  }
  .page-live-roulette__promo-buttons,
  .page-live-roulette__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Content area images must be responsive and not cause overflow */
  .page-live-roulette img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not overflow horizontally */
  .page-live-roulette {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-live-roulette__hero-title {
    font-size: 2em;
  }
  .page-live-roulette__hero-description {
    font-size: 0.9em;
  }
  .page-live-roulette__button {
    width: 90%;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live-roulette__section-title {
    font-size: 1.5em;
  }
  .page-live-roulette__variant-title,
  .page-live-roulette__strategy-title,
  .page-live-roulette__advantage-title {
    font-size: 1.5em;
  }
  .page-live-roulette__faq-question {
    font-size: 1.2em;
  }
}