/* style/slot-games.css */
/* body đã padding-top: var(--header-offset)；tránh thêm padding-top vào main hoặc các section đầu tiên */
.page-slot-games {
  background-color: #08160F; /* Nền tối theo custom color */
  color: #F2FFF6; /* Text Main theo custom color */
}

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

.page-slot-games__section {
  padding: 60px 0;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Nhỏ gọn theo yêu cầu, body đã xử lý offset */
  padding-bottom: 60px;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Làm tối hình ảnh để chữ dễ đọc hơn */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Nền mờ cho nội dung */
  border-radius: 12px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Clamp cho H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-slot-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Cho phép xuống dòng */
  word-wrap: break-word; /* Cho phép xuống dòng */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border color */
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Sử dụng border color với opacity */
  transform: translateY(-2px);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #F2FFF6;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-slot-games__highlight {
  color: #57E38D; /* Glow color */
  font-weight: 600;
}

.page-slot-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-slot-games__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-slot-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-slot-games__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #A7D9B8;
}

.page-slot-games__list-item strong {
  color: #F2FFF6;
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow color */
  font-weight: 600;
}

.page-slot-games__unordered-list .page-slot-games__list-item::before {
  content: "\2022"; /* Bullet point */
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow color */
  font-size: 1.2em;
  line-height: 1;
}

.page-slot-games__list-item a {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-slot-games__list-item a:hover {
  color: #F2C14E; /* Gold color on hover */
}

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

.page-slot-games__app-download {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-slot-games__app-image {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-slot-games__app-content {
  max-width: 500px;
  text-align: left;
}

.page-slot-games__app-content .page-slot-games__btn-primary {
  margin-top: 20px;
}

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

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

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15em;
  color: #F2FFF6;
  position: relative;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

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

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

.page-slot-games__faq-answer a {
  color: #57E38D;
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #F2C14E;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__app-download {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__app-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__hero-content {
    padding: 30px 15px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__app-download {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset, đây chỉ là padding nội dung */
    padding-bottom: 40px;
  }
  .page-slot-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
  }
  .page-slot-games__grid {
    grid-template-columns: 1fr;
  }
}