:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* Màu cam cho các nút hành động nổi bật */
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--background-light);
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden; /* Ensure no overflow */
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%; /* Ensure it takes full width up to max-width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* For consistency with container */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Clamp for responsive H1 */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description {
  font-size: 1.1rem;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Use secondary color for CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #D46F06; /* Darkened #EA7C07 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-slot-games__section-title--light {
  color: var(--text-color-light);
}

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__responsible-gaming-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-slot-games__why-choose-section,
.page-slot-games__how-to-play-section,
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-slot-games__image-wrapper {
  margin: 40px auto;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  max-width: 800px;
}

.page-slot-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* For consistency */
}

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

.page-slot-games__feature-card,
.page-slot-games__game-type-card,
.page-slot-games__promo-card {
  background: var(--text-color-light); /* Light background for cards */
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-type-card img,
.page-slot-games__promo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not small */
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-slot-games__feature-card p,
.page-slot-games__game-type-card p,
.page-slot-games__promo-card p {
  font-size: 1rem;
  flex-grow: 1; /* Make paragraphs take available space */
}

.page-slot-games__promo-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-slot-games__promo-link:hover {
  color: #2095C8;
}

.page-slot-games__button-group {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  background: #2095C8; /* Darkened #26A9E0 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
  background: var(--text-color-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__step-card {
  background: var(--text-color-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--secondary-color);
  color: var(--text-color-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 4px solid var(--primary-color);
}

.page-slot-games__tips-list,
.page-slot-games__responsible-list {
  background: var(--text-color-light);
  color: var(--text-color-dark);
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  list-style: disc;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 20px;
}

.page-slot-games__tips-list li,
.page-slot-games__responsible-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* FAQ styles */
.page-slot-games__faq-list {
  margin-top: 40px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--text-color-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text-color-dark);
  font-size: 1.1rem;
  font-weight: 600;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: var(--background-light);
  color: var(--primary-color);
}
.page-slot-games__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-light);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-color-dark);
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 30px 15px;
  }
  .page-slot-games__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Keep small padding-top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-slot-games__description {
    font-size: 1rem;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card {
    padding: 25px;
  }

  .page-slot-games__game-type-card img,
  .page-slot-games__promo-card img {
    min-
  }

  .page-slot-games__card-title {
    font-size: 1.3rem;
  }
  
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__button-group {
    display: flex;
    flex-direction: column; /* Ensure buttons stack */
    align-items: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
}