/*
 * AI X 게임크리에이터 메인 · 과정 상세 공통 스타일 (/2025/css/aicreator.css)
 * 모든 규칙은 #aicreator 안에서만 적용됩니다 (사이트 공통 CSS와 충돌 방지).
 * 필요한 외부 폰트: Pretendard, Outfit (index.html <head> 참고)
 */
@font-face { font-family: 'NEXON Lv1 Gothic'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Freesentation'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Freesentation'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Freesentation'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

#aicreator {
  --cyan: #08cee8;
  --dark: #1d1f22;
  --card: #262a2f;
  --line: #3f444a;
  /* 과정별 컬러 (과정 찾기 결과 제목에 사용) */
  --c-art: #ff8fa3;
  --c-gfx: #5fe0c8;
  --c-plan: #ffc56b;
  --c-dev: #7cb8ff;
  --f-title: 'NEXON Lv1 Gothic', 'Pretendard Variable', sans-serif;
  --f-body: 'Freesentation', 'Pretendard Variable', sans-serif;
  --f-ui: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  background: var(--dark); color: #fff; font-family: var(--f-ui); font-weight: 400; line-height: normal;
  overflow-x: hidden; word-break: keep-all;
}
#aicreator * { box-sizing: border-box; margin: 0; padding: 0; }
#aicreator img { display: block; max-width: 100%; }
#aicreator button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
#aicreator b, #aicreator strong { font-weight: 700; }
#aicreator .inner { width: min(1280px, 100% - 32px); margin: 0 auto; position: relative; }
#aicreator .narrow { width: min(1064px, 100%); margin-left: auto; margin-right: auto; }
#aicreator .sec { padding-top: 160px; }
#aicreator .sec.first { padding-top: 128px; }

/* ========== 공통 섹션 머리 ========== */
#aicreator .sec-head { display: flex; flex-direction: column; align-items: center; gap: 17px; text-align: center; }
#aicreator .eyebrow { display: inline-flex; align-items: center; gap: 5px; padding: 2px 25px; border-radius: 50px; background: rgba(52, 58, 67, .8); font-family: var(--f-body); font-weight: 700; font-size: 17px; line-height: 27px; letter-spacing: 1.36px; color: var(--cyan); }
#aicreator .eyebrow::before { content: ''; width: 12px; height: 9px; background: url('/2025/img/curriculum/aicreator/ico-check.svg') center / contain no-repeat; }
#aicreator .sec-head h2 { font-family: var(--f-title); font-weight: 700; font-size: 32px; line-height: 42px; letter-spacing: -0.16px; color: #fff; }
#aicreator .sec-head p { margin-top: -5px; font-family: var(--f-body); font-size: 20px; line-height: 27px; color: #eee; }
#aicreator .sec-head p strong { font-weight: 600; color: #fff; }

/* ========== HERO ========== */
#aicreator .hero { position: relative; height: 700px; }
#aicreator .hero-bg { position: absolute; inset: 0; overflow: hidden; }
#aicreator .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#aicreator .hero-bg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 348px; background: linear-gradient(0deg, var(--dark) 15%, rgba(29, 31, 34, 0)); }
#aicreator .hero-text { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin: 0 auto; padding-top: 302px; }
#aicreator .hero h1 { font-family: 'Outfit', var(--f-ui); font-weight: 800; font-size: 100px; line-height: 90px; letter-spacing: -2.5px; color: var(--cyan); text-transform: uppercase; text-shadow: 0 1px 28px rgba(0, 0, 0, .25); }
#aicreator .hero h2 { margin-top: 22px; font-size: 32px; line-height: 46px; font-weight: 700; letter-spacing: -0.7px; color: #fff; }
#aicreator .hero p { margin-top: 17px; font-size: 17px; line-height: 25px; color: #b1b1b1; }

/* ========== POINT ========== */
#aicreator .points { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#aicreator .point { padding: 30px; border-radius: 15px; background: #272a2f; }
#aicreator .point-top { display: flex; align-items: flex-start; justify-content: space-between; }
#aicreator .badge { padding: 3px 15px; border-radius: 50px; background: var(--cyan); font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 20px; color: #222; }
#aicreator .point-top img { height: 20px; width: auto; }
#aicreator .point h3 { margin-top: 15px; padding: 0 9px; font-family: var(--f-body); font-weight: 700; font-size: 22px; line-height: 30px; color: #fff; }

