.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); /* Ensures content is not hidden by fixed header */
}

.page-terms-conditions__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions__sub-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-terms-conditions__list li {
  margin-bottom: 8px;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__cta-button {
  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;
  margin: 10px 5px;
  font-size: 1em;
}

.page-terms-conditions__cta-button--register, .page-terms-conditions__cta-button--register-final {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__cta-button--register:hover, .page-terms-conditions__cta-button--register-final:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-terms-conditions__cta-button--login {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-terms-conditions__cta-button--login:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-terms-conditions__cta-button--deposit, .page-terms-conditions__cta-button--bonus {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__cta-button--deposit:hover, .page-terms-conditions__cta-button--bonus:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-terms-conditions__cta-button--promo, .page-terms-conditions__cta-button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-terms-conditions__cta-button--promo:hover, .page-terms-conditions__cta-button--explore:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-terms-conditions__cta-button--responsible-gaming, .page-terms-conditions__cta-button--contact {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__cta-button--responsible-gaming:hover, .page-terms-conditions__cta-button--contact:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-terms-conditions__button-group {
  margin-top: 20px;
  text-align: center;
}

.page-terms-conditions__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
}

.page-terms-conditions__final-cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-terms-conditions__final-cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-terms-conditions__main-title {
    font-size: 2em;
  }

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

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

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

  .page-terms-conditions__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .page-terms-conditions__button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

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