.page-resources-how-to-choose-ancient-web-novel-betting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-how-to-choose-ancient-web-novel-betting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-resources-how-to-choose-ancient-web-novel-betting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-how-to-choose-ancient-web-novel-betting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-how-to-choose-ancient-web-novel-betting__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-how-to-choose-ancient-web-novel-betting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__introduction-section,
.page-resources-how-to-choose-ancient-web-novel-betting__games-section,
.page-resources-how-to-choose-ancient-web-novel-betting__support-section,
.page-resources-how-to-choose-ancient-web-novel-betting__faq-section {
  padding: 80px 0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__features-section,
.page-resources-how-to-choose-ancient-web-novel-betting__promotions-section,
.page-resources-how-to-choose-ancient-web-novel-betting__conclusion-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__features-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title,
.page-resources-how-to-choose-ancient-web-novel-betting__promotions-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title,
.page-resources-how-to-choose-ancient-web-novel-betting__conclusion-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title {
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__features-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title::after,
.page-resources-how-to-choose-ancient-web-novel-betting__promotions-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title::after,
.page-resources-how-to-choose-ancient-web-novel-betting__conclusion-section .page-resources-how-to-choose-ancient-web-novel-betting__section-title::after {
  background-color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-choose-ancient-web-novel-betting__highlight-text {
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-how-to-choose-ancient-web-novel-betting__highlight-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-grid,
.page-resources-how-to-choose-ancient-web-novel-betting__game-grid,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-card,
.page-resources-how-to-choose-ancient-web-novel-betting__game-card,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-card {
  background: #ffffff; /* Card background for dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Text color for cards */
}

.page-resources-how-to-choose-ancient-web-novel-betting__features-section .page-resources-how-to-choose-ancient-web-novel-betting__feature-card {
  background: rgba(255, 255, 255, 0.95);
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-card:hover,
.page-resources-how-to-choose-ancient-web-novel-betting__game-card:hover,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-icon,
.page-resources-how-to-choose-ancient-web-novel-betting__game-image,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-title,
.page-resources-how-to-choose-ancient-web-novel-betting__game-title,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-how-to-choose-ancient-web-novel-betting__game-title a:hover {
  text-decoration: underline;
}

.page-resources-how-to-choose-ancient-web-novel-betting__feature-description,
.page-resources-how-to-choose-ancient-web-novel-betting__game-description,
.page-resources-how-to-choose-ancient-web-novel-betting__promo-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-how-to-choose-ancient-web-novel-betting__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__dark-bg .page-resources-how-to-choose-ancient-web-novel-betting__paragraph {
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-how-to-choose-ancient-web-novel-betting__btn-primary,
.page-resources-how-to-choose-ancient-web-novel-betting__btn-secondary {
  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;
  margin-top: 20px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-resources-how-to-choose-ancient-web-novel-betting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-how-to-choose-ancient-web-novel-betting__cta-buttons {
  text-align: center;
  margin-top: 50px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-resources-how-to-choose-ancient-web-novel-betting__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-ancient-web-novel-betting__image-wrapper {
  text-align: center;
}

.page-resources-how-to-choose-ancient-web-novel-betting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-ancient-web-novel-betting__mt-large {
  margin-top: 40px;
}

/* FAQ Section */
.page-resources-how-to-choose-ancient-web-novel-betting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-title {
  font-size: 1.2em;
  color: #333333;
  margin: 0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-item.active .page-resources-how-to-choose-ancient-web-novel-betting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
  padding-top: 0;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-item.active .page-resources-how-to-choose-ancient-web-novel-betting__faq-question {
  border-bottom: none;
}

.page-resources-how-to-choose-ancient-web-novel-betting__faq-item.active .page-resources-how-to-choose-ancient-web-novel-betting__faq-toggle {
  transform: rotate(0deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-title {
    font-size: 2.8em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__section-title {
    font-size: 2em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__feature-grid,
  .page-resources-how-to-choose-ancient-web-novel-betting__game-grid,
  .page-resources-how-to-choose-ancient-web-novel-betting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-ancient-web-novel-betting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-title {
    font-size: 2em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-description {
    font-size: 1em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__section-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__introduction-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__features-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__games-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__promotions-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__support-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__conclusion-section,
  .page-resources-how-to-choose-ancient-web-novel-betting__faq-section {
    padding: 60px 0;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__feature-grid,
  .page-resources-how-to-choose-ancient-web-novel-betting__game-grid,
  .page-resources-how-to-choose-ancient-web-novel-betting__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__feature-card,
  .page-resources-how-to-choose-ancient-web-novel-betting__game-card,
  .page-resources-how-to-choose-ancient-web-novel-betting__promo-card {
    padding: 20px;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__feature-title,
  .page-resources-how-to-choose-ancient-web-novel-betting__game-title,
  .page-resources-how-to-choose-ancient-web-novel-betting__promo-title {
    font-size: 1.3em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__sub-title {
    font-size: 1.5em;
  }
  /* Mobile image responsiveness */
  .page-resources-how-to-choose-ancient-web-novel-betting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-image {
    height: 100%; /* Ensure hero image scales correctly */
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__feature-icon,
  .page-resources-how-to-choose-ancient-web-novel-betting__game-image,
  .page-resources-how-to-choose-ancient-web-novel-betting__promo-image {
    height: auto; /* Allow height to adjust */
    max-height: 250px; /* Cap max height for smaller screens */
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  /* Mobile button responsiveness */
  .page-resources-how-to-choose-ancient-web-novel-betting__btn-primary,
  .page-resources-how-to-choose-ancient-web-novel-betting__btn-secondary,
  .page-resources-how-to-choose-ancient-web-novel-betting a[class*="button"],
  .page-resources-how-to-choose-ancient-web-novel-betting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__cta-buttons,
  .page-resources-how-to-choose-ancient-web-novel-betting__button-group,
  .page-resources-how-to-choose-ancient-web-novel-betting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__faq-question,
  .page-resources-how-to-choose-ancient-web-novel-betting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-section {
    height: 400px;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__hero-title {
    font-size: 1.8em;
  }
  .page-resources-how-to-choose-ancient-web-novel-betting__btn-primary,
  .page-resources-how-to-choose-ancient-web-novel-betting__btn-secondary {
    padding: 10px 20px;
  }
}