/* style/resources-jun88-jackpot-strategy.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --dark-bg-color: #121212;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-color: #FFFF00;
}

.page-resources-jun88-jackpot-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for dark body background */
  background-color: var(--dark-bg-color); /* Inherit from body or shared.css */
}

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

.page-resources-jun88-jackpot-strategy__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjusted for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--light-text-color);
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-jun88-jackpot-strategy__dark-bg {
  background-color: var(--primary-color);
}

.page-resources-jun88-jackpot-strategy__light-bg {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-resources-jun88-jackpot-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-resources-jun88-jackpot-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-jun88-jackpot-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--light-text-color);
}

.page-resources-jun88-jackpot-strategy__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-resources-jun88-jackpot-strategy__btn-primary,
.page-resources-jun88-jackpot-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-jun88-jackpot-strategy__btn-primary {
  background-color: var(--button-register-bg); /* Custom color for register */
  color: var(--button-text-color); /* Custom color for button text */
  border: 2px solid var(--button-register-bg);
}

.page-resources-jun88-jackpot-strategy__btn-primary:hover {
  background-color: darken(var(--button-register-bg), 10%);
  border-color: darken(var(--button-register-bg), 10%);
}

.page-resources-jun88-jackpot-strategy__btn-secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-resources-jun88-jackpot-strategy__btn-secondary:hover {
  background-color: var(--light-text-color);
  color: var(--primary-color);
}

.page-resources-jun88-jackpot-strategy__content-area,
.page-resources-jun88-jackpot-strategy__conclusion-section,
.page-resources-jun88-jackpot-strategy__faq-section {
  padding: 60px 0;
}

.page-resources-jun88-jackpot-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-resources-jun88-jackpot-strategy__section-title--white {
  color: var(--light-text-color);
}

.page-resources-jun88-jackpot-strategy__sub-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-resources-jun88-jackpot-strategy__sub-sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--dark-text-color);
}

.page-resources-jun88-jackpot-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--dark-text-color);
}

.page-resources-jun88-jackpot-strategy__text-block--white {
  color: var(--light-text-color);
}

.page-resources-jun88-jackpot-strategy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-jackpot-strategy__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-jun88-jackpot-strategy__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-jun88-jackpot-strategy__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources-jun88-jackpot-strategy__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-resources-jun88-jackpot-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-jun88-jackpot-strategy__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--dark-text-color);
}

.page-resources-jun88-jackpot-strategy__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: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-resources-jun88-jackpot-strategy__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-jun88-jackpot-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-resources-jun88-jackpot-strategy__faq-item.active .page-resources-jun88-jackpot-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-resources-jun88-jackpot-strategy__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-resources-jun88-jackpot-strategy__conclusion-section {
  text-align: center;
}

.page-resources-jun88-jackpot-strategy__copyright-section {
  padding: 30px 0;
  text-align: center;
  background-color: var(--dark-bg-color);
}

.page-resources-jun88-jackpot-strategy__copyright-text {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-jun88-jackpot-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-jun88-jackpot-strategy__section-title {
    font-size: 2.2em;
  }
  .page-resources-jun88-jackpot-strategy__sub-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-jun88-jackpot-strategy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-jun88-jackpot-strategy__hero-title {
    font-size: 2em;
  }
  .page-resources-jun88-jackpot-strategy__hero-description {
    font-size: 1em;
  }
  .page-resources-jun88-jackpot-strategy__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-jun88-jackpot-strategy__btn-primary,
  .page-resources-jun88-jackpot-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-jun88-jackpot-strategy__content-area,
  .page-resources-jun88-jackpot-strategy__conclusion-section,
  .page-resources-jun88-jackpot-strategy__faq-section,
  .page-resources-jun88-jackpot-strategy__video-section {
    padding: 40px 0 !important;
  }

  .page-resources-jun88-jackpot-strategy__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-resources-jun88-jackpot-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-resources-jun88-jackpot-strategy__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }
  .page-resources-jun88-jackpot-strategy__sub-sub-title {
    font-size: 1.2em;
    margin-top: 25px;
  }
  .page-resources-jun88-jackpot-strategy__text-block {
    font-size: 1em;
  }

  /* Image responsiveness */
  .page-resources-jun88-jackpot-strategy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    width: 100% !important; /* Ensure images fill container */
  }

  /* Video responsiveness */
  .page-resources-jun88-jackpot-strategy__video-wrapper {
    padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-jun88-jackpot-strategy__video-link,
  .page-resources-jun88-jackpot-strategy__video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
  }

  /* FAQ specific mobile styles */
  .page-resources-jun88-jackpot-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-jun88-jackpot-strategy__faq-answer {
    padding: 0 20px;
  }
  .page-resources-jun88-jackpot-strategy__faq-item.active .page-resources-jun88-jackpot-strategy__faq-answer {
    padding: 10px 20px;
  }

  .page-resources-jun88-jackpot-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-resources-jun88-jackpot-strategy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-jun88-jackpot-strategy__section-title {
    font-size: 1.6em;
  }
  .page-resources-jun88-jackpot-strategy__sub-title {
    font-size: 1.3em;
  }
}