.page-terms-conditions {
  background-color: #0A0A0A;
  color: #FFF6D6;
  padding: 10px 0 60px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(17, 17, 17, 0.8);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: -100px; /* Adjust to overlap slightly with the image */
}

.page-terms-conditions__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B;
  margin-bottom: 15px;
  padding: 0 10px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
  text-transform: uppercase;
}

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #E5E5E5;
  padding: 0 10px;
}

.page-terms-conditions__register-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-terms-conditions__register-button:hover {
  background: linear-gradient(180deg, #FFE58A 0%, #EABF3D 100%);
  transform: translateY(-2px);
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #111111;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__content-section {
  padding: 20px 0;
}

.page-terms-conditions__heading {
  color: #F2C14E;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
  border-bottom: 2px solid #3A2A12;
  padding-bottom: 5px;
}

.page-terms-conditions__paragraph {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-terms-conditions__paragraph a {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__paragraph a:hover {
  text-decoration: underline;
}

.page-terms-conditions__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__read-more-button:hover {
  background: linear-gradient(180deg, #FFE58A 0%, #EABF3D 100%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

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

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

  .page-terms-conditions__container {
    padding: 15px;
  }
  
  .page-terms-conditions__content-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-content {
    margin-top: -40px;
    padding: 10px;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-terms-conditions__register-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-terms-conditions__heading {
    font-size: 1.3em;
  }
  
  .page-terms-conditions__content-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}