.page-live-roulette {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-live-roulette__section-intro {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-live-roulette__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live-roulette__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-live-roulette__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

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

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

.page-live-roulette__cta-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #333333;
}

.page-live-roulette__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Hero Section */
.page-live-roulette__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px 20px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-live-roulette__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

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

.page-live-roulette__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-live-roulette__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Why Choose Section */
.page-live-roulette__why-choose-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-live-roulette__feature-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-roulette__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live-roulette__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live-roulette__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live-roulette__card-description {
  font-size: 1em;
  color: #555555;
}

.page-live-roulette__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* How to Play Section */
.page-live-roulette__how-to-play-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-live-roulette__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-live-roulette__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 60px;
}

.page-live-roulette__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Roulette Variants Section */
.page-live-roulette__roulette-variants-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

/* Betting Strategies Section */
.page-live-roulette__betting-strategies-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-live-roulette__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-live-roulette__content-text {
  flex: 1;
}

.page-live-roulette__content-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live-roulette__content-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-live-roulette__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-live-roulette__list-item {
  margin-bottom: 8px;
  font-size: 1em;
}

/* Mobile Experience Section */
.page-live-roulette__mobile-experience-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live-roulette__mobile-content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-live-roulette__mobile-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live-roulette__mobile-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-live-roulette__mobile-text {
  flex: 1;
}

/* Bonuses Section */
.page-live-roulette__bonuses-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-live-roulette__bonus-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Security Section */
.page-live-roulette__security-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live-roulette__security-content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-live-roulette__security-text {
  flex: 1;
}

.page-live-roulette__security-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live-roulette__security-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-live-roulette__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-live-roulette__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-live-roulette__faq-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.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__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-live-roulette__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

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

/* Final CTA Section */
.page-live-roulette__final-cta-section {
  padding: 80px 0;
  background-color: #FCBC45;
  color: #000000;
}

.page-live-roulette__final-cta-section .page-live-roulette__section-title,
.page-live-roulette__final-cta-section .page-live-roulette__section-intro {
  color: #000000;
}

.page-live-roulette__final-cta-section .page-live-roulette__cta-button--primary {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-live-roulette__final-cta-section .page-live-roulette__cta-button--primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live-roulette__final-cta-section .page-live-roulette__cta-button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-live-roulette__final-cta-section .page-live-roulette__cta-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-roulette__hero-title {
    font-size: 3em;
  }
  .page-live-roulette__section-title {
    font-size: 2.2em;
  }
  .page-live-roulette__content-flex, .page-live-roulette__mobile-content-flex, .page-live-roulette__security-content-flex {
    flex-direction: column;
    align-items: center;
  }
  .page-live-roulette__content-image-wrapper, .page-live-roulette__mobile-image-wrapper, .page-live-roulette__security-image-wrapper {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-live-roulette__hero-section {
    padding: 60px 20px 30px 20px;
  }
  .page-live-roulette__hero-title {
    font-size: 2.5em;
  }
  .page-live-roulette__hero-description {
    font-size: 1.1em;
  }
  .page-live-roulette__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-roulette__section-title {
    font-size: 1.8em;
  }
  .page-live-roulette__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live-roulette__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live-roulette__faq-question {
    font-size: 1.1em;
  }
  .page-live-roulette__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-roulette__hero-image-wrapper {
    opacity: 0.05;
  }
  .page-live-roulette__why-choose-section, .page-live-roulette__how-to-play-section, .page-live-roulette__roulette-variants-section, .page-live-roulette__betting-strategies-section, .page-live-roulette__mobile-experience-section, .page-live-roulette__bonuses-section, .page-live-roulette__security-section, .page-live-roulette__faq-section, .page-live-roulette__final-cta-section {
    padding: 50px 0;
  }
  /* Ensure content images are responsive and don't cause overflow */
  .page-live-roulette img {
    max-width: 100%;
    height: auto;
  }
  .page-live-roulette__content-image-wrapper, .page-live-roulette__mobile-image-wrapper, .page-live-roulette__security-image-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-live-roulette__hero-title {
    font-size: 2em;
  }
  .page-live-roulette__section-title {
    font-size: 1.6em;
  }
  .page-live-roulette__hero-cta {
    width: 100%;
  }
  .page-live-roulette__cta-button {
    width: 100%;
  }
  .page-live-roulette__cta-buttons {
    width: 100%;
  }
  .page-live-roulette__feature-image, .page-live-roulette__content-image, .page-live-roulette__mobile-image, .page-live-roulette__security-image {
    min-width: 200px; /* Enforce minimum size even on small screens */
    min-height: 200px;
  }
}