/* ========================================
   프로필 섹션 (1920x1080 기준 - 원래 코드 구조)
   ======================================== */

#profile-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #232323;
    padding: 40px 20px 40px 80px;
    box-sizing: border-box;
    margin-top: 100vh;
    z-index: 1;
}

.profile-wrapper {
    background: #232323;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    height: 100%;
    max-height: 100%;
    margin-left: -40px;
    width: calc(100% + 60px);
    max-width: none;
    overflow: hidden;
}

.profile-layout {
    align-self: stretch;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    display: inline-flex;
    flex: 1;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

/* 왼쪽 프로필 */
.profile-left {
    flex: 0 0 380px;
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.profile-title-fixed {
    color: white;
    font-size: 80px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 80px;
    word-wrap: break-word;
    margin-bottom: 20px;
}

.profile-info-container {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    flex: 1;
}

.profile-name-box {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    display: flex;
    margin-bottom: 60px;
}

.profile-name-ko {
    color: white;
    font-size: 64px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 64px;
    word-wrap: break-word;
}

.profile-name-en {
    color: white;
    font-size: 48px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 48px;
    word-wrap: break-word;
}

.profile-info-list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    display: flex;
}

.profile-info-item {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: inline-flex;
}

.profile-info-item svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.profile-info-text {
    color: white;
    font-size: 24px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.profile-updated {
    color: white;
    font-size: 24px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

/* 오른쪽 콘텐츠 */
.profile-right {
    flex: 1;
    height: 100%;
    max-height: calc(100vh - 80px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    display: inline-flex;
    overflow: hidden;
    min-width: 0;
    padding: 0;
}

.profile-scroll-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #232323;
    padding: 40px;
    box-sizing: border-box;
}

.profile-scroll-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* About Me 섹션 스타일 */
.about-section {
    padding: 40px;
}

.about-title {
    color: white;
    font-size: 48px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text {
    color: white;
    font-size: 20px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    white-space: pre-line;
}

/* ===
=====================================
   프로필 섹션 반응형 미디어 쿼리
   ======================================== */

/* 초소형 모바일 (320px ~ 360px) */
@media (max-width: 360px) {
    #profile-section {
        padding: 0;
        height: auto;
        min-height: 200vh;
    }
    
    .profile-wrapper {
        margin-left: 0;
        height: auto;
        width: 100%;
    }
    
    .profile-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-left {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 20px 16px;
        box-sizing: border-box;
    }
    
    .profile-right {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        box-sizing: border-box;
    }
    
    .profile-scroll-content {
        height: 100%;
        padding: 20px;
        background-color: #232323;
    }
    
    .profile-title-fixed {
        font-size: clamp(40px, 12vw, 60px);
        line-height: 1;
        margin-bottom: 30px;
    }
    
    .profile-name-ko {
        font-size: clamp(32px, 10vw, 48px);
        line-height: 1;
    }
    
    .profile-name-en {
        font-size: clamp(24px, 8vw, 36px);
        line-height: 1;
    }
    
    .profile-name-box {
        margin-bottom: 30px;
    }
    
    .profile-info-item svg {
        width: 20px;
        height: 20px;
    }
    
    .profile-info-text {
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.2;
    }
    
    .profile-updated {
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.2;
    }
}

/* 모바일 세로 (361px ~ 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    #profile-section {
        padding: 0;
        height: auto;
        min-height: 200vh;
    }
    
    .profile-wrapper {
        margin-left: 0;
        height: auto;
        width: 100%;
    }
    
    .profile-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-left {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 24px 20px;
        box-sizing: border-box;
    }
    
    .profile-right {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        box-sizing: border-box;
    }
    
    .profile-scroll-content {
        height: 100%;
        background-color: #232323;
        padding: 24px;
    }
    
    .profile-title-fixed {
        font-size: clamp(48px, 12vw, 64px);
        line-height: 1;
        margin-bottom: 40px;
    }
    
    .profile-name-ko {
        font-size: clamp(40px, 10vw, 52px);
        line-height: 1;
    }
    
    .profile-name-en {
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1;
    }
    
    .profile-name-box {
        margin-bottom: 40px;
    }
    
    .profile-info-item svg {
        width: 24px;
        height: 24px;
    }
    
    .profile-info-text {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.2;
    }
    
    .profile-updated {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.2;
    }
}

/* 모바일 가로 (481px ~ 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    #profile-section {
        padding: 0;
        height: auto;
    }
    
    .profile-wrapper {
        margin-left: 0;
        height: auto;
        width: 100%;
    }
    
    .profile-layout {
        margin-left: 25px;
        width: 550px;
        min-height: 1350px;
        flex-direction: column;
        gap: 0;
    }
    
    .profile-left {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 30px 24px;
        box-sizing: border-box;
    }
    
    .profile-right {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        box-sizing: border-box;
    }
    
    .profile-scroll-content {
        height: 100%;
        padding: 30px;
        background-color: #232323;
    }
    
    .profile-title-fixed {
        font-size: clamp(56px, 10vw, 72px);
        line-height: 1;
        margin-bottom: 50px;
    }
    
    .profile-name-ko {
        font-size: clamp(48px, 9vw, 56px);
        line-height: 1;
    }
    
    .profile-name-en {
        font-size: clamp(32px, 7vw, 42px);
        line-height: 1;
    }
    
    .profile-name-box {
        margin-bottom: 50px;
    }
    
    .profile-info-item svg {
        width: 26px;
        height: 26px;
    }
    
    .profile-info-text {
        font-size: clamp(18px, 3.5vw, 22px);
        line-height: 1.3;
    }
    
    .profile-updated {
        font-size: clamp(18px, 3.5vw, 22px);
        line-height: 1.3;
    }
}

/* 태블릿 세로 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #profile-section {
        padding: 0;
        height: auto;
        min-height: 200vh;
    }
    
    .profile-wrapper {
        margin-left: 0;
        height: auto;
        width: 100%;
    }
    
    .profile-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-left {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 40px;
        box-sizing: border-box;
    }
    
    .profile-right {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        box-sizing: border-box;
    }
    
    .profile-scroll-content {
        height: 100%;
        padding: 40px;
        background-color: #232323;
    }
    
    .profile-title-fixed {
        font-size: clamp(58px, 7.5vw, 70px);
        line-height: 1;
        margin-bottom: 45px;
    }
    
    .profile-name-ko {
        font-size: clamp(48px, 6.5vw, 56px);
        line-height: 1;
    }
    
    .profile-name-en {
        font-size: clamp(35px, 5.5vw, 42px);
        line-height: 1;
    }
    
    .profile-name-box {
        margin-bottom: 45px;
    }
    
    .profile-info-item svg {
        width: 26px;
        height: 26px;
    }
    
    .profile-info-text {
        font-size: clamp(18px, 2.8vw, 22px);
        line-height: 1.3;
    }
    
    .profile-updated {
        font-size: clamp(18px, 2.8vw, 22px);
        line-height: 1.3;
    }
}

/* 태블릿 가로 (1024px ~ 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    #profile-section {
        padding: 40px 30px 40px 60px;
    }
    
    .profile-wrapper {
        margin-left: -30px;
        width: calc(100% + 40px);
    }
    
    .profile-layout {
        gap: 20px;
    }
    
    .profile-left {
        flex: 0 0 340px;
    }
    
    .profile-scroll-content {
        height: 85vh;
    }
    
    .profile-title-fixed {
        font-size: clamp(68px, 6.5vw, 76px);
        line-height: 1;
        margin-bottom: 50px;
    }
    
    .profile-name-ko {
        font-size: clamp(52px, 5.5vw, 60px);
        line-height: 1;
    }
    
    .profile-name-en {
        font-size: clamp(40px, 4.8vw, 46px);
        line-height: 1;
    }
    
    .profile-name-box {
        margin-bottom: 50px;
    }
    
    .profile-info-text {
        font-size: clamp(20px, 2.3vw, 23px);
        line-height: 1.3;
    }
    
    .profile-updated {
        font-size: clamp(20px, 2.3vw, 23px);
        line-height: 1.3;
    }
}

/* PC 작은 화면 (1280px ~ 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
    #profile-section {
        padding: 40px 60px;
        padding-left: 60px;
    }
    
    .profile-wrapper {
        margin-left: -30px;
    }
    
    .profile-layout {
        gap: 90px;
    }
    
    .profile-title-fixed {
        font-size: 80px;
        margin-bottom: 58px;
    }
    
    .profile-name-ko {
        font-size: 64px;
    }
    
    .profile-name-en {
        font-size: 48px;
    }
    
    .profile-name-box {
        margin-bottom: 58px;
    }
}

/* PC 일반 화면 (1440px ~ 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    #profile-section {
        padding: 40px 70px;
        padding-left: 70px;
    }
    
    .profile-wrapper {
        margin-left: -35px;
    }
    
    .profile-layout {
        gap: 100px;
    }
    
    .profile-title-fixed {
        font-size: 80px;
        margin-bottom: 60px;
    }
    
    .profile-name-ko {
        font-size: 64px;
    }
    
    .profile-name-en {
        font-size: 48px;
    }
}

/* PC 큰 화면 (1920px 이상) */
@media (min-width: 1920px) {
    #profile-section {
        padding: 40px 80px;
        padding-left: 80px;
    }
    
    .profile-wrapper {
        margin-left: -40px;
    }
    
    .profile-layout {
        gap: 104px;
    }
}

/* 초고해상도 화면 (2560px 이상) */
@media (min-width: 2560px) {
    #profile-section {
        padding: 60px 120px;
        padding-left: 120px;
    }
    
    .profile-wrapper {
        margin-left: -120px;
        max-width: 2200px;
        margin-right: auto;
    }
    
    .profile-layout {
        gap: 200px;
        justify-content: flex-start;
    }
    
    .profile-left {
        flex: 0 0 600px;
        min-width: 600px;
        margin-left: 100px;
    }
    
    .profile-title-fixed {
        font-size: 100px;
        line-height: 100px;
        margin-bottom: 80px;
        white-space: nowrap;
    }
    
    .profile-name-ko {
        font-size: 80px;
        line-height: 80px;
        white-space: nowrap;
    }
    
    .profile-name-en {
        font-size: 60px;
        line-height: 60px;
        white-space: nowrap;
    }
    
    .profile-name-box {
        margin-bottom: 80px;
    }
    
    .profile-info-text {
        font-size: 28px;
        line-height: 28px;
    }
    
    .profile-updated {
        font-size: 28px;
        line-height: 28px;
    }
    
    .profile-right {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background-color: #232323 !important;
    }
    
    .profile-scroll-content {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background-color: #232323 !important;
    }
}

/* 4K 화면 (3440px 이상) */
@media (min-width: 3440px) {
    #profile-section {
        padding: 80px 150px;
        padding-left: 150px;
    }
    
    .profile-wrapper {
        margin-left: -150px;
        max-width: 2800px;
        margin-right: auto;
    }
    
    .profile-layout {
        gap: 250px;
    }
    
    .profile-left {
        flex: 0 0 700px;
        min-width: 700px;
        margin-left: 120px;
    }
    
    .profile-title-fixed {
        font-size: 120px;
        line-height: 120px;
        margin-bottom: 100px;
    }
    
    .profile-name-ko {
        font-size: 96px;
        line-height: 96px;
    }
    
    .profile-name-en {
        font-size: 72px;
        line-height: 72px;
    }
    
    .profile-info-text, .profile-updated {
        font-size: 32px;
        line-height: 32px;
    }
}

