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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: #232323;
    color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Developer 텍스트 애니메이션 */
#developer-container {
    width: 100%;
    left: 0px;
    top: 490px;
    position: absolute;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    transition: transform 1s ease-out;
    z-index: 1;
}

#developer {
    text-align: center;
    color: #373737;
    font-size: clamp(80px, 20vw, 340px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
}

/* Back-End 텍스트 애니메이션 */
#back-end-container {
    left: 10%;
    top: 184px;
    position: absolute;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    transition: transform 1s ease-out;
    z-index: 1;
}

#back-end {
    width: 100%;
    text-align: center;
    color: #373737;
    font-size: clamp(80px, 20vw, 340px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
}

/* 최종 콘텐츠 */
#new-content {
    width: 100%;
    height: 100%;
    padding-left: 40px;
    padding-right: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.first-title {
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
}

#devloper-text {
    text-align: center;
    color: white;
    font-size: clamp(48px, 12vw, 104px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    word-wrap: break-word;
}

#jungeun {
    text-align: center;
    color: white;
    font-size: clamp(48px, 12vw, 104px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    word-wrap: break-word;
}

.second-title {
    padding-left: 12px;
    padding-right: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: flex;
}

.third-title {
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    display: inline-flex;
    flex-wrap: wrap;
}

.fourth-title {
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    display: inline-flex;
    flex-wrap: wrap;
}

.starter-content {
    text-align: center;
    color: white;
    font-size: clamp(24px, 6vw, 40px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    word-wrap: break-word;
}

.starter-content2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(28px, 7vw, 48px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    word-wrap: break-word;
}

#various {
    text-align: center;
    color: white;
    font-size: clamp(24px, 6vw, 40px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    word-wrap: break-word;
}

/* 업데이트 날짜 */
.updated {
    position: absolute;
    margin-left: 80px;
    margin-bottom: 40px;
    color: white;
    left: 10px;
    bottom: 10px;
    font-size: clamp(16px, 3vw, 24px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    z-index: 10; /* Developer 텍스트보다 위에 표시 */
}

/* 고정 아이콘 버튼 */
#fixed-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

#fixed-icons a {
    background-color: white;
    color: #373737;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

#fixed-icons a i {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fixed-icons a:hover {
    background-color: #f8f9fa;
    color: #373737;
    transform: scale(1.25);
}

#fixed-icons a::after {
    content: attr(data-text);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 15px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    background-color: white;
    color: #373737;
    border-radius: 10px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    box-sizing: border-box;
    min-width: 70px;
    max-width: 150px;
}

#fixed-icons a:hover::after {
    display: block;
}

#fixed-icons a[data-text="shahmaran0207@naver.com"]::after {
    font-size: 16px;
    padding: 15px 20px;
    min-width: 100px;
    max-width: 250px;
}

/* 스크롤 인디케이터 */
.scroll-container a {
    padding-top: 40px;
    text-decoration: none;
}

.scroll-container a span {
    position: absolute;
    bottom: 5%;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}

.scroll-container a span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    animation: scroll-indicator 2s infinite;
    box-sizing: border-box;
}

@keyframes scroll-indicator {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ========================================
   초세밀 반응형 미디어 쿼리 (실제 기기별 최적화)
   ======================================== */

/* 초소형 모바일 (320px ~ 360px) - iPhone SE, Galaxy Fold */
@media (max-width: 360px) {
    #back-end-container {
        left: 1%;
        top: 12%;
    }

    .profile-layout {
        margin-left: 20px;
        width: 300px;
        height: 1300px;
    }
    
    #developer-container {
        top: 45%;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(60px, 18vw, 80px);
    }
    
    #developer {
        font-size: clamp(60px, 18vw, 80px);
    }
    
    #new-content {
        padding: 16px;
        gap: 20px;
    }
    
    .first-title {
        flex-direction: column;
        gap: 8px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(32px, 8vw, 48px);
    }
    
    .third-title,
    .fourth-title {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .starter-content {
        font-size: clamp(18px, 4vw, 24px);
    }
    
    .starter-content2 {
        font-size: clamp(20px, 5vw, 28px);
    }
    
    #various {
        font-size: clamp(18px, 4vw, 24px);
    }
    
    .updated {
        margin-left: 16px;
        margin-bottom: 16px;
        font-size: 14px;
    }
    
    .scroll-container a span {
        width: 24px;
        height: 40px;
        margin-left: -12px;
    }
}

