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

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

.page-terms-conditions__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-terms-conditions__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.page-terms-conditions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-terms-conditions__btn {
  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;
  font-size: 1em;
  white-space: nowrap;
}

.page-terms-conditions__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-terms-conditions__btn--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-terms-conditions__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-terms-conditions__btn--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-terms-conditions__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  color: #333333;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions__actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.page-terms-conditions__btn--payment,
.page-terms-conditions__btn--promo,
.page-terms-conditions__btn--responsible-gaming,
.page-terms-conditions__btn--support,
.page-terms-conditions__btn--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-terms-conditions__btn--payment:hover,
.page-terms-conditions__btn--promo:hover,
.page-terms-conditions__btn--responsible-gaming:hover,
.page-terms-conditions__btn--support:hover,
.page-terms-conditions__btn--contact:hover {
  background-color: #FCBC45;
  border-color: #FCBC45;
  color: #000000;
}

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

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

  .page-terms-conditions__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-terms-conditions__btn {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-terms-conditions__section {
    padding: 15px;
  }

  .page-terms-conditions__image {
    max-width: 100%;
    width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }

  .page-terms-conditions__actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-terms-conditions__actions .page-terms-conditions__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-section {
    padding: 60px 15px 30px;
  }

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

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

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

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