/* style/jackpot-slots.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */
.page-jackpot-slots {
  color: #ffffff; /* Vì body background là #0a0a0a (dark), nên dùng chữ màu sáng */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-jackpot-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ thôi, body đã có padding-top */
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a;
}

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

.page-jackpot-slots__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-jackpot-slots__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  color: #ffffff;
}

.page-jackpot-slots__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-jackpot-slots__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-jackpot-slots__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #1a7fb2;
}

.page-jackpot-slots__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-jackpot-slots__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-jackpot-slots__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

.page-jackpot-slots__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  color: #26A9E0;
}

.page-jackpot-slots__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-jackpot-slots__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-jackpot-slots__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 60px 0;
}

.page-jackpot-slots__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-jackpot-slots__features-grid,
.page-jackpot-slots__game-types-grid,
.page-jackpot-slots__security-grid,
.page-jackpot-slots__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-jackpot-slots__feature-card,
.page-jackpot-slots__type-card,
.page-jackpot-slots__security-item,
.page-jackpot-slots__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-jackpot-slots__light-bg .page-jackpot-slots__feature-card,
.page-jackpot-slots__light-bg .page-jackpot-slots__type-card,
.page-jackpot-slots__light-bg .page-jackpot-slots__security-item,
.page-jackpot-slots__light-bg .page-jackpot-slots__promo-card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-jackpot-slots__type-card {
  text-decoration: none;
}

.page-jackpot-slots__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-jackpot-slots__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
  text-decoration: none;
}

.page-jackpot-slots__light-bg .page-jackpot-slots__card-title {
  color: #26A9E0;
}

.page-jackpot-slots__card-description {
  font-size: 1rem;
  flex-grow: 1;
}

.page-jackpot-slots__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-jackpot-slots__strategy-list li {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-jackpot-slots__strategy-list li strong {
  color: #ffffff;
  flex-shrink: 0;
}

.page-jackpot-slots__light-bg .page-jackpot-slots__strategy-list li {
  background-color: #f0f0f0;
  color: #333333;
}

.page-jackpot-slots__light-bg .page-jackpot-slots__strategy-list li strong {
  color: #26A9E0;
}

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

.page-jackpot-slots__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
}

.page-jackpot-slots__cta-bottom-content {
  max-width: 800px;
}

.page-jackpot-slots__cta-bottom-content .page-jackpot-slots__section-title {
  color: #ffffff;
}

.page-jackpot-slots__cta-bottom-content .page-jackpot-slots__text-block {
  color: #ffffff;
}

.page-jackpot-slots__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-jackpot-slots__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #e8e8e8;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  list-style: none; /* for details/summary */
}

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

.page-jackpot-slots__faq-question:hover {
  background-color: #e0e0e0;
}

.page-jackpot-slots__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-jackpot-slots__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-jackpot-slots__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-jackpot-slots__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-jackpot-slots {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-jackpot-slots__container {
    padding: 0 15px;
  }

  .page-jackpot-slots__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-jackpot-slots__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-jackpot-slots__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary,
  .page-jackpot-slots a[class*="button"],
  .page-jackpot-slots 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;
    font-size: 1rem;
  }

  .page-jackpot-slots__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-jackpot-slots__text-block {
    font-size: 1rem;
    text-align: left;
  }

  .page-jackpot-slots__features-grid,
  .page-jackpot-slots__game-types-grid,
  .page-jackpot-slots__security-grid,
  .page-jackpot-slots__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-jackpot-slots__feature-card,
  .page-jackpot-slots__type-card,
  .page-jackpot-slots__security-item,
  .page-jackpot-slots__promo-card {
    padding: 20px;
  }

  .page-jackpot-slots__card-title {
    font-size: 1.3rem;
  }

  .page-jackpot-slots__card-description {
    font-size: 0.95rem;
  }

  .page-jackpot-slots__strategy-list {
    margin: 20px auto;
  }

  .page-jackpot-slots__strategy-list li {
    font-size: 1rem;
    padding: 12px 15px;
  }

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

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

  .page-jackpot-slots img,
  .page-jackpot-slots__hero-image,
  .page-jackpot-slots__security-image,
  .page-jackpot-slots__type-image,
  .page-jackpot-slots__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-jackpot-slots__hero-image-wrapper,
  .page-jackpot-slots__section,
  .page-jackpot-slots__card,
  .page-jackpot-slots__container,
  .page-jackpot-slots__cta-buttons,
  .page-jackpot-slots__button-group,
  .page-jackpot-slots__btn-container,
  .page-jackpot-slots__video-section,
  .page-jackpot-slots__video-container,
  .page-jackpot-slots__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-jackpot-slots__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .page-jackpot-slots__btn-primary--large {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
}