/* style/jackpot-slots.css */
.page-jackpot-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for the page, assuming dark body background */
  background-color: var(--primary-color, #1A202C); /* Ensure consistent dark background */
}

.page-jackpot-slots__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-jackpot-slots__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-jackpot-slots__highlight {
  color: #FFD700;
  font-weight: bold;
}

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

.page-jackpot-slots__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main titles on dark background */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-jackpot-slots__section-title--gold {
  color: #FFD700;
}

.page-jackpot-slots__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-jackpot-slots__text-block--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

.page-jackpot-slots__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-jackpot-slots__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-jackpot-slots__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-jackpot-slots__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-jackpot-slots__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-jackpot-slots__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

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

.page-jackpot-slots__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-jackpot-slots__card--dark {
  background-color: rgba(26, 32, 44, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-jackpot-slots__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-jackpot-slots__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-jackpot-slots__card-link {
  color: #FFD700;
  text-decoration: none;
}

.page-jackpot-slots__card-link:hover {
  text-decoration: underline;
}

.page-jackpot-slots__card-description {
  font-size: 1em;
  line-height: 1.5;
}

/* Guide Section */
.page-jackpot-slots__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-jackpot-slots__ordered-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-jackpot-slots__list-title {
  font-size: 1.3em;
  color: #1A202C;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-jackpot-slots__ordered-list p {
  color: #555555;
}

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

.page-jackpot-slots__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-jackpot-slots__strategy-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-jackpot-slots__strategy-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-jackpot-slots__strategy-description {
  font-size: 0.95em;
  line-height: 1.5;
}

/* Promotions Section */
.page-jackpot-slots__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-jackpot-slots__promo-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333;
}

.page-jackpot-slots__promo-title {
  font-size: 1.4em;
  color: #1A202C;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-jackpot-slots__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-jackpot-slots__security-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-jackpot-slots__security-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-jackpot-slots__security-description {
  font-size: 0.95em;
  line-height: 1.5;
}

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

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

.page-jackpot-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-jackpot-slots__faq-question h3 {
  margin: 0;
  color: #1A202C;
}

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

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

.page-jackpot-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

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

/* CTA Section */
.page-jackpot-slots__cta-section {
  padding: 60px 20px;
  text-align: center;
}

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

/* General image styling */
.page-jackpot-slots img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default object-fit for content images */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-jackpot-slots__hero-title {
    font-size: 3em;
  }
  .page-jackpot-slots__hero-description {
    font-size: 1.1em;
  }
  .page-jackpot-slots__section-title {
    font-size: 2em;
  }
}

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

  .page-jackpot-slots__hero-section {
    height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-jackpot-slots__hero-title {
    font-size: 2.5em;
  }

  .page-jackpot-slots__hero-description {
    font-size: 1em;
  }

  .page-jackpot-slots__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
    width: 100%;
    box-sizing: border-box;
  }

  .page-jackpot-slots__btn-primary,
  .page-jackpot-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-jackpot-slots__section-title {
    font-size: 1.8em;
  }

  .page-jackpot-slots__container,
  .page-jackpot-slots__game-cards,
  .page-jackpot-slots__strategy-grid,
  .page-jackpot-slots__security-grid,
  .page-jackpot-slots__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-jackpot-slots__card-image,
  .page-jackpot-slots__strategy-image,
  .page-jackpot-slots__security-image,
  .page-jackpot-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure minimum size is maintained for content images */
    min-height: 200px; /* Ensure minimum size is maintained for content images */
  }

  .page-jackpot-slots__card,
  .page-jackpot-slots__strategy-item,
  .page-jackpot-slots__security-item {
    padding: 20px;
  }

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

  .page-jackpot-slots__faq-answer {
    padding: 0 20px;
  }

  .page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
    padding: 15px 20px;
  }

  .page-jackpot-slots__ordered-list li,
  .page-jackpot-slots__promo-item {
    padding: 15px;
  }

  .page-jackpot-slots__cta-section {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .page-jackpot-slots__hero-title {
    font-size: 2em;
  }
  .page-jackpot-slots__hero-description {
    font-size: 0.9em;
  }
  .page-jackpot-slots__section-title {
    font-size: 1.5em;
  }
}