.page-slot-games {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background-color: #F4F7FB;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image to container width */
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient for hero content bg */
  color: #ffffff; /* White text for dark background */
  margin-top: -60px; /* Overlap with image for visual effect */
  position: relative;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Border color */
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

.page-slot-games__sicbo-connection-section,
.page-slot-games__strategy-guide-section,
.page-slot-games__cta-final-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main color gradient */
  color: #ffffff;
}

.page-slot-games__sicbo-connection-section .page-slot-games__section-title,
.page-slot-games__strategy-guide-section .page-slot-games__section-title,
.page-slot-games__cta-final-section .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__sicbo-strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__sicbo-strategy-list .page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #6FA3FF; /* Auxiliary color */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__sicbo-strategy-list .page-slot-games__list-item strong {
  color: #A5C4FF; /* Glow */
}

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

.page-slot-games__game-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  color: #1F2D3D;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-slot-games__btn-play {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-play:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

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

.page-slot-games__strategy-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #1F2D3D;
  transition: transform 0.3s ease;
}

.page-slot-games__strategy-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.7;
}

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

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  color: #000000; /* Custom Color_1776249996415 */
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-slot-games__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-item details > summary {
  list-style: none;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #1F2D3D;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  padding-top: 15px;
}

.page-slot-games__cta-final-section .page-slot-games__text-block {
  color: #f0f0f0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 10px;
  }

  .page-slot-games__hero-image {
    object-fit: contain; /* Prevent cropping on mobile */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
    margin-top: -40px; /* Adjust overlap */
    max-width: 100%;
  }

  .page-slot-games__main-title {
    font-size: 2em; /* Adjust font size for mobile */
    margin-bottom: 10px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games a[class*="button"],
  .page-slot-games 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;
    padding-right: 15px;
  }

  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__sicbo-connection-section,
  .page-slot-games__game-types-section,
  .page-slot-games__strategy-guide-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-slot-games__text-block {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-slot-games__image-content {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__sicbo-strategy-list {
    margin: 20px auto;
    padding: 0 10px;
  }

  .page-slot-games__sicbo-strategy-list .page-slot-games__list-item {
    padding: 15px;
    font-size: 1em;
  }

  .page-slot-games__game-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for game grid */
    gap: 15px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .page-slot-games__game-thumbnail {
    height: auto; /* Adjust height for aspect-ratio */
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .page-slot-games__game-title {
    font-size: 1.2em;
    margin: 15px 10px 5px 10px;
  }

  .page-slot-games__game-description {
    font-size: 0.9em;
    padding: 0 10px;
  }

  .page-slot-games__strategy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .page-slot-games__strategy-card {
    padding: 25px;
  }

  .page-slot-games__card-title {
    font-size: 1.4em;
  }

  .page-slot-games__center-cta {
    margin-top: 30px;
  }

  .page-slot-games__faq-list {
    margin: 20px auto;
    padding: 0 10px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.3em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
}