/* 8K 화면 (5120px 이상) */
@media (min-width: 5120px) {
    #profile-section {
        padding: 100px 200px;
        padding-left: 200px;
    }
    
    .profile-wrapper {
        margin-left: -200px;
        max-width: 3600px;
        margin-right: auto;
    }
    
    .profile-layout {
        gap: 300px;
    }
    
    .profile-left {
        flex: 0 0 800px;
        min-width: 800px;
        margin-left: 150px;
    }
    
    .profile-title-fixed {
        font-size: 150px;
        line-height: 150px;
        margin-bottom: 120px;
    }
    
    .profile-name-ko {
        font-size: 120px;
        line-height: 120px;
    }
    
    .profile-name-en {
        font-size: 90px;
        line-height: 90px;
    }
    
    .profile-info-text, .profile-updated {
        font-size: 40px;
        line-height: 40px;
    }
}


/* 세로 높이 650px 이하 */
@media (max-height: 650px) {
    #profile-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    .profile-wrapper {
        height: auto !important;
        max-height: none !important;
    }
    
    .profile-layout {
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
    }
    
    .profile-left {
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 20px !important;
        transform: translateY(-150px) !important;
    }
    
    .profile-right {
        height: auto !important;
        min-height: 0 !important;
        transform: translateY(-150px) !important;
    }
    
    .profile-scroll-content {
        height: auto !important;
        min-height: 0 !important;
        overflow-y: visible !important;
    }
}
