/* style/resources-tt88-slot-jackpot-guide.css */

/* Base styles for the page */
.page-resources-tt88-slot-jackpot-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, assuming dark */
  padding-top: 10px; /* Ensure content is not hidden by fixed header */
}

/* General container for content */
.page-resources-tt88-slot-jackpot-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section styles */
.page-resources-tt88-slot-jackpot-guide__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-resources-tt88-slot-jackpot-guide__dark-bg {
  background-color: var(--dark-bg-1); /* Dark background from shared.css */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-tt88-slot-jackpot-guide__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Headings */
.page-resources-tt88-slot-jackpot-guide__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold color for main title */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-resources-tt88-slot-jackpot-guide__subtitle {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for subtitle on dark bg */
}

.page-resources-tt88-slot-jackpot-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: inherit; /* Inherit color from section (dark or light) */
}

.page-resources-tt88-slot-jackpot-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
  font-weight: 600;
}

/* Text blocks and paragraphs */
.page-resources-tt88-slot-jackpot-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

/* Links */
.page-resources-tt88-slot-jackpot-guide__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-tt88-slot-jackpot-guide__link:hover {
  color: #ffd700e0;
  text-decoration: underline;
}

/* Buttons */
.page-resources-tt88-slot-jackpot-guide__btn-primary,
.page-resources-tt88-slot-jackpot-guide__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;
  text-align: center;
  cursor: pointer;
}

.page-resources-tt88-slot-jackpot-guide__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

.page-resources-tt88-slot-jackpot-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-tt88-slot-jackpot-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-resources-tt88-slot-jackpot-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-resources-tt88-slot-jackpot-guide__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources-tt88-slot-jackpot-guide__cta-group {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-tt88-slot-jackpot-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-resources-tt88-slot-jackpot-guide__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

/* Image styles */
.page-resources-tt88-slot-jackpot-guide__hero-image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-tt88-slot-jackpot-guide__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-tt88-slot-jackpot-guide__image-content {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Grid layout for cards */
.page-resources-tt88-slot-jackpot-guide__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Card styles */
.page-resources-tt88-slot-jackpot-guide__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark bg */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for card on dark bg */
}

.page-resources-tt88-slot-jackpot-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-tt88-slot-jackpot-guide__card-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for card titles */
  font-weight: 600;
}

.page-resources-tt88-slot-jackpot-guide__card-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Lists */
.page-resources-tt88-slot-jackpot-guide__list,
.page-resources-tt88-slot-jackpot-guide__ordered-list {
  list-style-type: disc;
  margin: 20px 0;
  padding-left: 30px;
}

.page-resources-tt88-slot-jackpot-guide__ordered-list {
  list-style-type: decimal;
}

.page-resources-tt88-slot-jackpot-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  line-height: 1.7;
}

/* FAQ Section */
.page-resources-tt88-slot-jackpot-guide__faq-list {
  margin-top: 40px;
}

.page-resources-tt88-slot-jackpot-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-tt88-slot-jackpot-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-tt88-slot-jackpot-guide__faq-item.active .page-resources-tt88-slot-jackpot-guide__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for FAQ answer background */
}

.page-resources-tt88-slot-jackpot-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333; /* Dark text for FAQ question */
}

.page-resources-tt88-slot-jackpot-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-tt88-slot-jackpot-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-tt88-slot-jackpot-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-tt88-slot-jackpot-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-tt88-slot-jackpot-guide__faq-item.active .page-resources-tt88-slot-jackpot-guide__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate to form an 'X' or just change to '-' */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tt88-slot-jackpot-guide__main-title {
    font-size: 2.8em;
  }

  .page-resources-tt88-slot-jackpot-guide__section-title {
    font-size: 2em;
  }

  .page-resources-tt88-slot-jackpot-guide__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-tt88-slot-jackpot-guide {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* Ensure content is not hidden by fixed header on mobile */
  }

  .page-resources-tt88-slot-jackpot-guide__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-tt88-slot-jackpot-guide__section {
    padding: 40px 0;
  }

  .page-resources-tt88-slot-jackpot-guide__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-tt88-slot-jackpot-guide__subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-resources-tt88-slot-jackpot-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-tt88-slot-jackpot-guide__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-tt88-slot-jackpot-guide__text-block {
    font-size: 1em;
  }

  .page-resources-tt88-slot-jackpot-guide__btn-primary,
  .page-resources-tt88-slot-jackpot-guide__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0 0 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .page-resources-tt88-slot-jackpot-guide__btn-secondary {
    margin-left: 0;
  }

  .page-resources-tt88-slot-jackpot-guide__cta-group {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-resources-tt88-slot-jackpot-guide__cta-center {
    margin-top: 30px;
  }

  .page-resources-tt88-slot-jackpot-guide__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-tt88-slot-jackpot-guide__card {
    padding: 20px;
  }
  
  .page-resources-tt88-slot-jackpot-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-tt88-slot-jackpot-guide__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-tt88-slot-jackpot-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-tt88-slot-jackpot-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-tt88-slot-jackpot-guide__faq-item.active .page-resources-tt88-slot-jackpot-guide__faq-answer {
    padding: 15px !important;
  }
}

/* Global image responsive styles */
.page-resources-tt88-slot-jackpot-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile image forced adaptation */
@media (max-width: 768px) {
  .page-resources-tt88-slot-jackpot-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-tt88-slot-jackpot-guide__section,
  .page-resources-tt88-slot-jackpot-guide__card,
  .page-resources-tt88-slot-jackpot-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}