/* terms.css - 이용약관 페이지 */

.terms-main {
  min-height: calc(100vh - 200px);
  padding: 60px 0;
  background: #f5f5f5;
}

.terms-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 페이지 헤더 */
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.page-description {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* 약관 내용 */
.terms-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.terms-section {
  margin-bottom: 50px;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-color, var(--brand-color, #a50808));
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--brand-color, var(--brand-color, #a50808));
}

.terms-article {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #dee2e6;
}

.terms-article:last-child {
  margin-bottom: 0;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 0;
}

.article-list {
  margin: 15px 0;
  padding-left: 25px;
  list-style: decimal;
}

.article-list li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 10px;
}

.article-list li:last-child {
  margin-bottom: 0;
}

.sub-list {
  margin: 10px 0;
  padding-left: 20px;
  list-style: decimal;
}

.sub-list li {
  font-size: 1rem;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 8px;
}

/* 하단 버튼 */
.terms-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-back,
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn-back {
  background: white;
  color: #495057;
  border: 2px solid #dee2e6;
}

.btn-back:hover {
  background: #f8f9fa;
  border-color: var(--brand-color, var(--brand-color, #a50808));
  color: var(--brand-color, var(--brand-color, #a50808));
  transform: translateY(-2px);
}

.btn-register {
  background: var(--brand-color, var(--brand-color, #a50808));
  color: white;
  border: 2px solid var(--brand-color, var(--brand-color, #a50808));
}

.btn-register:hover {
  background: var(--brand-color-dark, #8a0606);
  border-color: var(--brand-color-dark, #8a0606);
  transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
  .terms-main {
    padding: 40px 0;
  }

  .page-title {
    font-size: 2rem;
  }

  .terms-content {
    padding: 25px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .article-title {
    font-size: 1.15rem;
  }

  .article-content,
  .article-list li {
    font-size: 1rem;
  }

  .terms-actions {
    flex-direction: column;
  }

  .btn-back,
  .btn-register {
    width: 100%;
    justify-content: center;
  }
}
