/* style/resources-v9bet-popular-games-strategy.css */

:root {
  --v9bet-primary-color: #1A202C;
  --v9bet-secondary-color: #FFD700;
  --v9bet-text-light: #ffffff;
  --v9bet-text-dark: #333333;
  --v9bet-bg-light: #f8f9fa;
  --v9bet-bg-dark: #1A202C; /* Consistent with primary color for dark sections */
  --v9bet-border-color: #e0e0e0;
}

.page-resources-v9bet-popular-games-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--v9bet-text-dark); /* Default text color for light backgrounds */
  background-color: var(--v9bet-bg-light);
}

.page-resources-v9bet-popular-games-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-v9bet-popular-games-strategy__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  color: var(--v9bet-text-light);
  background-color: var(--v9bet-primary-color);
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-resources-v9bet-popular-games-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;\  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-v9bet-popular-games-strategy__hero-section .page-resources-v9bet-popular-games-strategy__container {
  position: relative;
  z-index: 2;
}

.page-resources-v9bet-popular-games-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--v9bet-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-v9bet-popular-games-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-v9bet-popular-games-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.page-resources-v9bet-popular-games-strategy__btn-primary {
  background-color: var(--v9bet-secondary-color);
  color: var(--v9bet-primary-color);
  border: 2px solid var(--v9bet-secondary-color);
}

.page-resources-v9bet-popular-games-strategy__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-v9bet-popular-games-strategy__btn-secondary {
  background-color: transparent;
  color: var(--v9bet-secondary-color);
  border: 2px solid var(--v9bet-secondary-color);
}

.page-resources-v9bet-popular-games-strategy__btn-secondary:hover {
  background-color: var(--v9bet-secondary-color);
  color: var(--v9bet-primary-color);
}

/* Content Area */
.page-resources-v9bet-popular-games-strategy__content-area {
  padding: 60px 0;
}

.page-resources-v9bet-popular-games-strategy__dark-bg {
  background-color: var(--v9bet-primary-color);
  color: var(--v9bet-text-light);
}

.page-resources-v9bet-popular-games-strategy__light-bg {
  background-color: var(--v9bet-bg-light);
  color: var(--v9bet-text-dark);
}

.page-resources-v9bet-popular-games-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-resources-v9bet-popular-games-strategy__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-v9bet-popular-games-strategy__mini-title {
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 10px;
  color: inherit;
}

.page-resources-v9bet-popular-games-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-v9bet-popular-games-strategy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-v9bet-popular-games-strategy__list-item {
  margin-bottom: 10px;
}

.page-resources-v9bet-popular-games-strategy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Global minimum size */
  min-height: 200px; /* Global minimum size */
}

/* FAQ Section */
.page-resources-v9bet-popular-games-strategy__faq-section {
  padding: 60px 0;
  background-color: var(--v9bet-bg-light);
  color: var(--v9bet-text-dark);
}

.page-resources-v9bet-popular-games-strategy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-v9bet-popular-games-strategy__faq-item {
  background-color: #ffffff;
  border: 1px solid var(--v9bet-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-v9bet-popular-games-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: var(--v9bet-primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-v9bet-popular-games-strategy__faq-question:hover {
  background-color: #e0e0e0;
}

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

.page-resources-v9bet-popular-games-strategy__faq-item.active .page-resources-v9bet-popular-games-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-v9bet-popular-games-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--v9bet-text-dark);
}

.page-resources-v9bet-popular-games-strategy__faq-item.active .page-resources-v9bet-popular-games-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px !important;
}

.page-resources-v9bet-popular-games-strategy__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-v9bet-popular-games-strategy__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-v9bet-popular-games-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-v9bet-popular-games-strategy__hero-section {
    min-height: 450px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-v9bet-popular-games-strategy__hero-title {
    font-size: 2.5em;
  }

  .page-resources-v9bet-popular-games-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-v9bet-popular-games-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-v9bet-popular-games-strategy__btn-primary,
  .page-resources-v9bet-popular-games-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-resources-v9bet-popular-games-strategy__content-area,
  .page-resources-v9bet-popular-games-strategy__faq-section {
    padding: 40px 0;
  }

  .page-resources-v9bet-popular-games-strategy__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-resources-v9bet-popular-games-strategy__section-title {
    font-size: 2em;
  }

  .page-resources-v9bet-popular-games-strategy__sub-title {
    font-size: 1.5em;
  }

  .page-resources-v9bet-popular-games-strategy__mini-title {
    font-size: 1.2em;
  }

  .page-resources-v9bet-popular-games-strategy__paragraph,
  .page-resources-v9bet-popular-games-strategy__list-item {
    font-size: 1em;
  }

  .page-resources-v9bet-popular-games-strategy__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-v9bet-popular-games-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-v9bet-popular-games-strategy__faq-answer {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-v9bet-popular-games-strategy__hero-title {
    font-size: 2em;
  }

  .page-resources-v9bet-popular-games-strategy__section-title {
    font-size: 1.8em;
  }
}

/* Ensure images within content areas are responsive and not smaller than 200px */
.page-resources-v9bet-popular-games-strategy img {
  min-width: 200px; /* Global minimum size */
  min-height: 200px; /* Global minimum size */
}

/* Override specific image sizes if needed, but maintain min-size */
.page-resources-v9bet-popular-games-strategy__hero-image {
  width: 100%;
  height: 100%;
}

.page-resources-v9bet-popular-games-strategy__content-image {
  width: 100%; /* For responsive scaling */
  max-width: 800px; /* Example max width for content images */
}

/* Additional contrast fixes if necessary */
.page-resources-v9bet-popular-games-strategy__dark-bg p,
.page-resources-v9bet-popular-games-strategy__dark-bg li {
  color: var(--v9bet-text-light);
}

.page-resources-v9bet-popular-games-strategy__light-bg p,
.page-resources-v9bet-popular-games-strategy__light-bg li {
  color: var(--v9bet-text-dark);
}