/* 모바일 가로 (481px ~ 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    #back-end-container {
        left: 3%;
        top: 18%;
    }

    .profile-layout {
        margin-left: 20px;
        width: 440px;
        height: 1300px;
    }
    
    #developer-container {
        top: 42%;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(80px, 16vw, 120px);
    }
    
    #developer {
        font-size: clamp(80px, 16vw, 120px);
    }
    
    #new-content {
        padding: 20px;
        gap: 24px;
    }
    
    .first-title {
        flex-direction: row;
        gap: 16px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(40px, 9vw, 60px);
    }
    
    .third-title,
    .fourth-title {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .starter-content {
        font-size: clamp(20px, 4vw, 28px);
    }
    
    .starter-content2 {
        font-size: clamp(24px, 5vw, 32px);
    }
    
    #various {
        font-size: clamp(20px, 4vw, 28px);
    }
    
    .updated {
        margin-left: 20px;
        margin-bottom: 20px;
        font-size: 16px;
    }
}

/* 태블릿 세로 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #back-end-container {
        left: 5%;
        top: 20%;
    }
    
    #developer-container {
        top: 40%;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(120px, 14vw, 180px);
    }
    
    #developer {
        font-size: clamp(120px, 14vw, 180px);
    }
    
    #new-content {
        padding: 30px;
        gap: 30px;
    }
    
    .first-title {
        gap: 20px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(60px, 10vw, 80px);
    }
    
    .third-title,
    .fourth-title {
        gap: 10px;
    }
    
    .starter-content {
        font-size: clamp(28px, 5vw, 36px);
    }
    
    .starter-content2 {
        font-size: clamp(32px, 6vw, 42px);
    }
    
    #various {
        font-size: clamp(28px, 5vw, 36px);
    }
    
    .updated {
        margin-left: 30px;
        margin-bottom: 30px;
        font-size: 18px;
    }
}

/* 태블릿 가로 (1024px ~ 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    #back-end-container {
        left: 8%;
        top: 22%;
    }
    
    #developer-container {
        top: 38%;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(180px, 12vw, 220px);
    }
    
    #developer {
        font-size: clamp(180px, 12vw, 220px);
    }
    
    #new-content {
        padding: 40px;
        gap: 35px;
    }
    
    .first-title {
        gap: 24px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(70px, 9vw, 90px);
    }
    
    .third-title,
    .fourth-title {
        gap: 12px;
    }
    
    .starter-content {
        font-size: clamp(32px, 4vw, 38px);
    }
    
    .starter-content2 {
        font-size: clamp(36px, 5vw, 44px);
    }
    
    #various {
        font-size: clamp(32px, 4vw, 38px);
    }
    
    .updated {
        margin-left: 40px;
        margin-bottom: 35px;
        font-size: 20px;
    }
}

/* PC 작은 화면 (1280px ~ 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
    #back-end-container {
        left: 10%;
        top: 184px;
    }
    
    #developer-container {
        top: 490px;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(220px, 10vw, 260px);
    }
    
    #developer {
        font-size: clamp(220px, 10vw, 260px);
    }
    
    #new-content {
        padding: 40px;
        gap: 40px;
    }
    
    .first-title {
        gap: 24px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(80px, 8vw, 100px);
    }
    
    .starter-content {
        font-size: clamp(34px, 3vw, 40px);
    }
    
    .starter-content2 {
        font-size: clamp(40px, 4vw, 48px);
    }
    
    #various {
        font-size: clamp(34px, 3vw, 40px);
    }
    
    .updated {
        margin-left: 60px;
        margin-bottom: 40px;
        font-size: 22px;
    }
}

/* PC 일반 화면 (1440px ~ 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    #back-end-container {
        left: 10%;
        top: 184px;
    }
    
    #developer-container {
        top: 490px;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(260px, 8vw, 300px);
    }
    
    #developer {
        font-size: clamp(260px, 8vw, 300px);
    }
    
    #new-content {
        padding: 40px;
        gap: 40px;
    }
    
    .first-title {
        gap: 24px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(90px, 7vw, 104px);
    }
    
    .starter-content {
        font-size: clamp(36px, 2.5vw, 40px);
    }
    
    .starter-content2 {
        font-size: clamp(44px, 3vw, 48px);
    }
    
    #various {
        font-size: clamp(36px, 2.5vw, 40px);
    }
    
    .updated {
        margin-left: 80px;
        margin-bottom: 40px;
        font-size: 24px;
    }
}

/* PC 큰 화면 (1920px 이상) */
@media (min-width: 1920px) {
    #back-end-container {
        left: 10%;
        top: 184px;
    }
    
    #developer-container {
        top: 490px;
        left: 0;
    }
    
    #back-end {
        font-size: clamp(300px, 6vw, 400px);
    }
    
    #developer {
        font-size: clamp(300px, 6vw, 400px);
    }
    
    #new-content {
        padding: 40px;
        gap: 40px;
    }
    
    .first-title {
        gap: 24px;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(100px, 5vw, 120px);
    }
    
    .starter-content {
        font-size: clamp(38px, 2vw, 45px);
    }
    
    .starter-content2 {
        font-size: clamp(46px, 2.5vw, 55px);
    }
    
    #various {
        font-size: clamp(38px, 2vw, 45px);
    }
    
    .updated {
        margin-left: 100px;
        margin-bottom: 50px;
        font-size: 28px;
    }
    
    .scroll-container a span {
        width: 35px;
        height: 60px;
        margin-left: -17px;
    }
}

