/* style/slot-games.css */
.page-slot-games {
  background-color: #08160F; /* Nền tối theo tùy chỉnh */
  color: #F2FFF6; /* Chữ sáng cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__highlight {
  color: #57E38D; /* Màu glow cho các từ khóa nổi bật */
  font-weight: bold;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Đảm bảo không bị header che */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Giới hạn chiều cao của ảnh hero */
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10; /* Đảm bảo nội dung nằm trên ảnh nếu có */
  padding: 40px 20px;
  background: linear-gradient(0deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 0.7) 50%, rgba(8, 22, 15, 0.0) 100%);
  margin-top: -100px; /* Kéo nội dung lên trên ảnh một chút để tạo hiệu ứng */
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Sử dụng clamp cho kích thước chữ linh hoạt */
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Màu phụ cho mô tả */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Chữ sáng trên nền nút đậm */
  border: 2px solid #2AD16F;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Màu chữ chính cho nút phụ */
  border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Chữ tối trên nền nút sáng */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__benefits-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Màu vàng Gold */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-block a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

.page-slot-games__video-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

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

.page-slot-games__game-card,
.page-slot-games__step-card,
.page-slot-games__benefit-card {
  background-color: #11271B; /* Màu Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #2E7A4E; /* Màu border */
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Màu Text Main */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #A7D9B8; /* Màu Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-card {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-card:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-slot-games__step-number {
  font-size: 2.5em;
  color: #F2C14E; /* Màu vàng Gold */
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-slot-games__promo-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-item strong {
  color: #F2C14E;
}

.page-slot-games__promotion-banner {
  width: 100%;
  height: auto;
  max-width: 1000px;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
  list-style: none;
}

.page-slot-games__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green khi mở */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6;
  list-style: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E; /* Màu vàng Gold */
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__cta-buttons,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__benefits-grid,
  .page-slot-games__promo-list,
  .page-slot-games__faq-list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-slot-games__hero-content {
    margin-top: -50px; /* Điều chỉnh lại khoảng cách trên mobile */
    padding: 20px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2em; /* Kích thước chữ nhỏ hơn cho mobile */
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em;
  }

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games img,
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video-container {
    padding-bottom: 56.25% !important; /* Đảm bảo tỷ lệ 16:9 */
    margin: 20px auto !important;
  }

  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__benefit-card {
    padding: 20px;
  }

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

  .page-slot-games__promo-item {
    padding: 15px;
    font-size: 1em;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-slot-games__video-section {
    padding-top: 10px !important; /* body đã xử lý header offset */
  }
}