GNU/skin/board/help/style.view.css
@charset "utf-8";

    /* 페이지 전역 스크롤바 디자인 */
    html::-webkit-scrollbar { width: 10px; }
    html::-webkit-scrollbar-track { background: #0f172a; }
    html::-webkit-scrollbar-thumb { 
        background: linear-gradient(to bottom, #38bdf8, #818cf8); 
        border-radius: 6px;
        border: 2px solid #0f172a;
    }
    html::-webkit-scrollbar-thumb:hover { background: #fff; }

    :root {
        --view-bg: #0f172a; 
        --content-black: #050505;
        --border-color: rgba(255, 255, 255, 0.1);
        --accent-blue: #38bdf8;
        --accent-purple: #818cf8;
        --text-main: #f1f5f9;
        --text-dim: #94a3b8;
        --card-bg: rgba(30, 41, 59, 0.5);
        --nav-hover-bg: #070b14; 
    }

    @keyframes viewReveal {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    #VIEW {
        background-color: var(--view-bg);
        color: var(--text-main);
        font-family: 'Pretendard', sans-serif;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    /* 상단 헤더 */
    .Board-Info-Header { 
        animation: viewReveal 0.6s ease-out; 
        padding: 30px 40px;
        background: linear-gradient(90deg, rgba(56, 189, 248, 0.1) 0%, transparent 100%);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 제목 섹션 */
    .Header-Main-Section { 
        animation: viewReveal 0.8s ease backwards; 
        animation-delay: 0.2s;
        padding: 60px 40px 30px 40px; 
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center; 
    }

    .Header-Main-Section h1 { 
        font-size: 2.6rem; 
        font-weight: 800; 
        margin-bottom: 15px; 
        color: #fff; 
        line-height: 1.2; 
    }

    .Header-Main-Section .wr-datetime { 
        color: var(--text-dim); 
        font-size: 1rem; 
        letter-spacing: 1px; 
    }

    .View-Content {
        animation: viewReveal 1s ease backwards;
        animation-delay: 0.4s;
        background-color: var(--content-black);
        margin: 0 200px 10px 200px; 
        padding: 80px 60px; 
        line-height: 35px;
        border-radius: 7px; 
        border: 1px solid rgba(56, 189, 248, 0.3); 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        font-size: 16px;
    }

    /* ★ 추가: PDF 뷰어 섹션 스타일 */
    .PDF-Viewer-Section {
        animation: viewReveal 0.8s ease backwards;
        animation-delay: 0.45s; /* 본문과 추가 코드 사이의 딜레이 */
        margin: 20px 200px;
        background: #000;
        border-radius: 6px;
        border: 1px solid #1e293b;
        overflow: hidden;
    }
    .PDF-Viewer-Header {
        background: #1e293b;
        padding: 20px 25px;
        display: flex;
        align-items: center;
        font-size: 1rem;
        color: var(--accent-purple); /* 다른 섹션과 차별화를 위해 보라색 포인트 사용 */
        font-weight: 700;
        border-bottom: 1px solid var(--border-color);
    }
    .PDF-Viewer-Body {
        width: 100%;
        height: 800px; /* PDF 뷰어 기본 높이 */
        background: #111;
    }

    /* 추가 코드(Extra Code) 스타일 */
    .Extra-Code-Section {
        animation: viewReveal 0.8s ease backwards;
        animation-delay: 0.5s;
        margin: 30px 200px 10px 200px;
        background: #000;
        border-radius: 7px;
        border: 1px solid #1e293b;
        overflow: hidden;
    }
    .Extra-Code-Header {
        background: #1e293b;
        padding: 10px 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
        color: var(--accent-blue);
        font-weight: 700;
        border-bottom: 1px solid var(--border-color);
    }

    .copy-btn {
        background: rgba(56, 189, 248, 0.1);
        border: 1px solid var(--accent-blue);
        color: var(--accent-blue);
        padding: 5px 12px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.75rem;
        font-weight: 800;
        transition: 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    /* 버튼 효과 수정 */
    .copy-btn:hover { background: var(--accent-blue); color: #000; box-shadow: 0 0 12px var(--accent-blue); }

    /* 추가 코드 내부 스크롤바 디자인 */
    .Extra-Code-Body {
        padding: 30px;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.9rem;
        color: #e2e8f0;
        line-height: 1.6;
        white-space: pre-wrap;
        word-break: break-all;
        max-height: 500px; 
        overflow-y: auto; 
    }
    .Extra-Code-Body::-webkit-scrollbar { width: 8px; }
    .Extra-Code-Body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); }
    .Extra-Code-Body::-webkit-scrollbar-thumb { 
        background: var(--accent-blue); 
        border-radius: 5px;
        border: 2px solid #000;
    }
    .Extra-Code-Body::-webkit-scrollbar-thumb:hover { background: #fff; }

    /* 다운로드 및 링크 스타일 */
    .View-Attached-Data {
        animation: viewReveal 0.8s ease backwards;
        animation-delay: 0.6s;
        margin: 20px 200px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .data-item {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 15px 25px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        color: var(--text-main);
        position: relative;
        overflow: hidden;
    }
    .data-item::before {
        content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; 
        background: var(--accent-blue); opacity: 0; transition: 0.3s;
    }
    .data-item:hover {
        background: rgba(56, 189, 248, 0.05);
        border-color: rgba(56, 189, 248, 0.3);
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    .data-item:hover::before { opacity: 1; }

    .data-info { display: flex; align-items: center; gap: 20px; }
    .data-info i { color: var(--accent-blue); font-size: 1.2rem; filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.5)); }
    .data-name { font-weight: 600; font-size: 1rem; letter-spacing: -0.5px; }
    .data-description { display: block; font-size: 0.8rem; color: var(--accent-blue); opacity: 0.7; margin-top: 4px; font-weight: 400; }
    
    .data-meta { display: flex; align-items: center; gap: 20px; font-size: 0.8rem; color: var(--text-dim); font-weight: 500; }
    .meta-badge { background: rgba(255, 255, 255, 0.05); padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1); }

    .Extra-Category-Area { 
        padding: 0 40px 20px 40px; 
        margin-right: 180px;
        display: flex; 
        gap: 10px; 
        justify-content: flex-end; 
    }
    .ca-tag-item { 
        background: rgba(129, 140, 248, 0.1); 
        color: var(--accent-purple); 
        border: 1px solid rgba(129, 140, 248, 0.3); 
        padding: 5px 15px; 
        border-radius: 4px; 
        font-size: 0.85rem; 
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .Custom-Tag-Area {
        animation: viewReveal 0.8s ease backwards;
        animation-delay: 0.7s;
        margin: 20px 200px 40px 200px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center; 
        align-items: center;
    }
    /* 태그 기본 스타일 및 호버 효과 */
    .x2-tag-item {
        font-size: 0.85rem;
        color: var(--accent-blue);
        background: rgba(56, 189, 248, 0.08);
        border: 1px solid rgba(56, 189, 248, 0.2);
        padding: 6px 16px;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    .x2-tag-item:hover {
        background: var(--accent-blue);
        color: #000;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
        transform: translateY(-2px);
        border-color: var(--accent-blue);
    }

    /* 하단 이전 다음 네비게이션 */
    .Post-Navigation {
        animation: viewReveal 0.8s ease backwards;
        animation-delay: 0.8s;
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        background: transparent; 
        margin-top: 60px; 
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--accent-blue); 
    }
    .Post-Navigation a {
        padding: 30px 40px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        transition: all 0.3s ease;
    }
    .Post-Navigation a:hover {
        background: rgba(56, 189, 248, 0.05);
    }
    .Post-Navigation .nav-label {
        font-size: 0.75rem;
        color: var(--accent-blue);
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .Post-Navigation .nav-subject {
        margin: 0;
        font-size: 1.1rem;
        color: var(--text-main);
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: 0.3s;
    }
    .Post-Navigation a:hover .nav-subject {
        color: var(--accent-blue);
        transform: translateX(5px);
    }

    /* 버튼 호버 효과 수정 */
    .Btns-Right button {
        background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-main);
        padding: 8px 18px; border-radius: 5px; cursor: pointer; font-size: 0.85rem; transition: 0.3s ease;
    }
    .Btns-Right button:hover { border-color: var(--accent-blue); background: rgba(56, 189, 248, 0.15); transform: translateY(-1px); }
    
    .Write-Btn { background: var(--accent-blue) !important; color: #000 !important; border: none !important; font-weight: 800; }
    .Write-Btn:hover { background: #fff !important; box-shadow: 0 0 18px var(--accent-blue); transform: translateY(-2px); }

    .Admin-Control button {
        background: none; border: 1px solid #334155; color: #64748b; padding: 7px 14px; border-radius: 5px; cursor: pointer; margin-right: 5px; transition: all 0.3s ease;
    }
    .Admin-Control button:hover { border-color: var(--accent-blue); color: var(--accent-blue); background-color: rgba(56, 189, 248, 0.1); }

    .View-Bottom-Control { padding: 40px; display: flex; justify-content: space-between; align-items: center; }
    .List-Btn-Footer {
        background: var(--card-bg); border: 1px solid var(--border-color); color: #fff; padding: 10px 28px; border-radius: 5px; cursor: pointer; transition: 0.3s ease;
    }
    .List-Btn-Footer:hover { border-color: var(--accent-blue); color: var(--accent-blue); box-shadow: 0 0 15px rgba(56, 189, 248, 0.2); transform: scale(1.02); }

    @media (max-width: 1200px) {
        .View-Content, .PDF-Viewer-Section, .Extra-Code-Section, .View-Attached-Data, .Custom-Tag-Area, .Post-Navigation { margin-left: 50px; margin-right: 50px; }
    }