.page-live-dealer-games {
  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 */
  background-color: #FFFFFF; /* Explicitly set background for page content */
}

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

.page-live-dealer-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live-dealer-games__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-dealer-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-live-dealer-games__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
  margin-right: 15px;
}

.page-live-dealer-games__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-live-dealer-games__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-dealer-games__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-live-dealer-games__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-live-dealer-games__button--primary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-live-dealer-games__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-live-dealer-games__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

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

.page-live-dealer-games__hero-title {
  font-size: 3.8em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.1;
}

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

.page-live-dealer-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-live-dealer-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Apply grayscale to background image for subtle effect */
}

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

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

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

.page-live-dealer-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-live-dealer-games__feature-image {
  width: 100%;
  height: 267px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

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

.page-live-dealer-games__feature-text {
  font-size: 1em;
  color: #666666;
}

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

.page-live-dealer-games__game-category {
  margin-bottom: 60px;
}

.page-live-dealer-games__game-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

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

.page-live-dealer-games__game-category--reverse .page-live-dealer-games__game-content-wrapper {
  flex-direction: row-reverse;
}

.page-live-dealer-games__game-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live-dealer-games__game-text {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-live-dealer-games__game-text p {
  margin-bottom: 20px;
}

.page-live-dealer-games__game-text a {
  margin-top: 20px;
}

/* Get Started Section */
.page-live-dealer-games__get-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-live-dealer-games__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-live-dealer-games__step-icon {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

.page-live-dealer-games__step-text {
  font-size: 1em;
  color: #666666;
}

.page-live-dealer-games__step-text a {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-live-dealer-games__step-text a:hover {
  color: #FCBC45;
}

.page-live-dealer-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-live-dealer-games__bonus-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-dealer-games__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-live-dealer-games__bonus-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-live-dealer-games__bonus-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

.page-live-dealer-games__security-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-live-dealer-games__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live-dealer-games__security-icon:hover {
  transform: scale(1.1);
}

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

.page-live-dealer-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-live-dealer-games__mobile-image {
  flex: 1;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live-dealer-games__mobile-text {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-live-dealer-games__mobile-text p {
  margin-bottom: 20px;
}

.page-live-dealer-games__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-live-dealer-games__button--download:hover {
  background-color: #333333;
}

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

.page-live-dealer-games__faq-items {
  margin-top: 50px;
}

.page-live-dealer-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.page-live-dealer-games__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-live-dealer-games__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-live-dealer-games__faq-answer a {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-live-dealer-games__faq-answer a:hover {
  color: #FCBC45;
}

/* Final CTA Section */
.page-live-dealer-games__cta-final-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-live-dealer-games__cta-final-section .page-live-dealer-games__section-title {
  color: #FCBC45;
}

.page-live-dealer-games__cta-final-section .page-live-dealer-games__section-description {
  color: #f0f0f0;
}

.page-live-dealer-games__cta-final-section .page-live-dealer-games__button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-dealer-games__cta-final-section .page-live-dealer-games__button:hover {
  background-color: #e0a53b;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-dealer-games__hero-title {
    font-size: 3em;
  }

  .page-live-dealer-games__section-title {
    font-size: 2em;
  }

  .page-live-dealer-games__game-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-live-dealer-games__game-category--reverse .page-live-dealer-games__game-content-wrapper {
    flex-direction: column;
  }

  .page-live-dealer-games__game-image {
    max-width: 100%;
  }

  .page-live-dealer-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live-dealer-games__mobile-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live-dealer-games__hero-title {
    font-size: 2.5em;
  }

  .page-live-dealer-games__hero-description {
    font-size: 1.1em;
  }

  .page-live-dealer-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-live-dealer-games__button--register {
    margin-right: 0;
  }

  .page-live-dealer-games__section-title {
    font-size: 1.8em;
  }

  .page-live-dealer-games__section-description {
    font-size: 1em;
  }

  .page-live-dealer-games__features-grid,
  .page-live-dealer-games__steps-grid,
  .page-live-dealer-games__bonus-grid {
    grid-template-columns: 1fr;
  }

  .page-live-dealer-games__security-icons {
    gap: 30px;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-live-dealer-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live-dealer-games__hero-title {
    font-size: 2em;
  }

  .page-live-dealer-games__section-title {
    font-size: 1.5em;
  }

  .page-live-dealer-games__feature-title,
  .page-live-dealer-games__game-title,
  .page-live-dealer-games__step-title,
  .page-live-dealer-games__bonus-title,
  .page-live-dealer-games__faq-question {
    font-size: 1.4em;
  }

  .page-live-dealer-games__security-icons {
    flex-direction: column;
  }
  
  .page-live-dealer-games__security-icon {
    width: 200px; /* Ensure it adheres to minimum size, but scales down */
    height: 200px;
  }
}