.page-casino-table-games {
  color: #333333; /* Default text color for light body background */
}

.page-casino-table-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-casino-table-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-casino-table-games__hero-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  padding: 40px;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  border-radius: 10px;
  z-index: 1;
}

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF; /* White for contrast against dark overlay */
  line-height: 1.2;
}

.page-casino-table-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-casino-table-games__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino-table-games__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino-table-games__hero-button--register:hover {
  background-color: #f0f0f0;
}

.page-casino-table-games__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino-table-games__hero-button--login:hover {
  background-color: #e0a53b;
}

.page-casino-table-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-casino-table-games__introduction-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__why-phlove33-section,
.page-casino-table-games__promotions-cta,
.page-casino-table-games__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.page-casino-table-games__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino-table-games__game-showcase {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-casino-table-games__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino-table-games__game-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino-table-games__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino-table-games__game-card-title a:hover {
  color: #FCBC45;
}

.page-casino-table-games__game-card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-casino-table-games__game-card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__game-card-button:hover {
  background-color: #e0a53b;
}

.page-casino-table-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino-table-games__button:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-casino-table-games__why-phlove33-section {
  background-color: #FFFFFF;
}

.page-casino-table-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-casino-table-games__feature-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino-table-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-casino-table-games__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino-table-games__feature-title {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-casino-table-games__feature-description {
  font-size: 0.9em;
  color: #666666;
  line-height: 1.6;
}

.page-casino-table-games__promotions-cta {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-casino-table-games__promotions-cta .page-casino-table-games__section-title {
  color: #FFFFFF;
}

.page-casino-table-games__promotions-cta .page-casino-table-games__section-text {
  color: #e0e0e0;
}

.page-casino-table-games__promotions-cta .page-casino-table-games__button {
  margin: 10px;
}

.page-casino-table-games__button--view-promo {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino-table-games__button--view-promo:hover {
  background-color: #f0f0f0;
  color: #000000;
}

.page-casino-table-games__button--join-now {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino-table-games__button--join-now:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-casino-table-games__faq-list {
  margin-top: 40px;
}

.page-casino-table-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-casino-table-games__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino-table-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
}

.page-casino-table-games__faq-question.active::after {
  content: '-';
}

.page-casino-table-games__faq-answer {
  font-size: 1em;
  color: #444444;
  line-height: 1.6;
  display: none;
}

.page-casino-table-games__faq-answer.active {
  display: block;
}

.page-casino-table-games__faq-item .page-casino-table-games__faq-answer a {
  color: #000000;
  text-decoration: underline;
}

.page-casino-table-games__faq-item .page-casino-table-games__faq-answer a:hover {
  color: #FCBC45;
}

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

  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }

  .page-casino-table-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 80px);
  }

  .page-casino-table-games__hero-overlay {
    padding: 30px 20px;
  }

  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }

  .page-casino-table-games__hero-description {
    font-size: 1em;
  }

  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino-table-games__hero-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-casino-table-games__content-area {
    padding: 30px 15px;
  }

  .page-casino-table-games__introduction-section,
  .page-casino-table-games__strategy-section,
  .page-casino-table-games__why-phlove33-section,
  .page-casino-table-games__promotions-cta,
  .page-casino-table-games__faq-section {
    padding: 40px 0;
  }

  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }

  .page-casino-table-games__section-text {
    font-size: 0.95em;
  }

  .page-casino-table-games__game-card-image,
  .page-casino-table-games__feature-icon {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-casino-table-games__feature-icon {
    min-width: 200px;
    min-height: 150px; /* Adjust min-height for feature icons as needed, but not less than 200px wide */
  }

  .page-casino-table-games__game-card-image {
    height: 200px; /* Maintain a consistent height on mobile */
  }

  .page-casino-table-games__feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 1.8em;
  }

  .page-casino-table-games__hero-description {
    font-size: 0.9em;
  }

  .page-casino-table-games__hero-overlay {
    padding: 20px 15px;
  }

  .page-casino-table-games__hero-button {
    padding: 12px 20px;
  }

  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }

  .page-casino-table-games__game-card-title {
    font-size: 1.3em;
  }

  .page-casino-table-games__faq-question {
    font-size: 1.1em;
  }
}