/* ========== 직무별 작업 방식 ========== */
#aicreator .jobs { margin-top: 55px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
#aicreator .job { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-align: center; padding-bottom: 30px; }
#aicreator .job-img { aspect-ratio: 305 / 297; overflow: hidden; }
#aicreator .job-img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
#aicreator .job:hover .job-img img { scale: 1.05; }
#aicreator .job-body { display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
#aicreator .job-body::before { content: ''; width: 85px; height: 2px; background: var(--cyan); }
#aicreator .job h3 { margin-top: 22px; font-family: var(--f-body); font-weight: 700; font-size: 25px; line-height: 23px; }
#aicreator .job dl { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
#aicreator .job dt { display: inline-block; padding: 0 10px; border-radius: 80px; background: var(--dark); font-family: var(--f-body); font-weight: 600; font-size: 14px; line-height: 23px; color: #9c9c9c; }
#aicreator .job dt.ai { border: 1px solid var(--cyan); color: #e3e3e3; }
#aicreator .job dd { margin-top: 6px; font-family: var(--f-body); font-size: 19px; line-height: 26px; letter-spacing: -0.38px; color: #9c9c9c; }
#aicreator .job dd.ai { color: #fff; }
#aicreator .job dd em { font-style: normal; font-weight: 600; color: var(--cyan); }
/* [시트 ⑭] 과목 카드 하단 '알아보기' 버튼 — 해당 과목 상세로 이동 */
#aicreator .job-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border: 1px solid var(--cyan); border-radius: 80px; background: transparent; font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 40px; color: var(--cyan); transition: background .2s ease, color .2s ease; }
#aicreator .job-more span { transition: translate .2s ease; }
#aicreator .job-more:hover { background: var(--cyan); color: #222; }
#aicreator .job-more:hover span { translate: 3px 0; }

