.page-terms-conditions {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #FFFFFF; /* Light text for hero content over potentially dark/rich image */
  background-color: #000000; /* Fallback background color */
}

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

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Accent color for title */
  font-weight: bold;
}

.page-terms-conditions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__hero-button--register {
  background-color: #FCBC45; /* Login color for Register button */
  color: #000000;
}

.page-terms-conditions__hero-button--register:hover {
  background-color: #e0a53b;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Explicit background for content area */
}

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-terms-conditions__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-terms-conditions__button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-terms-conditions__button--register,
.page-terms-conditions__button--register-final {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 15px;
}

.page-terms-conditions__button--register:hover,
.page-terms-conditions__button--register-final:hover {
  background-color: #e0a53b;
}

.page-terms-conditions__button--promotions,
.page-terms-conditions__button--responsible-gambling,
.page-terms-conditions__button--contact,
.page-terms-conditions__button--contact-final,
.page-terms-conditions__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-terms-conditions__button--promotions:hover,
.page-terms-conditions__button--responsible-gambling:hover,
.page-terms-conditions__button--contact:hover,
.page-terms-conditions__button--contact-final:hover,
.page-terms-conditions__button--faq:hover {
  background-color: #333333;
  color: #FFFFFF;
}

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

.page-terms-conditions__cta-buttons {
  text-align: center;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__sub-title {
    font-size: 1.4em;
  }

  .page-terms-conditions__section p {
    font-size: 1em;
  }

  .page-terms-conditions__hero-section {
    padding: 40px 15px;
  }

  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }

  .page-terms-conditions__button {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-terms-conditions__cta-buttons .page-terms-conditions__button:last-child {
    margin-bottom: 0;
  }

  .page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no horizontal scroll for content images */
  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }
}