/* Base styles for the page-slot-games-jackpot-tips */
.page-slot-games-jackpot-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main from custom palette */
  background-color: var(--background-color, #B71C1C); /* Fallback to custom palette Background */
}

/* Container for content sections */
.page-slot-games-jackpot-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Light background sections */
.page-slot-games-jackpot-tips__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Dark background sections */
.page-slot-games-jackpot-tips__dark-bg {
  background-color: #B71C1C; /* Background from custom palette */
  color: #FFF5E1; /* Text Main from custom palette */
}

/* Section titles */
.page-slot-games-jackpot-tips__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #C91F17; /* Main color */
  line-height: 1.2;
}

.page-slot-games-jackpot-tips__section-title--white {
  color: #FFF5E1; /* Text Main for dark backgrounds */
}

/* Text blocks */
.page-slot-games-jackpot-tips__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-jackpot-tips__text-block--white {
  color: #FFF5E1; /* Text Main for dark backgrounds */
}

/* Hero Section */
.page-slot-games-jackpot-tips__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #7A0E0E; /* Deep Red */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games-jackpot-tips__hero-image {
  width: 100%;
  height: 600px; /* Adjust as needed for aspect ratio */
  overflow: hidden;
  position: relative;
}

.page-slot-games-jackpot-tips__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games-jackpot-tips__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to bring content up slightly over image, without overlapping text on image */
  background: rgba(0, 0, 0, 0.4); /* Subtle overlay for readability */
  border-radius: 10px;
}

.page-slot-games-jackpot-tips__main-title {
  font-size: clamp(32px, 4.5vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #F4D34D; /* Gold from custom palette */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-jackpot-tips__description {
  font-size: 20px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-jackpot-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-slot-games-jackpot-tips__btn-primary,
.page-slot-games-jackpot-tips__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-slot-games-jackpot-tips__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #333333; /* Dark text for contrast on gold */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-jackpot-tips__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-slot-games-jackpot-tips__btn-secondary {
  background: #ffffff;
  color: #C91F17; /* Main color */
  border: 2px solid #C91F17;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games-jackpot-tips__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #f0f0f0;
}

/* Intro Section */
.page-slot-games-jackpot-tips__intro-section {
  padding: 80px 0;
}

.page-slot-games-jackpot-tips__intro-section .page-slot-games-jackpot-tips__container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-slot-games-jackpot-tips__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

/* Tips Section */
.page-slot-games-jackpot-tips__tips-section {
  padding: 80px 0;
}

.page-slot-games-jackpot-tips__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-jackpot-tips__tip-card {
  background-color: #D32F2F; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border color */
}

.page-slot-games-jackpot-tips__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-slot-games-jackpot-tips__card-title {
  font-size: 24px;
  font-weight: 700;
  padding: 20px 20px 10px;
  color: #F4D34D; /* Gold */
}

.page-slot-games-jackpot-tips__card-text {
  font-size: 16px;
  padding: 0 20px 20px;
}

/* CTA Section */
.page-slot-games-jackpot-tips__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games-jackpot-tips__cta-section .page-slot-games-jackpot-tips__container {
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* FAQ Section */
.page-slot-games-jackpot-tips__faq-section {
  padding: 80px 0;
}

.page-slot-games-jackpot-tips__faq-section .page-slot-games-jackpot-tips__container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

details.page-slot-games-jackpot-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-slot-games-jackpot-tips__faq-item summary.page-slot-games-jackpot-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games-jackpot-tips__faq-item summary.page-slot-games-jackpot-tips__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-jackpot-tips__faq-item summary.page-slot-games-jackpot-tips__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games-jackpot-tips__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text for light background */
}
.page-slot-games-jackpot-tips__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #C91F17; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games-jackpot-tips__faq-item .page-slot-games-jackpot-tips__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for light background */
}
details.page-slot-games-jackpot-tips__faq-item .page-slot-games-jackpot-tips__faq-answer p {
  margin: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-slot-games-jackpot-tips__container {
    padding: 15px;
  }

  .page-slot-games-jackpot-tips__section-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .page-slot-games-jackpot-tips__hero-image {
    height: 500px;
  }
  
  .page-slot-games-jackpot-tips__hero-content {
    padding: 30px 15px;
    margin-top: -100px;
  }

  .page-slot-games-jackpot-tips__description {
    font-size: 18px;
  }

  .page-slot-games-jackpot-tips__btn-primary,
  .page-slot-games-jackpot-tips__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    min-width: 160px;
  }

  .page-slot-games-jackpot-tips__intro-section,
  .page-slot-games-jackpot-tips__tips-section,
  .page-slot-games-jackpot-tips__cta-section,
  .page-slot-games-jackpot-tips__faq-section {
    padding: 60px 0;
  }

  .page-slot-games-jackpot-tips__intro-section .page-slot-games-jackpot-tips__container,
  .page-slot-games-jackpot-tips__faq-section .page-slot-games-jackpot-tips__container {
    padding: 40px;
  }

  .page-slot-games-jackpot-tips__tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-slot-games-jackpot-tips__card-image {
    height: 220px;
  }
}
}