/* style/jackpot-slots.css */
/* body đã padding-top: var(--header-offset)；tránh trùng lặp */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

.page-jackpot-slots__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-jackpot-slots__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-jackpot-slots__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  padding: 10px 0 60px 0; /* body đã xử lý padding-top cho header, đây chỉ là padding nội dung */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-color: #08160F; /* Background */
}

.page-jackpot-slots__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-jackpot-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-jackpot-slots__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-jackpot-slots__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-jackpot-slots__hero-description {
  font-size: clamp(18px, 2.5vw, 20px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.page-jackpot-slots__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-jackpot-slots__cta-buttons--centered {
  margin-top: 40px;
}

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary,
.page-jackpot-slots a[class*="button"],
.page-jackpot-slots a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Cho phép chữ xuống dòng */
  word-wrap: break-word; /* Đảm bảo chữ không tràn ra ngoài */
  max-width: 100%;
}

.page-jackpot-slots__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-jackpot-slots__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-jackpot-slots__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Sử dụng màu sáng từ gradient button cho text */
  border: 2px solid #2E7A4E; /* Border */
}

.page-jackpot-slots__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

/* General Card Styles */
.page-jackpot-slots__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #F2FFF6; /* Text Main */
  box-sizing: border-box;
}

.page-jackpot-slots__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-jackpot-slots__card-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-jackpot-slots__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* Benefits Section */
.page-jackpot-slots__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-jackpot-slots__benefit-card {
  text-align: center;
  align-items: center;
}

/* Game Types Section */
.page-jackpot-slots__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Guide Section */
.page-jackpot-slots__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-jackpot-slots__guide-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
}

.page-jackpot-slots__guide-step-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-jackpot-slots__guide-step-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Strategy Section */
.page-jackpot-slots__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Promotions Section */
.page-jackpot-slots__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Security Section */
.page-jackpot-slots__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* FAQ Section */
.page-jackpot-slots__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

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

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-jackpot-slots__faq-question::-webkit-details-marker {
  display: none;
}

.page-jackpot-slots__faq-item[open] .page-jackpot-slots__faq-question {
  border-bottom-color: #2E7A4E;
}

.page-jackpot-slots__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

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

.page-jackpot-slots__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-jackpot-slots__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-jackpot-slots__cta-final {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-jackpot-slots__cta-final .page-jackpot-slots__section-title {
  color: #F2C14E; /* Gold */
}

.page-jackpot-slots__cta-final .page-jackpot-slots__section-description {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-jackpot-slots__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots__section {
    padding: 40px 0;
  }

  .page-jackpot-slots__section-title {
    font-size: 28px;
  }

  .page-jackpot-slots__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-jackpot-slots__main-title {
    font-size: 36px;
  }

  .page-jackpot-slots__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-jackpot-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots a[class*="button"],
  .page-jackpot-slots a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-jackpot-slots__card-image {
    max-height: 200px;
  }

  .page-jackpot-slots__card-title {
    font-size: 20px;
  }

  .page-jackpot-slots__card-text {
    font-size: 14px;
  }

  .page-jackpot-slots__guide-item {
    padding: 20px;
  }

  .page-jackpot-slots__guide-step-title {
    font-size: 18px;
  }

  .page-jackpot-slots__guide-step-text {
    font-size: 14px;
  }

  .page-jackpot-slots__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  /* 强制图片响应式 */
  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-slots__section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__container,
  .page-jackpot-slots__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-jackpot-slots__hero-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }
}