/* style/slot-games-jackpot-tips.css */
/* Custom Colors */
:root {
  --cs88-green-primary: #11A84E;
  --cs88-green-secondary: #22C768;
  --cs88-button-gradient-start: #2AD16F;
  --cs88-button-gradient-end: #13994A;
  --cs88-card-bg: #11271B;
  --cs88-background: #08160F;
  --cs88-text-main: #F2FFF6;
  --cs88-text-secondary: #A7D9B8;
  --cs88-border: #2E7A4E;
  --cs88-glow: #57E38D;
  --cs88-gold: #F2C14E;
  --cs88-divider: #1E3A2A;
  --cs88-deep-green: #0A4B2C;
}

/* Base styles for the page content, considering dark body background */
.page-slot-games-jackpot-tips {
  font-family: Arial, sans-serif;
  color: var(--cs88-text-main); /* Light text for dark background */
  background-color: var(--cs88-background); /* Ensure consistency if body background is overridden */
  line-height: 1.6;
}

.page-slot-games-jackpot-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-slot-games-jackpot-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top margin, body handles header offset */
  text-align: center;
  background-color: var(--cs88-deep-green); /* Darker background for hero */
}

.page-slot-games-jackpot-tips__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games-jackpot-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games-jackpot-tips__hero-content {
  max-width: 900px;
  color: var(--cs88-text-main);
}

.page-slot-games-jackpot-tips__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--cs88-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games-jackpot-tips__intro-text {
  font-size: 1.15rem;
  color: var(--cs88-text-secondary);
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-slot-games-jackpot-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-slot-games-jackpot-tips__btn-primary {
  background: var(--cs88-button-gradient-start); /* Fallback for gradient */
  background: linear-gradient(180deg, var(--cs88-button-gradient-start) 0%, var(--cs88-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid var(--cs88-button-gradient-start);
}

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

.page-slot-games-jackpot-tips__btn-secondary {
  background-color: transparent;
  color: var(--cs88-green-primary);
  border: 2px solid var(--cs88-green-primary);
}

.page-slot-games-jackpot-tips__btn-secondary:hover {
  background-color: var(--cs88-green-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-slot-games-jackpot-tips__section {
  padding: 60px 0;
}

.page-slot-games-jackpot-tips__dark-section {
  background-color: var(--cs88-card-bg); /* Darker section background */
  color: var(--cs88-text-main);
}

.page-slot-games-jackpot-tips__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cs88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games-jackpot-tips__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--cs88-text-secondary);
}

.page-slot-games-jackpot-tips__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Constrain content image width */
}

/* Grid for Tips */
.page-slot-games-jackpot-tips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-jackpot-tips__card {
  background-color: var(--cs88-deep-green); /* Card background */
  border: 1px solid var(--cs88-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--cs88-text-main);
}

.page-slot-games-jackpot-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-jackpot-tips__card-title {
  font-size: 1.8rem;
  color: var(--cs88-gold);
  margin-bottom: 15px;
}

.page-slot-games-jackpot-tips__card-image {
  width: 100%;
  max-width: 400px; /* Card image size */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-slot-games-jackpot-tips__card-text {
  font-size: 1rem;
  color: var(--cs88-text-secondary);
}

/* FAQ Section */
.page-slot-games-jackpot-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games-jackpot-tips__faq-item {
  background-color: var(--cs88-deep-green); /* FAQ item background */
  border: 1px solid var(--cs88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games-jackpot-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--cs88-text-main);
  cursor: pointer;
  background-color: var(--cs88-card-bg); /* Question header background */
}

.page-slot-games-jackpot-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games-jackpot-tips__faq-qtext {
  flex-grow: 1;
  color: var(--cs88-gold);
}

.page-slot-games-jackpot-tips__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--cs88-green-secondary);
}

.page-slot-games-jackpot-tips__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--cs88-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-slot-games-jackpot-tips__faq-item[open] .page-slot-games-jackpot-tips__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

/* CTA Section at bottom */
.page-slot-games-jackpot-tips__cta-section {
  text-align: center;
  background-color: var(--cs88-deep-green);
  padding: 80px 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games-jackpot-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-jackpot-tips__container {
    padding: 0 15px;
  }

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

  .page-slot-games-jackpot-tips__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-slot-games-jackpot-tips__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-games-jackpot-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-jackpot-tips__btn-primary,
  .page-slot-games-jackpot-tips__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games-jackpot-tips__section {
    padding: 40px 0;
  }

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

  .page-slot-games-jackpot-tips__paragraph {
    font-size: 1rem;
  }

  /* All images */
  .page-slot-games-jackpot-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers for images/content */
  .page-slot-games-jackpot-tips__section,
  .page-slot-games-jackpot-tips__card,
  .page-slot-games-jackpot-tips__container,
  .page-slot-games-jackpot-tips__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-slot-games-jackpot-tips__card {
    padding: 20px;
  }

  .page-slot-games-jackpot-tips__card-title {
    font-size: 1.5rem;
  }

  .page-slot-games-jackpot-tips__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-slot-games-jackpot-tips__faq-toggle {
    font-size: 1.5rem;
  }

  .page-slot-games-jackpot-tips__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure content area images are at least 200px wide for desktop */
.page-slot-games-jackpot-tips__image,
.page-slot-games-jackpot-tips__card-image {
  min-width: 200px;
  min-height: 200px;
}