.page-index-our-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but good to be explicit for content */
}

.page-index-our-advantages__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-our-advantages__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-index-our-advantages__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-index-our-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-index-our-advantages__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-our-advantages__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-index-our-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(50%); /* Allowed for background decorative images, not content images */
}

.page-index-our-advantages__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-our-advantages__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
}

.page-index-our-advantages__section-intro {
  font-size: 1.1em;
  margin-bottom: 60px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-our-advantages__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-our-advantages__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-our-advantages__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index-our-advantages__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-index-our-advantages__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-index-our-advantages__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-index-our-advantages__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-index-our-advantages__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-index-our-advantages__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-index-our-advantages__video-section {
  background-color: #1a1a2e;
  color: #ffffff;
  padding: 80px 20px;
}

.page-index-our-advantages__video-container {
  max-width: 800px;
  margin: 40px auto 20px auto;
  position: relative;
  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.5);
}

.page-index-our-advantages__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-index-our-advantages__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-index-our-advantages__video-caption {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-top: 20px;
}

.page-index-our-advantages__payment-system {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-index-our-advantages__payment-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-index-our-advantages__payment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-index-our-advantages__payment-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 100px;
  min-height: 100px;
}

.page-index-our-advantages__responsible-gaming {
  background-color: #017439;
  color: #ffffff;
}

.page-index-our-advantages__responsible-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-index-our-advantages__responsible-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-index-our-advantages__responsible-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 100px;
  min-height: 100px;
}

.page-index-our-advantages__faq-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-index-our-advantages__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-our-advantages__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-our-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
}

.page-index-our-advantages__faq-question:hover {
  background-color: #005a2e;
}

.page-index-our-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-toggle {
  transform: rotate(45deg);
}

.page-index-our-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-index-our-advantages__faq-answer p {
  margin: 0;
  color: #f0f0f0; /* Ensure text color in answer */
}

.page-index-our-advantages__cta-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background-color: #017439;
  color: #ffffff;
  padding: 80px 20px;
}

.page-index-our-advantages__cta-content {
  max-width: 600px;
  text-align: left;
}

.page-index-our-advantages__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-index-our-advantages__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-index-our-advantages__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-index-our-advantages__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index-our-advantages__hero-title {
    font-size: 2.5em;
  }

  .page-index-our-advantages__section-title {
    font-size: 2em;
  }

  .page-index-our-advantages__cta-section {
    flex-direction: column;
    text-align: center;
  }

  .page-index-our-advantages__cta-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .page-index-our-advantages__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index-our-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-our-advantages__hero-section {
    padding: 40px 15px;
  }

  .page-index-our-advantages__hero-title {
    font-size: 2em;
  }

  .page-index-our-advantages__hero-description {
    font-size: 1em;
  }

  .page-index-our-advantages__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-our-advantages__btn-primary,
  .page-index-our-advantages__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-index-our-advantages__section {
    padding: 60px 15px;
  }

  .page-index-our-advantages__section-title {
    font-size: 1.8em;
  }

  .page-index-our-advantages__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-index-our-advantages__feature-card {
    padding: 25px;
  }

  .page-index-our-advantages__card-title {
    font-size: 1.5em;
  }

  .page-index-our-advantages__video-section {
    padding: 60px 15px;
  }

  .page-index-our-advantages__video-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-our-advantages__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-our-advantages__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-our-advantages__payment-methods,
  .page-index-our-advantages__responsible-features {
    flex-direction: column;
    gap: 20px;
  }

  .page-index-our-advantages__payment-item,
  .page-index-our-advantages__responsible-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-our-advantages__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-index-our-advantages__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-index-our-advantages__faq-answer {
    padding: 15px;
  }

  .page-index-our-advantages__cta-section {
    padding: 60px 15px;
  }

  .page-index-our-advantages__cta-title {
    font-size: 2em;
  }

  .page-index-our-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-our-advantages__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all content images are responsive */
  .page-index-our-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-our-advantages__section,
  .page-index-our-advantages__card,
  .page-index-our-advantages__container,
  .page-index-our-advantages__hero-section,
  .page-index-our-advantages__feature-card,
  .page-index-our-advantages__payment-item,
  .page-index-our-advantages__responsible-item,
  .page-index-our-advantages__cta-section,
  .page-index-our-advantages__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-our-advantages__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}