@charset "utf-8";
/* 메인페이지 - 시안 01 스타일 */

/* ==================== 공통 ==================== */
html, body { margin: 0; padding: 0; background: #04070f; }
body { font-family: "Pretendard Variable", Pretendard, sans-serif; color: #10192b; }
a { color: #eaf0f8; text-decoration: none; }
a:hover { color: #6ea8ff; }
::selection { background: #2f6fd6; color: #fff; }
@property --spin-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

#mainWrap { min-height: 100vh; background: #04070f; }

/* ==================== 메인비주얼 ==================== */
.mv { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; background: #000; }
.mv-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #000000; }
.mv-img { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background: url("../images/main/visual_dna.jpg") center / cover no-repeat; transform-origin: center; animation: mvZoomOut 5s cubic-bezier(0.25, 0.1, 0.25, 1) both; } /* 처음 1.1배로 확대돼 있다가 5초에 걸쳐 1배로 */
.mv-aurora1 { position: absolute; inset: -10%; z-index: 1; pointer-events: none; filter: blur(70px); animation: aurora1 26s ease-in-out infinite; background: radial-gradient(38% 30% at 68% 30%, rgba(31,90,200,0.34), transparent 70%), radial-gradient(30% 26% at 24% 72%, rgba(28,150,130,0.2), transparent 70%); }
.mv-aurora2 { position: absolute; inset: -10%; z-index: 1; pointer-events: none; filter: blur(90px); animation: aurora2 34s ease-in-out infinite; background: radial-gradient(30% 24% at 42% 20%, rgba(70,140,255,0.16), transparent 70%), radial-gradient(26% 22% at 82% 78%, rgba(40,120,220,0.2), transparent 70%); }
.mv-inner { position: relative; z-index: 10; flex: 1; display: flex; align-items: flex-start; width: 100%; max-width: 1740px; margin: 0 auto; padding: clamp(130px, calc(20vh + 20px), 220px) 36px 40px; box-sizing: border-box; pointer-events: none; }

.mv-txt { max-width: 980px; position: relative; }
.mv-txt-bg { position: absolute; inset: -100px -200px -100px -160px; z-index: -1; background: radial-gradient(65% 75% at 35% 50%, rgba(3,7,15,0.85), transparent 78%); pointer-events: none; }
.mv-h1 { margin: 0; font-family: 'Jost', 'Pretendard Variable', sans-serif; font-size: clamp(56px, 5.4vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; color: #ffffff; white-space: nowrap; text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,0.85), 0 0 60px rgba(0,0,0,0.6); }
.mv-line { display: block; clip-path: inset(-0.35em -50vw 0 -50vw); } /* 아래쪽만 마스크 (좌우는 넉넉히 열어 글자 잘림 방지) */
.mv-line > span { display: inline-block; animation: lineUp 1.2s cubic-bezier(0.45, 0.05, 0.25, 1) both; }
.mv-line:nth-of-type(1) > span { animation-delay: 0.1s; }
.mv-line:nth-of-type(2) > span { animation-delay: 0.3s; }
.mv-line:nth-of-type(3) > span { animation-delay: 0.5s; }
.mv-em { font-style: italic; font-weight: 300; }
.mv-desc { margin: 50px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; color: #ffffff; text-shadow: 0 2px 16px rgba(0,0,0,0.85), 0 0 40px rgba(0,0,0,0.6); overflow: hidden; }
.mv-desc > span { display: inline-block; animation: lineUp 1.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.7s both; }

/* 언론보도 카드 */
#pub-card { position: absolute; right: 36px; bottom: 48px; z-index: 15; width: 380px; pointer-events: auto; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 24px; background: rgba(10,20,38,0.55); border: 1px solid rgba(234,240,248,0.14); backdrop-filter: blur(14px); animation: cardIn 1.2s cubic-bezier(0.45, 0.05, 0.25, 1) 1.9s both; transition: border-color 0.25s, background 0.25s, box-shadow 0.3s; }
#pub-card:hover { border-color: rgba(120,180,255,0.5); background: rgba(58,110,200,0.38); box-shadow: 0 0 44px rgba(94,166,255,0.4), 0 18px 50px -18px rgba(94,166,255,0.5); }
#pub-ring { position: absolute; inset: 0; border-radius: 24px; padding: 2px; background: conic-gradient(from var(--spin-a), rgba(200,222,255,0) 0%, rgba(200,222,255,0.45) 10%, rgba(200,222,255,0) 22%, rgba(200,222,255,0) 50%, rgba(200,222,255,0.45) 60%, rgba(200,222,255,0) 72%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; animation: borderSpin 15s linear infinite; transition: opacity 0.3s; pointer-events: none; }
#pub-card:hover #pub-ring { opacity: 0; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-tag { font-size: 18px; font-weight: 700; letter-spacing: 0.04em; color: #5ea6ff; }
.pc-arr {padding-top: 5px; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(234,240,248,0.14); display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 20px; }
.pc-title { font-size: 22px; font-weight: 700; line-height: 1.45; color: #ffffff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-year { font-size: 16px; color: rgba(234,240,248,0.55); }
.pc-thumb { width: 100%; height: 170px; border-radius: 14px; overflow: hidden; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }

/* ==================== 논문 / 센터소식 ==================== */
#latest { background: #ffffff; overflow: hidden; }
#latest-grid { max-width: 1740px; margin: 0 auto; padding: 150px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 140px; align-items: stretch; }

/* 논문 */
.lt-pub { position: relative; width: 100%; box-sizing: border-box; border-radius: 28px; background: url("../images/main/latest_bg.jpg") center / cover no-repeat, #0a1428; padding: 44px; display: flex; gap: 30px; }
.lt-pub-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.lt-pub-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(234,240,248,0.2); padding-bottom: 18px; }
.lt-pub-label { font-size: 20px; font-weight: 700; color: rgba(234,240,248,0.9); }
.lt-pub-nav { display: flex; gap: 6px; align-items: center; }
.lt-pub-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; color: rgba(234,240,248,0.7); font-size: 30px; cursor: pointer; transition: color 0.2s; display: flex; justify-content: center; align-items: center; padding-bottom: 8px; }
.lt-pub-btn:hover { color: #ffffff; }
.lt-pub-bar { width: 1px; height: 14px; background: rgba(234,240,248,0.25); }
.lt-spacer { flex: 1; }
.pub-title { display: block; margin-top: 44px; font-size: 27px; font-weight: 700; line-height: 1.5; color: #ffffff; transition: opacity 0.3s; }
.pub-title:hover,
.lt-pub:has(.pub-img:hover) .pub-title { opacity: 0.55; color: #ffffff; } /* 타이틀·이미지 어느 쪽에 올려도 함께 동작 */
.pub-line { display: block; overflow: hidden; }
.pub-line > span { display: block; }
#pub-date { display: flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 16px; color: rgba(234,240,248,0.7); }
#pub-date i { font-size: 18px; }
.lt-pub-img { display: block; width: 340px; aspect-ratio: 3 / 4; align-self: center; flex: none; margin-right: -134px; border-radius: 18px; overflow: hidden; background: #ffffff; border: 15px solid #ffffff; box-sizing: border-box; }
#pub-img-box { position: relative; width: 100%; height: 100%; }
.pub-img { width: 100%; height: 100%; border-radius: 6px; overflow: hidden; }
.pub-img > div { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.pub-img:hover > div,
.lt-pub:has(.pub-title:hover) .pub-img > div { transform: scale(1.1); }
.pub-img-in { width: 100%; height: 100%; background-size: cover; background-position: center; }
.pub-img-prev { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; animation: pubImgOut 0.55s cubic-bezier(0.45, 0.05, 0.25, 1) both; pointer-events: none; background-size: cover; background-position: center; }

/* 센터소식 */
.lt-news { display: flex; flex-direction: column; min-width: 0; }
.lt-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 50px; }
.lt-news-eng { font-family: 'Jost', 'Pretendard Variable', sans-serif; font-size: 20px; font-weight: 700; color: #2f6fd6; text-transform: uppercase; }
.lt-news-h2 { margin: 10px 0 0; font-size: 54px; font-weight: 800; letter-spacing: -0.08em; color: #10192b; line-height: 1; }
.lt-news-list { display: flex; flex-direction: column; gap: 10px; }

.more-btn { display: inline-flex; align-items: center; gap: 14px; padding: 11px 20px; border-radius: 12px; background: transparent; border: 1px solid rgba(16,25,43,0.3); color: #10192b; font-size: 16px; font-weight: 700; letter-spacing: 0.02em; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.more-btn:hover { background: #2f6fd6 !important; border-color: #2f6fd6 !important; color: #ffffff !important; }
/* 오른쪽 점 하나 : 호버하면 글자 쪽(안쪽)으로 점 3개가 점점 작고 연해지며 꼬리처럼 이어짐 */
.more-btn .dot { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #2f6fd6; transition: margin-left 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s; }
.more-btn .dot::after { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: transparent; box-shadow: -9px 0 0 -0.5px rgba(255,255,255,0.75), -17px 0 0 -1px rgba(255,255,255,0.5), -24px 0 0 -1.5px rgba(255,255,255,0.25); opacity: 0; transform: translateX(10px); transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.more-btn:hover .dot { margin-left: 24px; background: #ffffff; }
.more-btn:hover .dot::after { opacity: 1; transform: none; }

.news-li { display: flex; align-items: center; gap: 26px; padding: 18px 20px; color: #10192b; border-radius: 16px; background: #f2f5fa; transition: background 0.3s; }
.news-li:hover { background: transparent; }
.news-li .date-box { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border-radius: 12px; background: #ffffff !important; transition: background 0.3s; }
.news-li:hover .date-box { background: #f2f5fa !important; }
.news-day { font-family: 'Jost', sans-serif; font-size: 38px; font-weight: 700; line-height: 1; color: #10192b; }
.news-ym { font-size: 16px; color: rgba(16,25,43,0.55); line-height: 1; }
.news-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.news-tag { font-size: 16px; font-weight: 700; color: #2f6fd6; }
.news-title { min-width: 0; font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.news-li:hover .news-title { color: #2f6fd6; }
.news-li .arr { display: none; }
.news-empty { padding: 40px 20px; border-radius: 16px; text-align: center; font-size: 17px; color: #8a93a3; background: #f2f5fa; } /* 소식이 한 건도 없을 때 */

/* ==================== 애니메이션 ==================== */
@keyframes borderSpin { to { --spin-a: 360deg; } }
@keyframes pubTitleIn { from { transform: translateY(130%); } to { transform: none; } }
@keyframes pubTitleOut { from { transform: none; } to { transform: translateY(130%); } }
@keyframes pubFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pubFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes pubImgIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pubImgOut { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes mvZoomOut { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(130%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes fadeFromLeft { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes fadeFromRight { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes aurora1 { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(8vw, -6vh) rotate(18deg) scale(1.15); } 100% { transform: translate(0, 0) rotate(0deg) scale(1); } }
@keyframes aurora2 { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(-7vw, 5vh) rotate(-14deg) scale(1.1); } 100% { transform: translate(0, 0) rotate(0deg) scale(1); } }

/* ==================== 반응형 ==================== */
@media (max-width: 1380px) { #latest-grid { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 1180px) { #pub-card { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