/* ========== WHY SBS ========== */
#aicreator .steps { margin-top: 50px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#aicreator .step { min-height: 185px; padding: 26px 29px; border-radius: 10px; background: var(--card); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#aicreator .step small { display: block; font-family: var(--f-title); font-weight: 700; font-size: 18px; line-height: 27px; color: var(--cyan); }
#aicreator .step h3 { margin-top: 12px; font-family: var(--f-body); font-weight: 700; font-size: 25px; line-height: 23px; }
#aicreator .step p { margin-top: 14px; font-family: var(--f-body); font-size: 19px; line-height: 26px; letter-spacing: -0.38px; }
@media (min-width: 1025px) { #aicreator .step p { white-space: nowrap; } }
#aicreator .step img { flex: none; width: 134px; height: 134px; object-fit: contain; }

/* ========== 과정 찾기 ========== */
#aicreator .finder { margin-top: 50px; padding: 60px 89px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
#aicreator .quiz { display: flex; flex-direction: column; gap: 40px; border: 0; }
#aicreator .q legend { display: flex; align-items: flex-start; gap: 16px; font-family: var(--f-body); font-weight: 700; font-size: 25px; line-height: 23px; color: #fff; }
#aicreator .q legend span { font-family: var(--f-title); line-height: 27px; color: var(--cyan); }
#aicreator .q { border: 0; min-width: 0; }
#aicreator .opts { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 10px; }
#aicreator .opts label { position: relative; cursor: pointer; }
#aicreator .opts input { position: absolute; opacity: 0; pointer-events: none; }
#aicreator .opts span { display: inline-flex; align-items: center; padding: 10px 25px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-family: var(--f-body); font-weight: 600; font-size: 22px; line-height: 27px; color: #9c9c9c; transition: background .15s, color .15s, border-color .15s; }
#aicreator .opts label:hover span { border-color: #5a6068; color: #c9c9c9; }
#aicreator .opts input:checked + span { border-color: var(--cyan); background: var(--cyan); color: #222; }
#aicreator .opts input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
#aicreator .finder hr { margin: 38px -44px 38px; height: 2px; border: 0; border-radius: 10px; background: var(--line); }
#aicreator .result small { display: block; font-family: var(--f-body); font-weight: 700; font-size: 25px; line-height: 23px; color: #fff; }
#aicreator .result strong { display: block; margin-top: 15px; font-family: var(--f-title); font-size: 36px; line-height: 42px; letter-spacing: -0.18px; color: var(--course, var(--cyan)); transition: color .2s; }
#aicreator .result p { margin-top: 20px; font-family: var(--f-body); font-size: 22px; line-height: 27px; color: #eee; }
#aicreator .btn { display: table; margin: 50px auto 0; padding: 18px 40px; border-radius: 80px; background: var(--cyan); font-family: var(--f-ui); font-weight: 700; font-size: 20px; line-height: 1.27; letter-spacing: -0.6px; color: #222; text-decoration: none; transition: transform .2s, box-shadow .2s; }
#aicreator .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8, 206, 232, .35); }

/* ========== FAQ ========== */
#aicreator .faq-list { margin-top: 50px; display: flex; flex-direction: column; gap: 20px; }
#aicreator .faq details { overflow: hidden; border: 1px solid #3c3e40; border-radius: 15px; background: #26282b; transition: border-color .25s, box-shadow .25s; }
#aicreator .faq details[open] { border-color: rgba(18, 209, 237, .5); box-shadow: 0 0 6.45px rgba(8, 206, 232, .2); }
#aicreator .faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 52px; cursor: pointer; }
#aicreator .faq summary::-webkit-details-marker { display: none; }
#aicreator .faq summary::after { content: ''; flex: none; width: 18px; height: 11px; background: url('/2025/img/curriculum/aicreator/chevron.svg') center / contain no-repeat; transition: transform .25s; }
#aicreator .faq details[open] summary::after { transform: rotate(180deg); }
#aicreator .faq .qa { display: flex; align-items: center; gap: 14px; text-align: left; }
#aicreator .faq .mark { flex: none; width: 30px; border-radius: 10px; background: var(--cyan); font-family: var(--f-ui); font-weight: 600; font-size: 24px; line-height: 1.27; letter-spacing: -0.24px; text-align: center; color: #222; }
#aicreator .faq .mark.a { border: 1px solid #4a4b4e; background: #35373a; color: var(--cyan); }
#aicreator .faq summary .qa > span:last-child { font-weight: 700; font-size: 23px; line-height: 1.27; letter-spacing: -0.23px; }
#aicreator .faq .answer { align-items: flex-start; padding: 4px 52px 27px; }
#aicreator .faq .answer p { max-width: 950px; font-weight: 500; font-size: 19px; line-height: 1.55; letter-spacing: -0.19px; }
#aicreator .page-end { height: 160px; }

/* ========== 모션 ========== */
#aicreator .reveal { opacity: 0; translate: 0 40px; transition: opacity .9s ease var(--d, 0s), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
#aicreator .reveal.in { opacity: 1; translate: 0 0; }
@keyframes ac-up { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
#aicreator .hero-text > * { animation: ac-up 1s cubic-bezier(.2, .7, .2, 1) both; }
#aicreator .hero-text > h2 { animation-delay: .2s; }
#aicreator .hero-text > p { animation-delay: .35s; }
#aicreator .point, #aicreator .job, #aicreator .step { transition: opacity .9s ease var(--d, 0s), translate .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), border-color .3s; }
#aicreator .point:hover, #aicreator .job:hover, #aicreator .step:hover { translate: 0 -6px; }
@media (prefers-reduced-motion: reduce) {
  #aicreator *, #aicreator *::before, #aicreator *::after { animation: none !important; transition: none !important; }
  #aicreator .reveal { opacity: 1; translate: none; }
}

/* ========== 반응형 ========== */
@media (max-width: 1280px) {
  #aicreator .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #aicreator .finder { padding: 50px 48px; }
  #aicreator .finder hr { margin-left: -24px; margin-right: -24px; }
}

@media (max-width: 1024px) {
  #aicreator .hero { height: 620px; }
  #aicreator .hero-text { padding-top: 220px; }
  #aicreator .hero h1 { font-size: 72px; line-height: 66px; letter-spacing: -1.5px; }
  #aicreator .hero h2 { font-size: 26px; line-height: 38px; }
  #aicreator .sec { padding-top: 120px; }
  #aicreator .points { grid-template-columns: 1fr; }
  #aicreator .steps { grid-template-columns: 1fr; }
  #aicreator .opts span { font-size: 19px; padding: 9px 20px; }
}

@media (max-width: 768px) {
  #aicreator .hero { height: auto; padding-bottom: 60px; }
  #aicreator .hero-bg img { object-position: 60% top; }
  #aicreator .hero-bg::after { height: 100%; background: linear-gradient(0deg, var(--dark) 25%, rgba(29, 31, 34, .55) 70%, rgba(29, 31, 34, .2)); }
  #aicreator .hero-text { padding-top: 260px; }
  #aicreator .hero h1 { font-size: 13vw; line-height: .95; letter-spacing: -0.03em; }
  #aicreator .hero h2 { margin-top: 18px; font-size: 22px; line-height: 32px; }
  #aicreator .hero p { font-size: 15px; line-height: 23px; }
  #aicreator .hero br, #aicreator .sec-head p br { display: none; }
  #aicreator .sec { padding-top: 90px; }
  #aicreator .sec.first { padding-top: 70px; }
  #aicreator .sec-head h2 { font-size: 24px; line-height: 32px; }
  #aicreator .sec-head p { font-size: 16px; line-height: 24px; }
  #aicreator .eyebrow { font-size: 14px; letter-spacing: 1px; padding: 2px 16px; }
  #aicreator .points, #aicreator .jobs, #aicreator .steps, #aicreator .finder, #aicreator .faq-list { margin-top: 36px; }
  #aicreator .point { padding: 22px; }
  #aicreator .point h3 { font-size: 19px; line-height: 26px; }
  #aicreator .jobs { grid-template-columns: 1fr; gap: 16px; }
  #aicreator .job-img { aspect-ratio: 16 / 11; }
  #aicreator .job h3 { font-size: 22px; }
  #aicreator .job dd { font-size: 17px; line-height: 24px; }
  #aicreator .step { padding: 22px; }
  #aicreator .step h3 { font-size: 21px; line-height: 26px; }
  #aicreator .step p { font-size: 16px; line-height: 23px; }
  #aicreator .step p br { display: none; }
  #aicreator .step img { width: 84px; height: 84px; }
  #aicreator .finder { padding: 32px 20px; border-radius: 16px; }
  #aicreator .quiz { gap: 30px; }
  #aicreator .q legend { font-size: 20px; gap: 10px; }
  #aicreator .opts { margin-top: 16px; gap: 8px; }
  #aicreator .opts span { font-size: 16px; line-height: 22px; padding: 9px 16px; }
  #aicreator .finder hr { margin: 30px 0; }
  #aicreator .result small { font-size: 18px; }
  #aicreator .result strong { margin-top: 10px; font-size: 28px; line-height: 34px; }
  #aicreator .result p { margin-top: 12px; font-size: 17px; line-height: 25px; }
  #aicreator .btn { margin-top: 32px; padding: 15px 28px; font-size: 17px; }
  #aicreator .faq summary { padding: 18px 18px; }
  #aicreator .faq .qa { gap: 10px; align-items: flex-start; }
  #aicreator .faq .mark { width: 24px; font-size: 18px; border-radius: 7px; }
  #aicreator .faq summary .qa > span:last-child { font-size: 16px; line-height: 1.5; }
  #aicreator .faq .answer { padding: 0 18px 20px; }
  #aicreator .faq .answer p { font-size: 15px; line-height: 1.6; }
  #aicreator .page-end { height: 90px; }
}

/* =====================================================================
   과정 상세 페이지 (AI게임원화 · 그래픽 · 기획 · 프로그래밍 공통)
   ===================================================================== */
#aicreator .hero.detail h1 { font-weight: 700; }
/* 상세 히어로 원본 이미지 상단에 투명 여백이 있어 살짝 확대해 가림 */
#aicreator .hero.detail .hero-bg img { position: absolute; top: -4%; height: 108%; }
#aicreator .detail-body { padding-top: 47px; }
#aicreator .d-wrap { width: min(1283px, 100% - 32px); margin: 0 auto; }

/* 대상 · 기간 · 수강 조건 */
#aicreator .d-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
#aicreator .d-info > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 70px; padding: 0 10px; border-right: 1px solid var(--line); }
#aicreator .d-info > div:last-child { border-right: 0; }
#aicreator .d-info dt { font-family: var(--f-body); font-weight: 700; font-size: 24px; line-height: 22px; color: var(--cyan); }
#aicreator .d-info dd { font-family: var(--f-body); font-size: 22px; line-height: 22px; color: #eee; }
#aicreator .d-info dd b { font-weight: 700; }

/* 결과물 이미지 3장 */
#aicreator .d-works { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
#aicreator .d-work { position: relative; aspect-ratio: 413 / 320; overflow: hidden; border-radius: 15px; background: #fff; }
#aicreator .d-work img { width: 100%; height: 100%; object-fit: contain; transition: scale .6s ease; }
#aicreator .d-work:hover img { scale: 1.04; }
#aicreator .d-work.cover img { object-fit: cover; }
#aicreator .d-work span { position: absolute; left: 50%; bottom: 21px; translate: -50% 0; padding: 8px 16px; border-radius: 80px; background: rgba(29, 31, 34, .9); font-family: var(--f-title); font-weight: 700; font-size: 18px; line-height: 20px; color: var(--cyan); white-space: nowrap; }

/* 커리큘럼 STEP */
#aicreator .d-steps { margin-top: 45px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 22px; }
#aicreator .d-step { display: flex; align-items: flex-start; gap: 15px; padding: 30px 1px; border-bottom: 1px solid #373a3f; }
#aicreator .d-step > span { flex: none; padding: 6px 12px; border-radius: 80px; background: var(--cyan); font-family: var(--f-title); font-weight: 700; font-size: 18px; line-height: 20px; color: #222; }
#aicreator .d-step h3 { font-family: var(--f-body); font-weight: 700; font-size: 24px; line-height: 22px; color: #eee; }
#aicreator .d-step p { margin-top: 12px; font-family: var(--f-body); font-size: 22px; line-height: 30px; color: #eee; }

/* 사용 툴 */
#aicreator .d-tools { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#aicreator .d-tools li { list-style: none; padding: 7px 25px; border: 1px solid #373a3f; border-radius: 800px; background: var(--card); font-family: var(--f-body); font-weight: 600; font-size: 20px; line-height: 24px; color: #fff; }

/* 수료 결과물 */
#aicreator .d-result { margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 17px; text-align: center; }
#aicreator .eyebrow.line { padding: 8px 25px; border-radius: 0; border-bottom: 2px solid var(--cyan); background: none; }
#aicreator .d-result small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 20px; line-height: 27px; color: #eee; }
#aicreator .d-result h2 { margin-top: -7px; font-family: var(--f-title); font-weight: 700; font-size: 32px; line-height: 42px; letter-spacing: -0.16px; }
#aicreator .d-result .btn { margin-top: 18px; }

#aicreator .d-work, #aicreator .d-step { transition: opacity .9s ease var(--d, 0s), translate .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }

@media (max-width: 1024px) {
  #aicreator .d-info dt { font-size: 20px; }
  #aicreator .d-info dd { font-size: 18px; line-height: 24px; }
  #aicreator .d-steps { grid-template-columns: 1fr; gap: 0; }
  #aicreator .d-step p br { display: none; }
}

@media (max-width: 768px) {
  #aicreator .hero.detail h1 { font-size: 11vw; }
  #aicreator .detail-body { padding-top: 30px; }
  #aicreator .d-info { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; }
  #aicreator .d-info > div { flex-direction: row; justify-content: space-between; min-height: 0; padding: 16px 18px; border-right: 0; border-bottom: 1px solid var(--line); text-align: right; }
  #aicreator .d-info > div:last-child { border-bottom: 0; }
  #aicreator .d-info dt { font-size: 17px; }
  #aicreator .d-info dd { font-size: 16px; }
  #aicreator .d-works { margin-top: 32px; grid-template-columns: 1fr; gap: 14px; }
  #aicreator .d-work span { bottom: 14px; font-size: 15px; padding: 6px 14px; }
  #aicreator .d-steps { margin-top: 24px; }
  #aicreator .d-step { padding: 22px 0; gap: 12px; }
  #aicreator .d-step > span { font-size: 14px; padding: 5px 10px; }
  #aicreator .d-step h3 { font-size: 19px; line-height: 24px; }
  #aicreator .d-step p { margin-top: 8px; font-size: 16px; line-height: 24px; }
  #aicreator .d-tools li { padding: 6px 16px; font-size: 15px; line-height: 22px; }
  #aicreator .d-result { margin-top: 50px; }
  #aicreator .d-result small { font-size: 16px; }
  #aicreator .d-result h2 { font-size: 24px; line-height: 32px; }
}