.page-slot-games {
  background-color: #08160F; /* Nền chính rất tối */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: 'Arial', sans-serif;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Thêm padding dưới để tạo khoảng cách với phần sau */
  padding-top: 10px; /* Nhỏ top padding, body đã có header-offset */
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Làm tối ảnh nền để chữ nổi bật */
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  color: #F2FFF6; /* Đảm bảo chữ trắng trên nền tối */
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Sử dụng clamp cho kích thước H1 */
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #A7D9B8; /* Màu chữ phụ */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  margin: 10px;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  margin: 10px;
}

.page-slot-games__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
  transform: translateY(-3px);
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề phần */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-slot-games__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #22C768; /* Màu xanh lá phụ cho tiêu đề phụ */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-slot-games__text-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #A7D9B8; /* Màu chữ phụ */
  margin-bottom: 30px;
  text-align: justify;
}

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

.page-slot-games__feature-card,
.page-slot-games__type-card,
.page-slot-games__step-card,
.page-slot-games__tech-card {
  background-color: #11271B; /* Nền card tối */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-slot-games__feature-card:hover,
.page-slot-games__type-card:hover,
.page-slot-games__step-card:hover,
.page-slot-games__tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-slot-games__feature-image,
.page-slot-games__type-image,
.page-slot-games__step-icon,
.page-slot-games__tech-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__step-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Chữ trắng cho tiêu đề card */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Chữ phụ cho mô tả card */
  flex-grow: 1;
}

.page-slot-games__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background-color: #11271B; /* Nền tối cho mục danh sách */
  border-left: 5px solid #22C768;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__list-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Chữ trắng cho tiêu đề danh sách */
  margin-bottom: 10px;
}

.page-slot-games__list-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Chữ phụ cho mô tả danh sách */
}

.page-slot-games__faq-section {
  background-color: #0A4B2C; /* Nền xanh đậm hơn cho FAQ */
  padding: 60px 0;
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: #11271B; /* Nền tối cho FAQ item */
  border: 1px solid #2E7A4E; /* Viền màu xanh */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  color: #F2FFF6; /* Chữ trắng cho câu hỏi */
  font-weight: bold;
  cursor: pointer;
  background-color: #1E3A2A; /* Nền hơi đậm cho câu hỏi */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question:hover {
  background-color: #2E7A4E;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #57E38D; /* Màu xanh lá sáng cho dấu +/- */
}

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Chữ phụ cho câu trả lời */
  border-top: 1px solid #1E3A2A;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: #2E7A4E;
}

.page-slot-games__conclusion-section {
  text-align: center;
  padding: 60px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-content {
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2rem;
  }

  .page-slot-games__hero-description {
    font-size: 0.95rem;
  }

  .page-slot-games__cta-button {
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
  }

  .page-slot-games__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__container {
    padding: 30px 15px;
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-slot-games__text-content,
  .page-slot-games__card-description,
  .page-slot-games__list-description,
  .page-slot-games__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__type-card,
  .page-slot-games__step-card,
  .page-slot-games__tech-card {
    padding: 20px;
  }

  .page-slot-games__feature-image,
  .page-slot-games__type-image,
  .page-slot-games__step-icon,
  .page-slot-games__tech-icon {
    height: 180px;
  }

  .page-slot-games__card-title {
    font-size: 1.2rem;
  }

  .page-slot-games__list-item {
    padding: 15px;
  }

  .page-slot-games__list-title {
    font-size: 1.1rem;
  }

  .page-slot-games__faq-question {
    font-size: 1.05rem;
    padding: 15px;
  }

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

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__technology-security-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section,
  .page-slot-games__feature-card,
  .page-slot-games__type-card,
  .page-slot-games__step-card,
  .page-slot-games__tech-card,
  .page-slot-games__list-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__button-group {
    padding-left: 0;
    padding-right: 0;
  }
}