

body {
    margin: 0;
    background: black;
    font-family: "Manrope", sans-serif;
    color: rgb(200,200,200);
    overflow-x: hidden;
    overflow-y: hidden; /* 초기 상태 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}



::-webkit-scrollbar { display: none; }

.navbar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.navbar a {
    color: gray; 
    text-decoration: none;
    font-size: 19px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.navbar a.beam-hover,
.navbar a:hover {
    color: white !important;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 40px white;
}
.navbar a::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -50px;
    width: calc(100% + 60px);
    height: calc(100% + 40px);
    pointer-events: auto;
    cursor: url('../UI/Star.png'), auto;
}
/* ======================== */
/*   모바일 네비게이션 축소 */
/* ======================== */
@media (max-width: 768px) {
    .navbar {
        top: 14px;        /* 살짝 위로 */
        right: 14px;      /* 가장자리 여백 줄이기 */
    }

    .navbar a {
        font-size: 14px;  /* 19px → 14px */
        font-weight: 500;
        letter-spacing: -0.01em;
    }

    /* 터치 영역도 같이 줄여줌 (before 영역) */
    .navbar a::before {
        top: -18px;
        left: -28px;
        width: calc(100% + 36px);
        height: calc(100% + 30px);
    }
}


.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    cursor: url('../UI/down\ arrow.png'), auto;
}
.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* 본문 링크 글로우 */
.inline-link {
    color: rgb(210,210,210);
    text-decoration: underline;           /* 밑줄 추가 */
    text-decoration-thickness: 0.5px; 
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.inline-link:hover {
    color: white;
    text-shadow:
        0 0 6px rgba(255,255,255,0.9),
        0 0 16px rgba(255,255,255,0.6);
}

/* ------------------ 모바일 전용 슬라이드 최적화 ------------------ */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .slider {
        height: 70vh; /* 화면 비율에 맞게 조정 */
        overflow-x: auto; /* 가로 스크롤 허용 */
        overflow-y: hidden; /* 세로 스크롤은 슬라이드 안에서만 */
        white-space: nowrap;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slides {
        display: inline-flex;
        height: 100%;
    }

    .slides img {
        width: 100vw; /* 화면 가득 */
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ------------------ 텍스트 영역 ------------------ */
.text-wrapper {
    max-width: 820px;
    margin: 40px auto 120px;
    padding: 0 20px;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}
.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    font-family: "Manrope", sans-serif;
    margin-bottom: 8px;
}
.project-meta {
    font-size: 0.9rem;
    color: rgb(150,150,150);
    margin-bottom: 24px;
}
.text-wrapper p { margin-bottom: 1.5em; }

@media (max-width: 768px) {
    .text-wrapper { margin: 30px auto 100px; font-size: 0.95rem; }
    .project-title { font-size: 1.3rem; }
    .project-meta { font-size: 0.8rem; }
}