/* ===== RESET & BASE ===== */
.page-terms-conditions {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.page-terms-conditions__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(198, 31, 31, 0.3);
}

.page-terms-conditions__hero-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 32px;
  box-sizing: border-box;
  text-align: center;
}

.page-terms-conditions__main-title {
  color: #F3C54D;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  max-width: 100%;
}

.page-terms-conditions__intro-paragraph {
  color: #FFF1E8;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto 24px;
  max-width: 900px;
}

/* ===== CTA BUTTONS ===== */
.page-terms-conditions__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-terms-conditions__cta-group--center {
  margin-top: 24px;
}

.page-terms-conditions__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  cursor: pointer;
  border: none;
}

.page-terms-conditions__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  box-shadow: 0 4px 12px rgba(255, 176, 74, 0.4);
}

.page-terms-conditions__btn--primary:hover {
  background: linear-gradient(180deg, #FFC470 0%, #E67E22 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 176, 74, 0.6);
}

.page-terms-conditions__btn--secondary {
  background: transparent;
  color: #F3C54D;
  border: 2px solid #C61F1F;
}

.page-terms-conditions__btn--secondary:hover {
  background: #C61F1F;
  color: #FFF1E8;
  transform: translateY(-2px);
}

/* ===== CONTENT SECTIONS ===== */
.page-terms-conditions__intro-section,
.page-terms-conditions__content-section,
.page-terms-conditions__closing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
}

.page-terms-conditions__content-section {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__section-title {
  color: #F3C54D;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C61F1F;
}

.page-terms-conditions__subsection-title {
  color: #E53030;
  font-weight: 600;
  margin: 20px 0 12px;
  line-height: 1.4;
}

.page-terms-conditions__intro-section p,
.page-terms-conditions__content-section p,
.page-terms-conditions__closing-section p {
  color: #FFF1E8;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-terms-conditions__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.page-terms-conditions__list li {
  color: #FFF1E8;
  padding: 10px 0 10px 32px;
  position: relative;
  line-height: 1.7;
  border-bottom: 1px solid rgba(106, 30, 30, 0.4);
}

.page-terms-conditions__list li:last-child {
  border-bottom: none;
}

.page-terms-conditions__list li::before {
  content: "\25B8";
  color: #F3C54D;
  position: absolute;
  left: 8px;
  top: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

.page-terms-conditions__text-link {
  color: #FFB04A;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-terms-conditions__text-link:hover {
  color: #F3C54D;
  text-decoration: none;
}

/* ===== CLOSING SECTION ===== */
.page-terms-conditions__closing-section {
  background: linear-gradient(135deg, #7E0D0D 0%, #2A1212 100%);
  border: 2px solid #F3C54D;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 24px;
}

.page-terms-conditions__closing-section .page-terms-conditions__section-title {
  border-bottom-color: #F3C54D;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-terms-conditions {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-terms-conditions img {
    max-width: 100%;
    height: auto;
  }

  .page-terms-conditions__hero-image-wrapper {
    padding: 10px 12px 0;
  }

  .page-terms-conditions__hero-content {
    padding: 20px 12px 24px;
  }

  .page-terms-conditions__main-title {
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 12px;
  }

  .page-terms-conditions__intro-paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .page-terms-conditions__cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page-terms-conditions__btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .page-terms-conditions__intro-section,
  .page-terms-conditions__content-section,
  .page-terms-conditions__closing-section {
    padding: 24px 16px;
    margin-left: 12px;
    margin-right: 12px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .page-terms-conditions__subsection-title {
    font-size: 1.05rem;
  }

  .page-terms-conditions__intro-section p,
  .page-terms-conditions__content-section p,
  .page-terms-conditions__closing-section p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .page-terms-conditions__list li {
    padding: 8px 0 8px 28px;
    font-size: 0.95rem;
  }

  .page-terms-conditions__closing-section {
    padding: 32px 16px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.3rem;
  }

  .page-terms-conditions__section-title {
    font-size: 1.1rem;
  }

  .page-terms-conditions__intro-section,
  .page-terms-conditions__content-section,
  .page-terms-conditions__closing-section {
    padding: 20px 14px;
    margin-left: 8px;
    margin-right: 8px;
  }
}