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

/* Biến CSS cục bộ */
:root {
  --page-slot-games-jackpot-features-primary-color: #1A2B5B;
  --page-slot-games-jackpot-features-secondary-color: #FFD700;
  --page-slot-games-jackpot-features-text-dark: #333333;
  --page-slot-games-jackpot-features-text-light: #ffffff;
  --page-slot-games-jackpot-features-bg-light: #f8f9fa;
  --page-slot-games-jackpot-features-bg-dark: #1A2B5B;
  --page-slot-games-jackpot-features-spacing-md: 20px;
  --page-slot-games-jackpot-features-spacing-lg: 40px;
}

.page-slot-games-jackpot-features {
  font-family: 'Arial', sans-serif;
  color: var(--page-slot-games-jackpot-features-text-dark);
  line-height: 1.6;
  background-color: var(--page-slot-games-jackpot-features-bg-light);
}

.page-slot-games-jackpot-features__section {
  padding: var(--page-slot-games-jackpot-features-spacing-lg) 0;
  text-align: center;
}

.page-slot-games-jackpot-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-slot-games-jackpot-features-spacing-md);
}

.page-slot-games-jackpot-features__dark-bg {
  background-color: var(--page-slot-games-jackpot-features-bg-dark);
  color: var(--page-slot-games-jackpot-features-text-light);
}

.page-slot-games-jackpot-features__light-bg {
  background-color: var(--page-slot-games-jackpot-features-bg-light);
  color: var(--page-slot-games-jackpot-features-text-dark);
}

.page-slot-games-jackpot-features__medium-bg {
  background-color: var(--page-slot-games-jackpot-features-secondary-color);
  color: var(--page-slot-games-jackpot-features-text-dark);
}

.page-slot-games-jackpot-features__section-title,
.page-slot-games-jackpot-features__card-title,
.page-slot-games-jackpot-features__feature-title,
.page-slot-games-jackpot-features__sub-title,
.page-slot-games-jackpot-features__cta-title {
  color: inherit; /* Kế thừa từ cha để đảm bảo contrast */
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-md);
  font-weight: bold;
}

.page-slot-games-jackpot-features__section-title {
  font-size: 2.5em;
}

.page-slot-games-jackpot-features__section-text {
  font-size: 1.1em;
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games-jackpot-features__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
}

.page-slot-games-jackpot-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-games-jackpot-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-slot-games-jackpot-features__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--page-slot-games-jackpot-features-spacing-lg);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-slot-games-jackpot-features__hero-title {
  font-size: 3.5em;
  color: var(--page-slot-games-jackpot-features-text-light);
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-md);
  line-height: 1.2;
}

.page-slot-games-jackpot-features__hero-description {
  font-size: 1.2em;
  color: var(--page-slot-games-jackpot-features-text-light);
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-lg);
}

/* Buttons */
.page-slot-games-jackpot-features__btn-primary,
.page-slot-games-jackpot-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.page-slot-games-jackpot-features__btn-primary {
  background-color: var(--page-slot-games-jackpot-features-secondary-color);
  color: var(--page-slot-games-jackpot-features-text-dark);
}

.page-slot-games-jackpot-features__btn-primary:hover {
  background-color: darken(var(--page-slot-games-jackpot-features-secondary-color), 10%);
}

.page-slot-games-jackpot-features__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-jackpot-features-primary-color);
  border-color: var(--page-slot-games-jackpot-features-primary-color);
}

.page-slot-games-jackpot-features__btn-secondary:hover {
  background-color: var(--page-slot-games-jackpot-features-primary-color);
  color: var(--page-slot-games-jackpot-features-text-light);
}

/* Card Grid */
.page-slot-games-jackpot-features__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--page-slot-games-jackpot-features-spacing-md);
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
}

.page-slot-games-jackpot-features__card {
  background-color: var(--page-slot-games-jackpot-features-text-light);
  padding: var(--page-slot-games-jackpot-features-spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-slot-games-jackpot-features-text-dark);
}

.page-slot-games-jackpot-features__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-md);
}

.page-slot-games-jackpot-features__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-slot-games-jackpot-features__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Features Grid */
.page-slot-games-jackpot-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--page-slot-games-jackpot-features-spacing-md);
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
}

.page-slot-games-jackpot-features__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--page-slot-games-jackpot-features-spacing-md);
  border-radius: 8px;
  text-align: center;
  color: var(--page-slot-games-jackpot-features-text-light);
}

.page-slot-games-jackpot-features__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-md);
  border-radius: 50%; /* Example: if icons are circular */
  background-color: var(--page-slot-games-jackpot-features-secondary-color);
  padding: 10px;
}

.page-slot-games-jackpot-features__feature-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-slot-games-jackpot-features__feature-description {
  font-size: 0.95em;
}

