.page-casino-game-types {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

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

.page-casino-game-types__hero-section {
  background-image: linear-gradient(rgba(1, 116, 57, 0.7), rgba(1, 116, 57, 0.7)), url('[GALLERY:hero:1920x1080:live_casino_hero,dealer_table,excitement,sumclub_main]');
  background-size: cover;
  background-position: center;
  padding-top: 0; /* Assumes shared.css sets body padding-top */
  padding-bottom: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.page-casino-game-types__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Yellow for prominence */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-casino-game-types__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-game-types__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Yellow for prominence */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-casino-game-types__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-casino-game-types__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-game-types__introduction-section {
  background: #1a1a2e; /* Dark background from body */
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino-game-types__image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-casino-game-types__text-content {
  flex: 1;
}

.page-casino-game-types__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-casino-game-types__games-section {
  background: #017439; /* Primary brand color */
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-casino-game-types__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino-game-types__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino-game-types__game-title {
  font-size: 1.8em;
  margin: 15px 15px 10px;
  color: #FFFF00; /* Yellow for titles */
}

.page-casino-game-types__game-title a.page-casino-game-types__card-link {
  color: #FFFF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino-game-types__game-title a.page-casino-game-types__card-link:hover {
  color: #ffffff;
}

.page-casino-game-types__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino-game-types__btn-play {
  display: inline-block;
  background: #C30808; /* Red for play button */
  color: #FFFF00; /* Yellow text for play button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
}

.page-casino-game-types__btn-play:hover {
  background-color: #a00606;
  color: #ffffff;
}

.page-casino-game-types__providers-section {
  background: #1a1a2e;
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__provider-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.page-casino-game-types__provider-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-game-types__provider-item strong {
  color: #FFFF00;
}

.page-casino-game-types__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-game-types__benefits-section {
  background: #017439;
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-casino-game-types__benefit-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino-game-types__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
}

.page-casino-game-types__benefit-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-casino-game-types__benefit-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-casino-game-types__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-casino-game-types__cta-buttons--centered {
  justify-content: center;
}

.page-casino-game-types__btn-primary,
.page-casino-game-types__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-game-types__btn-primary {
  background: #C30808; /* Red for primary CTA */
  color: #FFFF00; /* Yellow text */
  border: 2px solid transparent;
}

.page-casino-game-types__btn-primary:hover {
  background-color: #a00606;
  color: #ffffff;
}

.page-casino-game-types__btn-secondary {
  background: #ffffff;
  color: #017439; /* Green text */
  border: 2px solid #017439;
}

.page-casino-game-types__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005a2e;
}

.page-casino-game-types__guide-section {
  background: #1a1a2e;
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__guide-content {
  display: flex;
  gap: 40px;
}

.page-casino-game-types__guide-steps,
.page-casino-game-types__guide-tips {
  flex: 1;
}

.page-casino-game-types__guide-subtitle {
  font-size: 2em;
  color: #FFFF00;
  margin-bottom: 25px;
}

.page-casino-game-types__step-list,
.page-casino-game-types__tip-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino-game-types__step-item,
.page-casino-game-types__tip-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino-game-types__step-item strong,
.page-casino-game-types__tip-item strong {
  color: #FFFF00;
}

.page-casino-game-types__image--right {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-casino-game-types__faq-section {
  background: #017439;
  padding: 80px 0;
  color: #ffffff;
}

.page-casino-game-types__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino-game-types__faq-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-game-types__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-casino-game-types__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-casino-game-types__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.page-casino-game-types__faq-item.active .page-casino-game-types__faq-toggle {
  transform: rotate(0deg); /* '−' sign does not need rotation */
}

.page-casino-game-types__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-casino-game-types__faq-item.active .page-casino-game-types__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 20px !important;
}

.page-casino-game-types__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

.page-casino-game-types__cta-final-section {
  background: #1a1a2e;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-casino-game-types__hero-title {
    font-size: 3em;
  }

  .page-casino-game-types__hero-description {
    font-size: 1.2em;
  }

  .page-casino-game-types__section-title {
    font-size: 2em;
  }

  .page-casino-game-types__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino-game-types__content-wrapper {
    flex-direction: column;
  }

  .page-casino-game-types__image {
    max-width: 80%;
  }

  .page-casino-game-types__guide-content {
    flex-direction: column;
  }

  .page-casino-game-types__image--right {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .page-casino-game-types__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-casino-game-types__hero-section {
    padding-top: 0 !important; /* Assuming shared.css handles body padding */
    padding-bottom: 60px !important;
    min-height: 60vh !important;
  }

  .page-casino-game-types__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
  }

  .page-casino-game-types__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  /* 产品展示图区域 */
  .page-casino-game-types__games-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-casino-game-types__game-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-casino-game-types__game-image {
    height: 200px !important;
  }

  /* 通用图片与容器 */
  .page-casino-game-types img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino-game-types__introduction-section,
  .page-casino-game-types__games-section,
  .page-casino-game-types__providers-section,
  .page-casino-game-types__benefits-section,
  .page-casino-game-types__guide-section,
  .page-casino-game-types__faq-section,
  .page-casino-game-types__cta-final-section {
    padding: 40px 0 !important;
  }

  .page-casino-game-types__content-wrapper,
  .page-casino-game-types__guide-content {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .page-casino-game-types__image {
    max-width: 100% !important;
  }

  /* 按钮与按钮容器 */
  .page-casino-game-types__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-casino-game-types__btn-primary,
  .page-casino-game-types__btn-secondary,
  .page-casino-game-types__btn-play {
    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;
  }

  /* Các loại khác */
  .page-casino-game-types__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }

  .page-casino-game-types__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  .page-casino-game-types__provider-list {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .page-casino-game-types__benefits-grid {
    grid-template-columns: 1fr !important;
  }

  .page-casino-game-types__benefit-icon {
    width: 80px !important;
    height: 80px !important;
  }

  .page-casino-game-types__benefit-title {
    font-size: 1.4em !important;
  }

  .page-casino-game-types__guide-subtitle {
    font-size: 1.6em !important;
  }

  .page-casino-game-types__faq-question {
    font-size: 1.1em !important;
    padding: 15px !important;
  }

  .page-casino-game-types__faq-answer {
    padding: 10px 15px !important;
  }

  .page-casino-game-types__faq-item.active .page-casino-game-types__faq-answer {
    padding: 10px 15px !important;
  }
}