.page-betting-guide {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #1a1a1a; /* Adjusted for better contrast on dark sections */
  --btn-login: #EA7C07;

  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-betting-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 20px 60px;
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--primary-color); /* Fallback if image not loaded */
}

.page-betting-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-betting-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-betting-guide__btn-primary,
.page-betting-guide__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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-betting-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-betting-guide__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-betting-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-betting-guide__section {
  padding: 60px 20px;
}

.page-betting-guide__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-betting-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-betting-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-betting-guide__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-betting-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-betting-guide__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-betting-guide__dark-bg .page-betting-guide__section-title,
.page-betting-guide__dark-bg .page-betting-guide__subsection-title {
  color: var(--primary-color);
}

.page-betting-guide__dark-bg .page-betting-guide__paragraph,
.page-betting-guide__dark-bg .page-betting-guide__list-item {
  color: var(--text-light);
}

.page-betting-guide__dark-bg .page-betting-guide__section-title::after {
  background-color: var(--primary-color);
}

.page-betting-guide__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-betting-guide__light-bg .page-betting-guide__section-title,
.page-betting-guide__light-bg .page-betting-guide__subsection-title {
  color: var(--primary-color);
}

.page-betting-guide__light-bg .page-betting-guide__paragraph,
.page-betting-guide__light-bg .page-betting-guide__list-item {
  color: var(--text-dark);
}

.page-betting-guide__list,
.page-betting-guide__list-ordered {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-betting-guide__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-betting-guide__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-betting-guide__list-ordered .page-betting-guide__list-item {
  list-style: decimal;
  margin-left: 20px;
  padding-left: 10px;
}

.page-betting-guide__list-ordered .page-betting-guide__list-item::before {
  content: none;
}

.page-betting-guide__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-betting-guide__faq-list {
  margin-top: 40px;
}

.page-betting-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-betting-guide__light-bg .page-betting-guide__faq-item {
  background-color: #f9f9f9;
  color: var(--text-dark);
}

.page-betting-guide__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: var(--primary-color);
  color: var(--text-light);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-betting-guide__faq-question:hover {
  background-color: #1e87c0;
}

.page-betting-guide__faq-item[open] .page-betting-guide__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-betting-guide__faq-qtext {
  flex-grow: 1;
}

.page-betting-guide__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-betting-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-betting-guide__light-bg .page-betting-guide__faq-answer {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-top: 1px solid #e0e0e0;
}

.page-betting-guide__cta-final {
  text-align: center;
}

.page-betting-guide__cta-final .page-betting-guide__paragraph {
  font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-betting-guide__hero-title {
    font-size: 2.8em;
  }
  .page-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-betting-guide__section-title {
    font-size: 2.2em;
  }
  .page-betting-guide__subsection-title {
    font-size: 1.6em;
  }
  .page-betting-guide__paragraph,
  .page-betting-guide__list-item,
  .page-betting-guide__faq-answer {
    font-size: 1em;
  }
  .page-betting-guide__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-betting-guide__hero-section {
    min-height: 450px;
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-betting-guide__hero-title {
    font-size: 2em;
  }
  .page-betting-guide__hero-description {
    font-size: 0.95em;
  }
  .page-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-betting-guide__btn-primary,
  .page-betting-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-betting-guide__section {
    padding: 40px 15px;
  }
  .page-betting-guide__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-betting-guide__subsection-title {
    font-size: 1.4em;
  }
  .page-betting-guide__paragraph,
  .page-betting-guide__list-item,
  .page-betting-guide__faq-answer {
    font-size: 0.95em;
  }
  .page-betting-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-betting-guide__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-betting-guide__faq-item,
  .page-betting-guide__faq-question,
  .page-betting-guide__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-betting-guide__hero-title {
    font-size: 1.8em;
  }
  .page-betting-guide__section-title {
    font-size: 1.6em;
  }
  .page-betting-guide__subsection-title {
    font-size: 1.2em;
  }
}