/* ===== Terms Conditions Page Styles ===== */
.page-terms-conditions {
  background: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Container */
.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions__hero-image-wrap {
  width: 100%;
}

.page-terms-conditions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1020px;
  aspect-ratio: 17/5;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto;
}

.page-terms-conditions__hero-content {
  max-width: 100%;
  text-align: center;
  padding: 24px 20px 40px;
}

.page-terms-conditions__main-title {
  color: #FFD36B;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 12px;
  text-shadow: 0 2px 20px rgba(255, 211, 107, 0.15);
}

.page-terms-conditions__hero-description {
  max-width: 800px;
  margin: 0 auto;
  color: #FFF6D6;
  font-size: 1rem;
  opacity: 0.9;
}

/* Intro Section */
.page-terms-conditions__intro-section {
  padding: 40px 0;
  background: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

/* Terms Sections */
.page-terms-conditions__terms-section {
  padding: 48px 0;
  background: #0A0A0A;
}

.page-terms-conditions__terms-section + .page-terms-conditions__terms-section {
  border-top: 1px solid #3A2A12;
}

/* Typography */
.page-terms-conditions__section-title {
  color: #FFD36B;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #3A2A12;
  position: relative;
}

.page-terms-conditions__section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #FFD36B, transparent);
}

.page-terms-conditions__subsection-title {
  color: #FFD36B;
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-terms-conditions p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* Lists */
.page-terms-conditions__list {
  margin: 16px 0 16px 20px;
  padding: 0;
}

.page-terms-conditions__list li {
  margin-bottom: 10px;
  padding-left: 8px;
  font-size: 0.95rem;
}

/* Links */
.page-terms-conditions__link {
  color: #F2C14E;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  word-break: break-word;
}

.page-terms-conditions__link:hover {
  color: #FFD36B;
}

/* CTA Box */
.page-terms-conditions__cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  width: 100%;
}

/* Buttons */
.page-terms-conditions__btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111 !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-terms-conditions__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-terms-conditions__container {
    padding: 0 16px;
  }

  .page-terms-conditions__terms-section {
    padding: 36px 0;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: 0;
  }

  .page-terms-conditions__hero-image {
    aspect-ratio: 2/1;
    border-radius: 12px;
  }

  .page-terms-conditions__hero-content {
    padding: 16px 16px 28px;
  }

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

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

  .page-terms-conditions__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
  }

  .page-terms-conditions__cta-box {
    flex-direction: column;
    align-items: stretch;
  }

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

  .page-content.page-terms-conditions {
    overflow-x: hidden;
  }
}