
        :root {
            --primary: #e67e22;
            --bg: #f3f5fa;
            --text-dark: #1f2d3d;
            --card-bg: #ffffff;
            --radius: 20px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Noto Sans KR", sans-serif;
        }
a {
    text-decoration: none;
}
        body {
            background: var(--bg);
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        html {
            scroll-behavior: smooth;
        }

        /* HEADER */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
        }

        /* nav와 dday-box가 붙어 있도록 조정 */
        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
            /* Portfolio와 D-day 사이 간격 */
        }

        .dday-box {
            padding: 4px 10px;
            background: a#ffffffcc;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            min-width: 100px;
            height: auto;
            display: flex;
            text-align: left;
        }

        .dday-box p {
            font-size: 8px;
        }
       span {
            font-size: 0.8rem;
            color: black;
            font-weight: 700;
        }
#dday-result{color:red}
        nav ul {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1.05rem;
            transition: 0.2s;
        }

        nav a:hover {
            color: var(--primary);
        }

        nav a.active {
            color: var(--primary);
            font-weight: 700;
        }

        section {
            min-height: 100vh;
            padding: 8rem 2rem 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        section h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
        }

        /* HOME */
        #home {
            background: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: background 1.5s ease;
        }

        #home .profile-box {
            display: flex;
            gap: 50px;
            align-items: center;
            background: rgba(255, 255, 255, 0.15);
            padding: 2.5rem 4rem;
            border-radius: var(--radius);
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            justify-content: center;
    gap: 40px;
    position: relative;
        }

.img-box {
    position: relative;
    display: inline-block;
}
        #home .profile-box.hidden {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        #home .profile-box.show {
            opacity: 1;
            transform: translateY(0);
        }

        #home img {
            width: 250px;
            border-radius: var(--radius);
        }

        #home .name {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
/* AI 비주얼 검색 아이콘 제거 */
.no-ai {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-app-region: no-drag;
    image-rendering: -webkit-optimize-contrast;
}

/* 프로필 박스 */
.profile-box {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
}

/* 이미지 박스 (중복 제거 + 최종 정리) */
.img-box {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    display: inline-block;
}

/* AI 비주얼 검색 아이콘 제거 */
.img-box img.no-ai {
    width: 100%;
    display: block;
    pointer-events: none; /* 버튼 흔들림 방지 */
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-app-region: no-drag;
}

/* 홈 섹션 오렌지 파스텔톤 버튼 */
.game-btn {
    position: absolute;
    top: -15px;            /* 더 위로 올림 */
    right: -20px;          /* 이미지 기준 오른쪽으로 이동 */
    background: #ffe5c4;   /* 오렌지 파스텔 */
    color: #444;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #ffdab0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    z-index: 10;
    text-decoration: none;
}

.game-btn:hover {
    background: #ffd7a3;
    transform: translateY(-3px);
}
.game-btn,
.game-btn:link,
.game-btn:visited,
.game-btn:hover,
.game-btn:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* 버튼이 이미지 영역 위에 자연스럽게 올라오도록 img-box 위치 기준으로 정렬 */
.img-box {
    position: relative;
}
        /* ABOUT / CONTACT 기본 카드 */
        fieldset,
        #contact .card {
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        fieldset.hidden,
        #contact .card.hidden {
            opacity: 0;
            transform: translateY(30px);
        }

        fieldset.show,
        #contact .card.show {
            opacity: 1;
            transform: translateY(0);
        }

        fieldset {
            background: var(--card-bg);
            padding: 2.5rem;
            margin: 1rem 0;
            width: min(700px, 90%);
            border-radius: var(--radius);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            border: none;
        }

        legend {
            font-weight: bold;
            font-size: 1.5rem;
            color: var(--primary);
        }

        table {
            width: 100%;
            margin-top: 1rem;
            border-collapse: collapse;
            font-size: 1.1rem;
        }

        td {
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
            text-align: left;
        }

        /* PROJECT SECTION */
        .project-grid {
            width: 100%;
            max-width: 1000px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding-top: 20px;
        }

        .project-card {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            font-size: 1.1rem;
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .project-card.hidden {
            opacity: 0;
            transform: translateY(30px);
        }

        .project-card.show {
            opacity: 1;
            transform: translateY(0);
        }

        .project-content {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .project-text {
            flex: 1;
            text-align: left;
        }

        .project-title-box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .project-text h3 {
            font-size: 1.5rem;
            color: var(--primary);
            margin: 0;
        }

        .project-card button {
            font-size: 1rem;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 8px 14px;
            cursor: pointer;
            white-space: nowrap;
        }

        .project-card button:hover {
            background: #c65f12;
        }

        .project-img {
            width: 200px;
            border-radius: var(--radius);
            object-fit: cover;
        }

        /* 반응형 :모바일에서는 세로 배치 */
        @media (max-width: 768px) {

            /* header부분  */
            header {
                flex-direction: column;
                gap: 3px;
                padding: 1rem;
                text-align: center;
            }

            nav ul {
                gap: 5vh;
            }
span{
            font-size: 0.8rem;
                   }
        .logo{font-size:1.2rem;}
            /* HOME SECTION*/
            #home .profile-box {
                flex-direction: column;
            }

            /* PROJECTS SECTION */
            .project-content {
                flex-direction: column;
                align-items: flex-start;
            }

            .project-img {
                width: 100%;
                margin-top: 15px;
            }

            .project-title-box {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }

        /* CONTACT SECTION */
        #contact {
            background: #2f3640;
            color: #fff;
        }

        #contact .card {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 30px;
            width: min(700px, 90%);
            border-radius: 16px;
            text-align: left;
            backdrop-filter: blur(10px);
        }

        .contact-text {
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .contact-email {
            margin-bottom: 25px;
            font-weight: 500;
        }

        /* 메일 폼 */
      .email{color:white;}
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: none;
            font-size: 1rem;
        }

        .contact-form button {
            padding: 12px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
        }

        .contact-form button:hover {
            background: #c65f12;
        }

        /* SECTION 배경색 변경 */
        #about {
            background: #f7f2ff;
            /* 연한 라벤더 톤 */
        }

        #projects {
            background: #f2faff;
            /* 아주 연한 파스텔 블루 */
        }
    