        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
            background: #f8f9fa;
            color: #333;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }

        /* 헤더 */
        .header {
        background: linear-gradient(135deg, #87ceeb, #b0e0e6);
        height: 100px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 15px 0;
        display: flex;
        justify-content: center;
        gap: 30px;
        align-items: center; /* 중간정렬 필요시 */
    }

        .nav-item {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 25px;
            transition: all 0.3s ease;
            font-weight: bold;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 16px;
        }
        
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        
        .nav-item.active {
            background: rgba(255, 255, 255, 0.3);
        }
        
    
        /* 페이지 공통 */
        .page {
            padding-top: 100px;
            display: none;
            min-height: 100vh;
            padding: 140px 0 40px 0;
        }

        .page#main {
            padding-top: 140px;
        }

        .page.active {
            display: block;
        }

        /* 컨테이너 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 메인 페이지 애니메이션 스타일 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* 메인 소개 섹션 */
        .main-intro {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 60px;
            margin-bottom: 80px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0;
            animation: fadeIn 1.5s ease-out 0.5s forwards;
        }
        
        .profile-section {
            text-align: center;
            flex: 0 0 auto;
        }
        
        .profile-main-image {
            width: 280px;
            height: 280px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center 10%;
            border: 4px solid #d3e8f0;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            cursor: default;
            margin-bottom: 20px;
        }
        
        .profile-name {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            line-height: 1.4;
        }
        
        .intro-content {
            flex: 1;
            text-align: left;
            max-width: 500px;
        }
        
        .intro-content p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 20px;
            color: #333;
        }
        
        .intro-content .highlight {
            color: #4a90e2;
            font-weight: bold;
        }

        /* 버튼 섹션 애니메이션 */
        .button-section {
            text-align: center;
            margin-top: 40px;
            opacity: 0;
            animation: fadeInUp 1s ease-out 2s forwards;
        }

        .button-section p {
            font-size: 18px;
            margin-bottom: 30px;
            color: #333;
        }

        .button-container {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 60px 0;
        }

        .btn {
            background: #87ceeb;
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
        }

        .btn_hate {
            background: hwb(0 71% 29%);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 25px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
        }

        .btn:hover {
            background: #5fb3d4;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
        }

        /* 상세 페이지 레이아웃 */
        .detail-page {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            align-items: start;
        }

        /* 사이드바 */
        .sidebar {
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            position: sticky;
            top: 120px;
            max-height: calc(100vh - 140px);
            overflow-y: auto;
            z-index: 10; /* sticky 충돌 시 높임 */
        }

        .sidebar-header {
            padding: 20px;
            background: #87ceeb;
            color: white;
            border-radius: 20px 20px 0 0;
            font-weight: bold;
            font-size: 1.1rem;
        }

        .sidebar-menu {
            padding: 0;
        }

        .sidebar-item {
            padding: 15px 20px;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 1px solid #eee;
            font-size: 0.95rem;
            color: #555;
        }

        .sidebar-item:hover {
            background: #f8f9fa;
            color: #87ceeb;
        }

        .sidebar-item.active {
            background: #e6f3ff;
            color: #87ceeb;
            font-weight: bold;
        }

        /* 서브메뉴 스타일 */
        .sidebar-submenu {
            display: none;
            background: #f8f9fa;
        }

        .sidebar-submenu.active {
            display: block;
        }

        .sidebar-subitem {
            padding: 10px 35px;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            color: #666;
            border-bottom: 1px solid #e0e0e0;
        }

        .sidebar-subitem:hover {
            background: #e6f3ff;
            color: #87ceeb;
        }

        .sidebar-subitem.active {
            background: #d1ecf1;
            color: #4a90e2;
            font-weight: bold;
        }

        /* 메인 콘텐츠 */
        .main-content {
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            padding: 40px;
        }

        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        .content-section h2 {
            color: #333;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 2px solid #87ceeb;
        }

        /* 뒤로가기 버튼 */
        .back-btn {
            background: #ccc;
            color: #333;
            border: none;
            padding: 10px 20px;
            border-radius: 15px;
            cursor: pointer;
            margin: 20px 0;
            transition: all 0.3s ease;
        }

        .back-btn:hover {
            background: #bbb;
        }

        /* 자기PR 스타일 */
        .self-pr-section {
            display: grid;
            gap: 30px;
        }

        .pr-item {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 15px;
            border-left: 4px solid #87ceeb;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .pr-item h3 {
            color: #4a90e2;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .pr-item p {
            line-height: 1.8;
            color: #555;
            margin-bottom: 15px;
        }

        .pr-item2 {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 15px;
            border-left: 4px solid #eb8787;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .pr-item2 h3 {
            color: #e24a4a;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .pr-item2 p {
            line-height: 1.8;
            color: #555;
            margin-bottom: 15px;
        }

        /* 스킬 섹션 스타일 */
        .skill-section {
            display: flex;
            gap: 30px;
            align-items: flex-start;
        }

        .skill-image-container {
            flex: 0 0 300px;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .skill-image-container img {
            width: 100%;
            max-width: 250px;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .skill-list-container {
            flex: 1;
            background: #f8f9fa;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .skill-list-container ul {
            list-style: none;
            padding: 0;
        }

        .skill-list-container li {
            padding: 8px 0;
            border-bottom: 1px solid #e0e0e0;
            color: #555;
        }

        .skill-list-container li:last-child {
            border-bottom: none;
        }

        /* PDF 버튼 스타일 추가 */
        #download-pdf-button, .pdf-view-button {
            background: #87ceeb;
            color: white;
            border: none;
            padding: 8px 16px;
            font-size: 1em;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s ease;
            margin-top: 10px;
            margin-right: 10px;
        }

        #download-pdf-button:hover, .pdf-view-button:hover {
            background: #5fb3d4;
            transform: translateY(-2px);
        }

        .pdf-view-button {
            text-decoration: none;
            display: inline-block;
        }

        /* 과외활동 스타일 정상화 */
        .photo-text-container {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .photo-wrapper {
            flex: 0 0 200px;
        }

        .photo-wrapper img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }

        .text-wrapper {
            flex: 1;
        }

        .text-wrapper p {
            line-height: 1.6;
            color: #555;
        }

        /* 팀프로젝트 섹션 */
        .team-project-content {
            text-align: center;
        }

        .project-description {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
            text-align: left;
        }

        .project-schedule {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 15px;
            margin: 20px 0;
        }

        /* 메시지 페이지 */
        .message-content {
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
            padding: 30px;
        }
        
        .message-text {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 40px;
            color: #333;
            text-align: left;
        }
        
        .mail-button {
            display: inline-block;
            background: linear-gradient(135deg, #87ceeb, #4a90e2);
            color: white;
            padding: 15px 30px;
            border-radius: 25px;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .mail-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        /* 달력 스타일 */
        .calendar {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px; /* 조금 늘림 */
            max-width: 700px; /* 기존 350px → 700px */
            margin: 20px auto;
            background: white;
            border-radius: 10px;
            padding: 30px; /* 기존 15px → 30px */
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .calendar-nav {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #333;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: bold;
        }

        .calendar-nav:hover {
            background: #e6f3ff;
            color: #87ceeb;
        }

        .calendar-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
        }

        .calendar-day-header {
            text-align: center;
            padding: 8px 4px;
            font-size: 12px;
            font-weight: bold;
            color: #666;
        }

        .calendar-day {
            text-align: center;
            padding: 16px 8px; /* 기존 8px 4px → 16px 8px */
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.3s;
            font-size: 28px; /* 기존 14px → 28px */
        }

        .calendar-day:hover {
            background: #e6f3ff;
        }

        .calendar-day.has-event {
            background: #87ceeb;
            color: white;
            font-weight: bold;
        }

        .calendar-day.has-event:hover {
            background: #5fb3d4;
        }

        .calendar-day.other-month {
            color: #ccc;
        }

        /* 페이지네이션 스타일 */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .pagination-btn {
            background: #87ceeb;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .pagination-btn:hover {
            background: #5fb3d4;
            transform: translateY(-2px);
        }

        .pagination-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .notion-btn {
        display: block;              /* block 요소로 변경 */
        background-color: #87CEFA;   /* 하늘색 */
        color: white;
        font-weight: bold;
        padding: 12px 20px;
        border-radius: 10px;         /* 둥근 네모 */
        text-decoration: none;
        transition: background-color 0.3s ease;
        margin: 15px auto 0;         /* 위 여백 + 가운데 정렬 */
        width: fit-content;          /* 글자 크기만큼만 너비 차지 */
        }
        
        .notion-btn:hover {
        background-color: #00BFFF;   /* hover 시 조금 진한 파란색 */
        }

        /*가챠코 로고 */
        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 32px;
            font-weight: bold;
            color: #e91e63;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-text {
            font-family: 'Arial', sans-serif;
            font-size: 36px;
            font-weight: 900;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.3);
        }

        .gacha-machine {
            width: 60px;
            height: 80px;
            position: relative;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        .machine-top {
            width: 50px;
            height: 15px;
            background: linear-gradient(45deg, #1565c0, #0d47a1);
            border-radius: 10px 10px 5px 5px;
            border: 3px solid #0d47a1;
            position: relative;
        }

        .machine-top::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 5px;
            width: 8px;
            height: 3px;
            background: #ffebee;
            border-radius: 2px;
        }

        .machine-top::after {
            content: '';
            position: absolute;
            top: 8px;
            left: 5px;
            width: 35px;
            height: 2px;
            background: #e53935;
        }

        .machine-body {
            width: 50px;
            height: 40px;
            background: linear-gradient(45deg, #4dd0e1, #26c6da);
            border: 3px solid #0d47a1;
            border-radius: 5px;
            position: relative;
            margin-top: -2px;
        }

        .machine-window {
            position: absolute;
            top: 5px;
            left: 8px;
            width: 30px;
            height: 25px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 3px;
            border: 2px solid #0d47a1;
        }

        .machine-ball {
            position: absolute;
            top: 8px;
            left: 12px;
            width: 15px;
            height: 15px;
            background: linear-gradient(45deg, #ffd54f, #ffb300);
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        .machine-ball::after {
            content: '';
            position: absolute;
            top: 6px;
            left: 0;
            width: 100%;
            height: 1px;
            background: #e53935;
        }

        .machine-controls {
            width: 50px;
            height: 20px;
            background: linear-gradient(45deg, #e53935, #c62828);
            border: 3px solid #0d47a1;
            border-radius: 0 0 8px 8px;
            position: relative;
            margin-top: -2px;
        }

        .control-button {
            position: absolute;
            top: 3px;
            left: 8px;
            width: 12px;
            height: 12px;
            background: #ffebee;
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        .control-knob {
            position: absolute;
            top: 5px;
            right: 8px;
            width: 8px;
            height: 8px;
            background: #90a4ae;
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        /* 반응형 */
        @media (max-width: 768px) {
            .main-intro {
                flex-direction: column;
                gap: 30px;
            }

            .detail-page {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .sidebar {
                position: static;
                max-height: none;
            }

            .skill-section {
                flex-direction: column;
            }

            .skill-image-container {
                flex: none;
            }

            .button-container {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }
        }