/* Content Block with Image */
.page-slot-games-jackpot-features__content-block {
  display: flex;
  align-items: center;
  gap: var(--page-slot-games-jackpot-features-spacing-lg);
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
  text-align: left;
}

.page-slot-games-jackpot-features__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games-jackpot-features__text-block {
  flex: 1;
  max-width: 50%;
}

.page-slot-games-jackpot-features__sub-title {
  font-size: 1.8em;
  margin-top: var(--page-slot-games-jackpot-features-spacing-md);
}

/* Strategy List */
.page-slot-games-jackpot-features__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-jackpot-features__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--page-slot-games-jackpot-features-text-light);
}

.page-slot-games-jackpot-features__strategy-item strong {
  color: var(--page-slot-games-jackpot-features-secondary-color);
}

.page-slot-games-jackpot-features__image-full-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
  border-radius: 8px;
}

/* Promotion Cards */
.page-slot-games-jackpot-features__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--page-slot-games-jackpot-features-spacing-md);
  margin-top: var(--page-slot-games-jackpot-features-spacing-lg);
}

/* FAQ */
.page-slot-games-jackpot-features__faq-list {
  max-width: 800px;
  margin: var(--page-slot-games-jackpot-features-spacing-lg) auto;
  text-align: left;
}

.page-slot-games-jackpot-features__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--page-slot-games-jackpot-features-text-light);
}

.page-slot-games-jackpot-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-slot-games-jackpot-features__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games-jackpot-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games-jackpot-features__faq-item.active .page-slot-games-jackpot-features__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-jackpot-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games-jackpot-features__faq-item.active .page-slot-games-jackpot-features__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 15px 20px;
}

.page-slot-games-jackpot-features__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Section */
.page-slot-games-jackpot-features__cta-section {
  padding: var(--page-slot-games-jackpot-features-spacing-lg) var(--page-slot-games-jackpot-features-spacing-md);
  background-color: var(--page-slot-games-jackpot-features-secondary-color);
  color: var(--page-slot-games-jackpot-features-text-dark);
  text-align: center;
}

.page-slot-games-jackpot-features__cta-title {
  font-size: 2.8em;
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-md);
}

.page-slot-games-jackpot-features__cta-description {
  font-size: 1.2em;
  margin-bottom: var(--page-slot-games-jackpot-features-spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games-jackpot-features__hero-title {
    font-size: 3em;
  }

  .page-slot-games-jackpot-features__section-title {
    font-size: 2em;
  }

  .page-slot-games-jackpot-features__cta-title {
    font-size: 2.2em;
  }

  .page-slot-games-jackpot-features__content-block {
    flex-direction: column;
  }

  .page-slot-games-jackpot-features__content-image,
  .page-slot-games-jackpot-features__text-block {
    max-width: 100%;
  }
}

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

  .page-slot-games-jackpot-features__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games-jackpot-features__hero-content {
    padding: var(--page-slot-games-jackpot-features-spacing-md);
  }

  .page-slot-games-jackpot-features__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games-jackpot-features__hero-description {
    font-size: 1em;
  }

  .page-slot-games-jackpot-features__section-title {
    font-size: 1.8em;
  }

  .page-slot-games-jackpot-features__section-text {
    font-size: 0.95em;
  }

  .page-slot-games-jackpot-features__card-grid,
  .page-slot-games-jackpot-features__features-grid,
  .page-slot-games-jackpot-features__promotion-cards {
    grid-template-columns: 1fr;
  }

  .page-slot-games-jackpot-features__content-image,
  .page-slot-games-jackpot-features__feature-icon {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-jackpot-features__card,
  .page-slot-games-jackpot-features__section,
  .page-slot-games-jackpot-features__container,
  .page-slot-games-jackpot-features__content-block,
  .page-slot-games-jackpot-features__text-block,
  .page-slot-games-jackpot-features__feature-item,
  .page-slot-games-jackpot-features__faq-list,
  .page-slot-games-jackpot-features__faq-item,
  .page-slot-games-jackpot-features__cta-section,
  .page-slot-games-jackpot-features__card-grid,
  .page-slot-games-jackpot-features__features-grid,
  .page-slot-games-jackpot-features__promotion-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  .page-slot-games-jackpot-features__btn-primary,
  .page-slot-games-jackpot-features__btn-secondary,
  .page-slot-games-jackpot-features a[class*="button"],
  .page-slot-games-jackpot-features 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-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-jackpot-features__cta-buttons,
  .page-slot-games-jackpot-features__button-group,
  .page-slot-games-jackpot-features__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;
  }

  .page-slot-games-jackpot-features__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-slot-games-jackpot-features__cta-title {
    font-size: 1.8em;
  }
}

/* No filter allowed on images */
.page-slot-games-jackpot-features img {
  filter: none; /* Ensure no filter is applied */
}