/* style/slot-jackpot-games.css */

:root {
  --page-bg-color: #08160F;
  --page-card-bg: #11271B;
  --page-text-main: #F2FFF6;
  --page-text-secondary: #A7D9B8;
  --page-border-color: #2E7A4E;
  --page-glow-color: #57E38D;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1E3A2A;
  --page-deep-green-color: #0A4B2C;
  --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-slot-jackpot-games {
  background-color: var(--page-bg-color);
  color: var(--page-text-main); /* Sử dụng màu chữ chính cho toàn bộ trang */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-jackpot-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-divider-color);
}

.page-slot-jackpot-games__section:last-of-type {
  border-bottom: none;
}

.page-slot-jackpot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-jackpot-games__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--page-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-slot-jackpot-games__text-block {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--page-text-secondary);
}

/* Hero Section */
.page-slot-jackpot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Padding-top nhỏ, không dùng var(--header-offset) */
  text-align: center;
  overflow: hidden;
}

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

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

.page-slot-jackpot-games__hero-content {
  position: relative; /* Đảm bảo nội dung nằm trên ảnh nếu có z-index */
  z-index: 1;
  max-width: 900px;
  margin-top: 40px; /* Khoảng cách giữa ảnh và nội dung */
  padding: 0 20px;
}

.page-slot-jackpot-games__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--page-gold-color);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-jackpot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--page-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-slot-jackpot-games__btn-primary,
.page-slot-jackpot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Đảm bảo nút không tràn */
  white-space: normal; /* Cho phép chữ xuống dòng */
  word-wrap: break-word;
}

.page-slot-jackpot-games__btn-primary {
  background: var(--page-button-gradient);
  color: #ffffff; /* Màu chữ trắng trên nền nút xanh */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-jackpot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-jackpot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-gold-color);
  border: 2px solid var(--page-gold-color);
  margin-top: 20px; /* Khoảng cách với nút chính */
}

.page-slot-jackpot-games__btn-secondary:hover {
  background-color: var(--page-gold-color);
  color: var(--page-bg-color);
}

/* Images in Content */
.page-slot-jackpot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%; /* Đảm bảo ảnh không tràn */
}

/* Lists */
.page-slot-jackpot-games__list,
.page-slot-jackpot-games__numbered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-slot-jackpot-games__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-text-secondary);
}

.page-slot-jackpot-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-gold-color);
  font-weight: bold;
}

.page-slot-jackpot-games__numbered-list .page-slot-jackpot-games__list-item {
  counter-increment: list-counter;
}

.page-slot-jackpot-games__numbered-list .page-slot-jackpot-games__list-item::before {
  content: counter(list-counter) '.';
  color: var(--page-gold-color);
  font-weight: bold;
}

/* FAQ Section */
.page-slot-jackpot-games__faq-list {
  margin-top: 30px;
}

.page-slot-jackpot-games__faq-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-jackpot-games__faq-item summary {
  list-style: none; /* Ẩn marker mặc định của details */
}

.page-slot-jackpot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Ẩn marker mặc định của details trên Webkit */
}

.page-slot-jackpot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-text-main);
  background-color: var(--page-deep-green-color);
}

.page-slot-jackpot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-jackpot-games__faq-item[open] .page-slot-jackpot-games__faq-toggle {
  transform: rotate(45deg); /* Biến '+' thành 'x' hoặc '-' */
}

.page-slot-jackpot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--page-text-secondary);
  border-top: 1px solid var(--page-border-color);
  padding-top: 20px;
}

.page-slot-jackpot-games__btn-faq-contact {
  display: block;
  margin: 40px auto 0 auto;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-slot-jackpot-games__container {
    padding: 0 15px;
  }

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

  .page-slot-jackpot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-jackpot-games__hero-content {
    margin-top: 20px;
  }

  .page-slot-jackpot-games__hero-title {
    font-size: 32px;
  }

  .page-slot-jackpot-games__hero-description {
    font-size: 16px;
  }

  .page-slot-jackpot-games__btn-primary,
  .page-slot-jackpot-games__btn-secondary,
  .page-slot-jackpot-games a[class*="button"],
  .page-slot-jackpot-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: 12px 20px !important;
    font-size: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  /* Nút phụ có thể cần thêm margin-top trên mobile nếu đứng một mình */
  .page-slot-jackpot-games__btn-secondary {
    margin-top: 15px !important;
  }

  .page-slot-jackpot-games__cta-buttons,
  .page-slot-jackpot-games__button-group,
  .page-slot-jackpot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Xếp dọc các nút trên mobile */
  }

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

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

  .page-slot-jackpot-games__faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .page-slot-jackpot-games__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 14px;
  }
}