/* assets/style.css */

/* 기본 레이아웃 */
body {
  margin: 0;
  font-family: 'Apple SD Gothic Neo','맑은 고딕',sans-serif;
  background: #f9fbff;
  color: #333;
  line-height: 1.6;
}

/* 헤더 */
header {
  background: linear-gradient(135deg, #0052cc, #007bff);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
header h1 {
  font-size: 2rem;
  margin: 0 0 10px;
}
header p {
  font-size: 1rem;
  margin: 0;
}

/* 본문 컨텐츠 */
.content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.content h2 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: #0052cc;
}
.content p {
  margin-bottom: 18px;
  color: #444;
}

/* 버튼 */
.btn-main {
  display: inline-block;
  background: #fff;
  color: #0052cc;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem;
  border: 2px solid #0052cc;
  transition: 0.3s;
}
.btn-main:hover {
  background: #0052cc;
  color: #fff;
}

/* 이벤트 배너 */
.event-banner {
  margin: 40px auto;
  text-align: center;
  max-width: 700px;
}
.event-banner img {
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}
.event-banner img:hover {
  transform: scale(1.02);
}

/* 컨테이너 (info/faq/guide/safe 페이지 공통) */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 메인페이지로 돌아가기 링크 */
.back-link {
  text-align: center;
  margin: 40px 0;
}
.back-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}
.back-link a:hover {
  text-decoration: underline;
}

/* 다른 인기 배우 섹션 (프로필 페이지 cross-link) */
.related-actors {
  margin: 50px 0 30px;
  padding: 25px 22px;
  background: #f8f9fb;
  border-radius: 10px;
  border: 1px solid #eef0f3;
}
.related-actors h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: #0052cc;
}
.related-actors ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-actors li a {
  display: inline-block;
  color: #0052cc;
  text-decoration: none;
  padding: 5px 14px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #d6e0ec;
  font-size: 0.9rem;
  transition: 0.2s;
}
.related-actors li a:hover {
  background: #0052cc;
  color: #fff;
}
.related-actors .all-link a {
  color: #007bff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.related-actors .all-link a:hover {
  text-decoration: underline;
}

/* 푸터 */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

/* 모바일 하단 sticky CTA (모바일에서만 화면 하단 고정) */
.sticky-cta-mobile {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 1000;
    background: linear-gradient(135deg, #0052cc, #007bff);
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,82,204,0.35);
    transition: transform 0.15s ease;
  }
  .sticky-cta-mobile:active {
    transform: translateY(2px);
  }
  /* sticky CTA 와 footer 겹치지 않도록 body 하단 여유 공간 확보 */
  body { padding-bottom: 78px; }
}

/* 모바일 최적화 */
@media (max-width: 600px) {
  header { padding: 40px 15px; }
  header h1 { font-size: 1.6rem; }
  header p { font-size: 0.9rem; }
  .btn-main { font-size: 1rem; padding: 12px 20px; }
  .content h2 { font-size: 1.2rem; }
}

/* ===== 배우 프로필 페이지 공통 스타일 ===== */

/* 프로필 영역 */
.profile-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  margin: 24px 0 40px;
}
.profile-img {
  width: 33%;
  max-width: 240px;
  flex-shrink: 0;
}
.profile-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.profile-text {
  max-width: 520px;
}
.profile-summary {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

/* 매력 포인트 */
.point-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  list-style: none;
  padding-left: 0;
  margin: 16px 0 36px;
}
.point-grid li {
  background: #f7f7f7;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

/* 키워드 태그 */
.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 36px;
}
.keyword-tags span {
  background: #eef2f5;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #444;
}

/* 반응형 */
@media (max-width: 768px) {
  .profile-wrap {
    flex-direction: column;
    align-items: center;
  }
  .profile-img {
    max-width: 220px;
    width: 100%;
  }
  .profile-text {
    max-width: 100%;
  }
  .point-grid {
    grid-template-columns: 1fr;
  }
}
