/* style/resources-q88-game-strategy-guide.css */
.page-resources-q88-game-strategy-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-q88-game-strategy-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-q88-game-strategy-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-q88-game-strategy-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-q88-game-strategy-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-q88-game-strategy-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for hero title */
}

.page-resources-q88-game-strategy-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-resources-q88-game-strategy-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-q88-game-strategy-guide__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-q88-game-strategy-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #017439;
}

.page-resources-q88-game-strategy-guide__section-title--white {
  color: #ffffff;
}

.page-resources-q88-game-strategy-guide__paragraph {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-resources-q88-game-strategy-guide__paragraph--white {
  color: #f0f0f0;
}

.page-resources-q88-game-strategy-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-q88-game-strategy-guide__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-q88-game-strategy-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-q88-game-strategy-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-q88-game-strategy-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__feature-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-q88-game-strategy-guide__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-q88-game-strategy-guide__feature-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-q88-game-strategy-guide__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-q88-game-strategy-guide__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-resources-q88-game-strategy-guide__step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-q88-game-strategy-guide__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-q88-game-strategy-guide__game-category {
  margin-bottom: 60px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-q88-game-strategy-guide__game-category-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
}

.page-resources-q88-game-strategy-guide__game-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

.page-resources-q88-game-strategy-guide__transaction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__transaction-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
}

.page-resources-q88-game-strategy-guide__transaction-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-q88-game-strategy-guide__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__list--white {
  color: #f0f0f0;
}

.page-resources-q88-game-strategy-guide__list li {
  margin-bottom: 10px;
}

.page-resources-q88-game-strategy-guide__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__promo-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-q88-game-strategy-guide__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-q88-game-strategy-guide__promo-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-q88-game-strategy-guide__promo-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-q88-game-strategy-guide__video-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  background-color: #017439;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-resources-q88-game-strategy-guide__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-q88-game-strategy-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-resources-q88-game-strategy-guide__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.page-resources-q88-game-strategy-guide__video-overlay:hover {
  opacity: 0;
}

.page-resources-q88-game-strategy-guide__video-title {
  font-size: 2.2em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-q88-game-strategy-guide__video-description {
  font-size: 1.1em;
  max-width: 700px;
  margin-bottom: 30px;
}

.page-resources-q88-game-strategy-guide__app-download {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-q88-game-strategy-guide__app-info {
  flex: 1;
  min-width: 300px;
}

.page-resources-q88-game-strategy-guide__app-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
}

.page-resources-q88-game-strategy-guide__contact-info {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-q88-game-strategy-guide__contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-q88-game-strategy-guide__faq-container {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-q88-game-strategy-guide__faq-item {
  background: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-q88-game-strategy-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #017439;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-resources-q88-game-strategy-guide__faq-question:hover {
  background-color: #005f2c;
}

.page-resources-q88-game-strategy-guide__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-q88-game-strategy-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-q88-game-strategy-guide__faq-item.active .page-resources-q88-game-strategy-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-q88-game-strategy-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #ffffff;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}

.page-resources-q88-game-strategy-guide__faq-item.active .page-resources-q88-game-strategy-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

.page-resources-q88-game-strategy-guide__faq-answer p {
  margin: 0;
  color: #333333;
}

/* Buttons */
.page-resources-q88-game-strategy-guide__btn-primary,
.page-resources-q88-game-strategy-guide__btn-secondary,
.page-resources-q88-game-strategy-guide__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-q88-game-strategy-guide__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-q88-game-strategy-guide__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-q88-game-strategy-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-q88-game-strategy-guide__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005f2c;
  border-color: #005f2c;
}

.page-resources-q88-game-strategy-guide__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  margin-top: 20px;
}

.page-resources-q88-game-strategy-guide__btn-tertiary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-resources-q88-game-strategy-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-resources-q88-game-strategy-guide__cta-buttons--center {
  justify-content: center;
}

/* Image responsiveness */
.page-resources-q88-game-strategy-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General content area image sizes (min 200x200) */
.page-resources-q88-game-strategy-guide__content-area img,
.page-resources-q88-game-strategy-guide__section img {
  min-width: 200px;
  min-height: 200px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-resources-q88-game-strategy-guide__hero-title {
    font-size: 3em;
  }

  .page-resources-q88-game-strategy-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-q88-game-strategy-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-q88-game-strategy-guide__hero-section {
    height: 500px;
  }

  .page-resources-q88-game-strategy-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-q88-game-strategy-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-q88-game-strategy-guide__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-q88-game-strategy-guide__btn-primary,
  .page-resources-q88-game-strategy-guide__btn-secondary,
  .page-resources-q88-game-strategy-guide__btn-tertiary {
    width: 100%;
    max-width: 300px !important; /* Constrain button width on mobile */
    padding: 12px 15px;
  }

  .page-resources-q88-game-strategy-guide__section {
    padding: 40px 15px;
  }

  .page-resources-q88-game-strategy-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-q88-game-strategy-guide__feature-grid,
  .page-resources-q88-game-strategy-guide__step-by-step,
  .page-resources-q88-game-strategy-guide__promo-grid,
  .page-resources-q88-game-strategy-guide__transaction-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-q88-game-strategy-guide__app-download {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-q88-game-strategy-guide__app-image {
    max-width: 300px;
  }

  .page-resources-q88-game-strategy-guide__app-info {
    min-width: unset;
    text-align: center;
  }

  .page-resources-q88-game-strategy-guide__app-title {
    font-size: 1.8em;
  }

  .page-resources-q88-game-strategy-guide__contact-info {
    padding: 20px;
  }

  .page-resources-q88-game-strategy-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-q88-game-strategy-guide__faq-answer {
    padding: 15px 20px;
  }

  /* Force images to be responsive on mobile */
  .page-resources-q88-game-strategy-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-q88-game-strategy-guide__section,
  .page-resources-q88-game-strategy-guide__card,
  .page-resources-q88-game-strategy-guide__container,
  .page-resources-q88-game-strategy-guide__video-section,
  .page-resources-q88-game-strategy-guide__video-container,
  .page-resources-q88-game-strategy-guide__video-wrapper,
  .page-resources-q88-game-strategy-guide__app-download,
  .page-resources-q88-game-strategy-guide__contact-info,
  .page-resources-q88-game-strategy-guide__faq-container,
  .page-resources-q88-game-strategy-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-q88-game-strategy-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure hero is below header */
  }

  .page-resources-q88-game-strategy-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-q88-game-strategy-guide__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
  }

  .page-resources-q88-game-strategy-guide__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources-q88-game-strategy-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-q88-game-strategy-guide__section-title {
    font-size: 1.5em;
  }

  .page-resources-q88-game-strategy-guide__hero-section {
    height: 400px;
  }
}