/* 기본 공통 설정 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    line-height: 1.8; 
    color: #333; 
}

/* 네비게이션 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;  
    top: 0;            
    z-index: 1000;
}

.logo a {
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    color: #7d7dff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #888;
}

nav ul li a:hover {
    color: #7d7dff;
}

/* 헤더 이미지 */
.dual-header { 
    background: linear-gradient(135deg, #b0bfff 0%, #d1d9ff 100%); 
    padding: 100px 0; 
    text-align: center; 
}

.header-title h1 { 
    font-family: "DM Serif Display", serif;
    font-size: 3.5rem; 
    color: #fff; 
    margin-bottom: 15px; 
}

.profile-container { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    margin-top: 60px; 
}

.profile-item { 
    flex: 0 1 500px; 
} 

.img-wrapper { 
    width: 100%; 
    aspect-ratio: 1/1; 
    border-radius: 50%; 
    border: 8px solid #fff; 
    overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.25); 
    margin-bottom: 30px; 
}

.img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.version-label { 
    display: block; 
    font-weight: bold; 
    font-size: 1.1rem; 
    color: #7d7dff; 
    background: #fff; 
    padding: 12px 0; 
    border-radius: 40px; 
    width: 240px; 
    margin: 0 auto 20px; 
}

.version-label.tsukuyomi { 
    color: #ff7dbb; 
}

.version-desc { 
    color: rgba(255, 255, 255, 0.95); 
    font-size: 1.2rem; 
}

/* 타이틀 밑에 얇고 긴 선 */
.underlined-title {
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 45px;
}
.underlined-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: rgba(43, 216, 202, 0.6);
}

/* 본문 레이아웃 */
.container { 
    max-width: 1200px; 
    margin: 5rem auto; 
    padding: 0; 
}

h2 { 
    font-size: 2.5rem; 
    color: rgb(43, 216, 202); 
}

.center-title { 
    text-align: center; 
    padding: 0 20px; 
}

.intro-content p { 
    max-width: 900px; 
    margin: 0 auto 25px; 
    color: #555; 
    font-size: 1.1rem; 
    text-align: justify;
}

/* 성격 박스 */
.personality-box { 
    background: #f8f9ff; 
    padding: 80px 40px; 
    border-radius: 50px; 
    margin: 80px 20px; 
    text-align: center;
    font-size: 18px;
}

.tag-container { 
    display: flex; 
    justify-content: center; 
    gap: 20px;
    margin-bottom: 35px; 
}

.p-tag { 
    background: #7d7dff; 
    color: #fff; 
    padding: 12px 30px; 
    border-radius: 60px; 
    font-size: 1.05rem; 
}

/* 중간 사진 */
.mid-banner { 
    width: 100%; 
    padding: 60px 20px; 
    text-align: center; 
}

.mid-banner img { 
    width: 100%; 
    max-width: 1100px; 
    border-radius: 40px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
}

/* 친구들 섹션 */
.friends-section-bg { 
    background-color: #fcfcff; 
    padding: 100px 20px; 
    border-radius: 60px; 
    text-align: center; 
    margin: 0 20px; 
}

.friends-inner { 
    max-width: 1100px; 
    margin: 0 auto; 
}

.friends-row { 
    display: flex; 
    justify-content: center; 
    gap: 60px; 
    margin-top: 50px; 
}

.friend-card { 
    flex: 0 1 480px; 
} 

.friend-thumb { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 1/1; 
    border-radius: 40px; 
    overflow: hidden; 
    border: 6px solid #fff; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
    margin-bottom: 25px; 
}

.friend-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s; 
}

.friend-card h3 {  
    font-size: 2.2rem; 
    color: #444; 
    margin-bottom: 15px; 
}

.friend-desc { 
    font-size: 1.2rem; 
    color: #666; 
    line-height: 1.6; 
    word-break: keep-all; 
}

/* 호버 효과 */
.hover-text { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(125,125,255,0.8); 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: 0.3s; 
    font-size: 1.4rem; 
    font-weight: bold; 
}

.friend-link:hover .hover-text { 
    opacity: 1; 
}

.friend-link:hover img { 
    transform: scale(1.05); 
}

footer {
    background-color: rgb(98, 205, 212);
    text-align: center;
    color: white;
    padding: 50px;
}

footer a {
    color:white;
}

footer a:hover {
    opacity: 0.5;
    background-color: transparent;
}