.page-casino-live-dealer {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matching body background from shared.css */
}

.page-casino-live-dealer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-casino-live-dealer__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino-live-dealer__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-casino-live-dealer__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden;
  /* Assuming shared.css handles body padding-top, so hero can have its own padding */
  padding-top: 80px; 
}

.page-casino-live-dealer__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-casino-live-dealer__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino-live-dealer__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-casino-live-dealer__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.8); /* Allowed for background image to ensure text readability */
}

/* Buttons */
.page-casino-live-dealer__btn-primary,
.page-casino-live-dealer__btn-secondary {
  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, transform 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-live-dealer__btn-primary {
  background-color: #C30808; /* Specific color for Register/Login type buttons */
  color: #FFFF00; /* Specific font color for Register/Login type buttons */
  border: 2px solid #C30808;
}

.page-casino-live-dealer__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-casino-live-dealer__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-casino-live-dealer__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.page-casino-live-dealer__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-casino-live-dealer__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-casino-live-dealer__introduction-section {
  padding: 60px 0;
  background-color: #1e1e1e; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Games Section */
.page-casino-live-dealer__games-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-casino-live-dealer__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino-live-dealer__game-card:hover {
  transform: translateY(-10px);
}

.page-casino-live-dealer__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-casino-live-dealer__card-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-live-dealer__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page-casino-live-dealer__benefits-section {
  padding: 60px 0;
  background-color: #1e1e1e;
  color: #ffffff;
}

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

.page-casino-live-dealer__benefits-text {
  flex: 1;
}

.page-casino-live-dealer__benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-casino-live-dealer__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23017439" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-casino-live-dealer__benefits-list li strong {
  color: #ffffff;
}

.page-casino-live-dealer__benefits-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino-live-dealer__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-live-dealer__image-center {
  display: block;
  margin: 40px auto 0 auto;
}

/* Getting Started Section */
.page-casino-live-dealer__getting-started-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-casino-live-dealer__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino-live-dealer__step-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-live-dealer__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-casino-live-dealer__promotions-section {
  padding: 60px 0;
  background-color: #1e1e1e;
  color: #ffffff;
}

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

.page-casino-live-dealer__promo-card {
  background-color: #017439; /* Primary brand color for promo cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Video Section */
.page-casino-live-dealer__video-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
  text-align: center;
}

.page-casino-live-dealer__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-live-dealer__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* FAQ Section */
.page-casino-live-dealer__faq-section {
  padding: 60px 0;
  background-color: #1e1e1e;
  color: #ffffff;
}

.page-casino-live-dealer__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-casino-live-dealer__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino-live-dealer__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Primary color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-casino-live-dealer__faq-question:hover {
  background-color: #005f2f;
}

.page-casino-live-dealer__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em; /* Ensure h3 inside question is readable */
}

.page-casino-live-dealer__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-casino-live-dealer__faq-item.active .page-casino-live-dealer__faq-toggle {
  transform: rotate(45deg);
}

.page-casino-live-dealer__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.03);
  color: #f0f0f0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-casino-live-dealer__faq-item.active .page-casino-live-dealer__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-casino-live-dealer__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-casino-live-dealer__cta-section {
  padding: 80px 0;
  background-color: #017439; /* Primary brand color for CTA background */
  color: #ffffff;
  text-align: center;
}

.page-casino-live-dealer__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino-live-dealer__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-live-dealer__hero-title {
    font-size: 3em;
  }
  .page-casino-live-dealer__hero-description {
    font-size: 1.1em;
  }
  .page-casino-live-dealer__section-title {
    font-size: 2em;
  }
  .page-casino-live-dealer__benefits-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-casino-live-dealer {
    font-size: 15px;
  }

  .page-casino-live-dealer__hero-section {
    padding-top: 60px; /* Adjust for mobile header offset if needed, assuming shared.css handles body padding */
    padding-bottom: 60px;
  }

  .page-casino-live-dealer__hero-title {
    font-size: 2.2em;
  }

  .page-casino-live-dealer__hero-description {
    font-size: 1em;
  }

  .page-casino-live-dealer__section-title {
    font-size: 1.8em;
  }

  .page-casino-live-dealer__text-block,
  .page-casino-live-dealer__card-description,
  .page-casino-live-dealer__step-description,
  .page-casino-live-dealer__benefits-list li,
  .page-casino-live-dealer__faq-answer p {
    font-size: 0.95em;
  }

  .page-casino-live-dealer__game-grid,
  .page-casino-live-dealer__steps-grid,
  .page-casino-live-dealer__promo-cards {
    grid-template-columns: 1fr;
  }

  /* Force responsive for all images */
  .page-casino-live-dealer img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive for all video elements */
  .page-casino-live-dealer video,
  .page-casino-live-dealer__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive for all content containers that might hold images/videos/buttons */
  .page-casino-live-dealer__section,
  .page-casino-live-dealer__card,
  .page-casino-live-dealer__container,
  .page-casino-live-dealer__video-section,
  .page-casino-live-dealer__video-container,
  .page-casino-live-dealer__video-wrapper,
  .page-casino-live-dealer__cta-buttons,
  .page-casino-live-dealer__button-group,
  .page-casino-live-dealer__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  /* Specific padding-top for video section on mobile */
  .page-casino-live-dealer__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Force responsive for all buttons */
  .page-casino-live-dealer__btn-primary,
  .page-casino-live-dealer__btn-secondary,
  .page-casino-live-dealer a[class*="button"],
  .page-casino-live-dealer a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-casino-live-dealer__hero-buttons,
  .page-casino-live-dealer__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-casino-live-dealer__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-casino-live-dealer__faq-question h3 {
    font-size: 1em;
  }
  .page-casino-live-dealer__faq-answer {
    padding: 0 20px;
  }
  .page-casino-live-dealer__faq-item.active .page-casino-live-dealer__faq-answer {
    padding: 15px 20px;
  }

  .page-casino-live-dealer__benefits-image-wrapper {
    order: -1; /* Image first on mobile */
  }
}

@media (max-width: 480px) {
  .page-casino-live-dealer__hero-title {
    font-size: 1.8em;
  }
  .page-casino-live-dealer__section-title {
    font-size: 1.5em;
  }
}