/* 초고해상도 화면 (2560px 이상) */
@media (min-width: 2560px) {

    * {
        border: none !important;
        outline: none !important;
    }
    
    body {
        border: none !important;
        outline: none !important;
    }
    
    .container {
        border: none !important;
        outline: none !important;
    }
    
    #back-end {
        font-size: clamp(400px, 5vw, 500px);
        border: none !important;
        outline: none !important;
    }
    
    #developer {
        font-size: clamp(400px, 5vw, 500px);
        border: none !important;
        outline: none !important;
    }
    
    #devloper-text,
    #jungeun {
        font-size: clamp(120px, 4vw, 150px);
        border: none !important;
        outline: none !important;
    }
    
    .starter-content {
        font-size: clamp(45px, 1.8vw, 60px);
        border: none !important;
        outline: none !important;
    }
    
    .starter-content2 {
        font-size: clamp(55px, 2.2vw, 70px);
        border: none !important;
        outline: none !important;
    }
    
    #various {
        font-size: clamp(45px, 1.8vw, 60px);
        border: none !important;
        outline: none !important;
    }
    
    .updated {
        margin-left: 120px;
        margin-bottom: 60px;
        font-size: 32px;
        border: none !important;
        outline: none !important;
    }
    
    #new-content {
        border: none !important;
        outline: none !important;
    }
    
    #profile-section {
        border: none !important;
        outline: none !important;
    }
    
    .profile-wrapper {
        border: none !important;
        outline: none !important;
    }
    
    .profile-layout {
        border: none !important;
        outline: none !important;
    }
    
    .profile-left {
        border: none !important;
        outline: none !important;
    }
    
    .profile-right {
        border: none !important;
        outline: none !important;
    }
    
    .profile-scroll-content {
        border: none !important;
        outline: none !important;
    }

    .opic{
        margin-top: 35px;
    }
}


#profile-section {
    width: 100%;
    min-height: 100vh;
    background-color: #232323;
    padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 80px);
    box-sizing: border-box;
}

.profile-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: white;
    font-size: clamp(48px, 8vw, 80px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    margin-bottom: clamp(40px, 6vw, 60px);
    line-height: 1.2;
}

.profile-layout {
    display: flex;
    gap: clamp(40px, 8vw, 104px);
    align-items: flex-start;
}

/* 왼쪽 프로필 */
.profile-left {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 80px);
}

.profile-name-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name-ko {
    color: white;
    font-size: clamp(48px, 8vw, 64px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 1.5;
}

.profile-name-en {
    color: white;
    font-size: clamp(36px, 6vw, 48px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.profile-info-text {
    color: white;
    font-size: clamp(18px, 3vw, 24px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    word-break: break-all;
}

.profile-updated {
    color: white;
    font-size: clamp(18px, 3vw, 24px);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    margin-top: auto;
}

/* 오른쪽 콘텐츠 */
.profile-right {
    flex: 1;
    min-height: 400px;
    background-color: #373737;
    border-radius: 16px;
    padding: clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}
