﻿
        :root {
            --bg-color: #0b0914;
            --card-bg: rgba(23, 16, 38, 0.75);
            --accent-orange: #ff7518;
            --accent-purple: #9d4edd;
            --text-color: #e0d6ed;
            --text-muted: #a392b7;
            --border-color: rgba(255, 117, 24, 0.2);
            --glow-orange: 0 0 15px rgba(255, 117, 24, 0.4);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Noto Sans KR', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 117, 24, 0.12) 0%, transparent 40%);
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        header {
            background: rgba(11, 9, 20, 0.9);
            backdrop-filter: blur(8px);
            border-bottom: 2px solid var(--accent-orange);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 100;
            align-items: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .logo {
            font-family: 'Creepster', cursive;
            font-size: 2rem;
            color: var(--accent-orange);
            text-shadow: var(--glow-orange);
            letter-spacing: 2px;
            text-decoration: none;
            cursor: pointer;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--accent-orange);
            font-size: 1.8rem;
            cursor: pointer;
        }

        /* Layout Container */
        .container {
            display: flex;
            flex: 1;
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
        }

        /* Sidebar Navigation */
        aside {
            width: 280px;
            background: rgba(15, 12, 28, 0.8);
            border-right: 1px solid var(--border-color);
            padding: 2rem 1rem;
            backdrop-filter: blur(5px);
        }

        .nav-group {
            margin-bottom: 2rem;
        }

        .nav-title {
            font-size: 0.85rem;
            text-transform: uppercase;
            color: var(--accent-purple);
            letter-spacing: 1.5px;
            margin-bottom: 0.8rem;
            padding-left: 0.5rem;
            font-weight: 700;
        }

        .nav-links {
            list-style: none;
        }

        .nav-links li a {
            display: block;
            padding: 0.6rem 0.8rem;
            color: var(--text-muted);
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.2s ease;
            font-size: 0.95rem;
        }

        .nav-links li a:hover, .nav-links li a.active {
            background: rgba(255, 117, 24, 0.15);
            color: var(--accent-orange);
            border-left: 3px solid var(--accent-orange);
        }

        /* Main Wiki Content */
        main {
            flex: 1;
            padding: 2.5rem;
            overflow-y: auto;
        }

        .wiki-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            backdrop-filter: blur(4px);
        }

        h1 {
            font-size: 2.2rem;
            color: var(--accent-orange);
            margin-bottom: 1rem;
            font-weight: 700;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 0.5rem;
        }

        h2 {
            font-size: 1.5rem;
            color: var(--accent-purple);
            margin: 1.5rem 0 1rem 0;
        }

        p {
            line-height: 1.7;
            color: var(--text-color);
            margin-bottom: 1rem;
        }

        ul {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        li::marker {
            color: var(--accent-orange);
        }

        /* Callout Box */
        .callout {
            background: rgba(157, 78, 221, 0.1);
            border-left: 4px solid var(--accent-purple);
            padding: 1rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }

        .callout-title {
            font-weight: bold;
            color: var(--accent-purple);
            margin-bottom: 0.3rem;
        }

        /* Code Block Style */
        pre {
            background: #05040a;
            padding: 1rem;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            overflow-x: auto;
            color: #ff9e00;
            font-family: monospace;
            margin-bottom: 1rem;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 1.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            background: #07050d;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .container {
                flex-direction: column;
            }

            aside {
                width: 100%;
                display: none;
                border-right: none;
                border-bottom: 1px solid var(--border-color);
            }

            aside.active {
                display: block;
            }

            main {
                padding: 1.5rem;
            }
    }

    /* =========================================================
   WIKI CONTENT SWITCH
========================================================= */

.wiki-content {
    display: none;
}


.wiki-content.active {
    display: block;
}

/* =========================================================
   WIKI CONTENT
========================================================= */

#mainContent {
    position: relative;
    min-width: 0;
    overflow: hidden;
}


.wiki-content {

    display: none;

    opacity: 0;

    transform:
        translateX(35px);

}


.wiki-content.active {

    display: block;

    animation:
        contentEnter
        0.45s
        cubic-bezier(.22, .61, .36, 1)
        forwards;

}


.wiki-content.page-leave {

    display: block;

    animation:
        contentLeave
        0.25s
        ease
        forwards;

}



/* =========================================================
   CONTENT ENTER
========================================================= */

@keyframes contentEnter {

    0% {

        opacity: 0;

        transform:
            translateX(35px);

        filter:
            blur(3px);

    }


    100% {

        opacity: 1;

        transform:
            translateX(0);

        filter:
            blur(0);

    }

}



/* =========================================================
   CONTENT LEAVE
========================================================= */

@keyframes contentLeave {

    0% {

        opacity: 1;

        transform:
            translateX(0);

        filter:
            blur(0);

    }


    100% {

        opacity: 0;

        transform:
            translateX(-25px);

        filter:
            blur(2px);

    }

}



/* =========================================================
   PAGE TRANSITION OVERLAY
========================================================= */

.page-transition {

    position: fixed;

    inset: 0;

    z-index: 9000;

    background:

        radial-gradient(

            circle at center,

            rgba(255, 117, 24, 0.08),

            rgba(0, 0, 0, 0.35)

        );

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:

        opacity .22s ease,
        visibility .22s ease;

}


.page-transition.active {

    opacity: 1;

    visibility: visible;

}



/* =========================================================
   PUMPKIN SCARE
========================================================= */

.pumpkin-scare {

    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


.pumpkin-scare.show {

    opacity: 1;

    visibility: visible;

}



/* =========================================================
   SCARE BACKGROUND
========================================================= */

.pumpkin-scare-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.94);

    opacity: 0;

}


.pumpkin-scare.show
.pumpkin-scare-backdrop {

    animation:
        scareBackground
        1.3s
        ease
        forwards;

}



/* =========================================================
   SCARE CONTENT
========================================================= */

.pumpkin-scare-content {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    transform-origin:
        center center;

}


.pumpkin-scare.show
.pumpkin-scare-content {

    animation:
        pumpkinJumpScare
        1.1s
        cubic-bezier(.16, .84, .33, 1.4)
        forwards;

}



/* =========================================================
   PUMPKIN IMAGE
========================================================= */

.pumpkin-scare-content img {

    width:
        min(
            500px,
            85vw
        );

    max-height:
        75vh;

    object-fit:
        contain;

    user-select:
        none;

    filter:

        drop-shadow(
            0 0 15px
            rgba(255, 117, 24, .9)
        )

        drop-shadow(
            0 0 45px
            rgba(255, 70, 0, .75)
        )

        drop-shadow(
            0 0 90px
            rgba(255, 0, 0, .35)
        );

}



/* =========================================================
   BOO TEXT
========================================================= */

.pumpkin-scare-text {

    margin-top:
        -20px;

    color:
        #ff7518;

    font-family:
        'Creepster',
        cursive;

    font-size:
        clamp(
            52px,
            10vw,
            120px
        );

    line-height:
        1;

    letter-spacing:
        7px;

    text-shadow:

        0 0 8px
        #ff7518,

        0 0 20px
        #ff3c00,

        0 0 40px
        #ff0000,

        5px 5px 0
        #000;

    animation:
        booFlicker
        .13s
        infinite
        alternate;

}



/* =========================================================
   PUMPKIN JUMP ANIMATION
========================================================= */

@keyframes pumpkinJumpScare {

    0% {

        opacity: 0;

        transform:

            scale(.03)

            rotate(-15deg);

    }


    15% {

        opacity: 1;

    }


    30% {

        transform:

            scale(1.6)

            rotate(7deg);

    }


    44% {

        transform:

            scale(.92)

            rotate(-4deg);

    }


    57% {

        transform:

            scale(1.18)

            rotate(3deg);

    }


    72% {

        transform:

            scale(1.02)

            rotate(-1deg);

    }


    88% {

        opacity: 1;

        transform:

            scale(1.06)

            rotate(0);

    }


    100% {

        opacity: 0;

        transform:

            scale(1.7)

            rotate(0);

    }

}



/* =========================================================
   BACKGROUND FLASH
========================================================= */

@keyframes scareBackground {

    0% {

        opacity: 0;

        background:
            rgba(
                255,
                70,
                0,
                .7
            );

    }


    8% {

        opacity: 1;

        background:
            rgba(
                0,
                0,
                0,
                .98
            );

    }


    14% {

        background:
            rgba(
                130,
                0,
                0,
                .8
            );

    }


    20% {

        background:
            rgba(
                0,
                0,
                0,
                .98
            );

    }


    85% {

        opacity: 1;

    }


    100% {

        opacity: 0;

    }

}



/* =========================================================
   BOO FLICKER
========================================================= */

@keyframes booFlicker {

    0% {

        opacity: .75;

        transform:
            translateX(-2px);

    }


    100% {

        opacity: 1;

        transform:
            translateX(2px);

    }

}



/* =========================================================
   SCREEN SHAKE
========================================================= */

body.screen-shake {

    animation:
        screenShake
        .45s
        linear;

}


@keyframes screenShake {

    0% {
        transform:
            translate(0, 0);
    }

    10% {
        transform:
            translate(-8px, 4px);
    }

    20% {
        transform:
            translate(8px, -5px);
    }

    30% {
        transform:
            translate(-7px, -4px);
    }

    40% {
        transform:
            translate(6px, 6px);
    }

    50% {
        transform:
            translate(-5px, 3px);
    }

    60% {
        transform:
            translate(5px, -4px);
    }

    70% {
        transform:
            translate(-3px, 3px);
    }

    80% {
        transform:
            translate(3px, -2px);
    }

    90% {
        transform:
            translate(-1px, 1px);
    }

    100% {
        transform:
            translate(0, 0);
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .pumpkin-scare-content img {

        width:
            90vw;

    }


    .pumpkin-scare-text {

        margin-top:
            -10px;

    }

}


/* =========================================================
   WIKI TABLE
========================================================= */

.wiki-table-wrap {
    width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;

    border: 1px solid var(--border-color);
    border-radius: 10px;

    background: rgba(11, 9, 20, 0.55);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28);

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 117, 24, 0.45)
        rgba(11, 9, 20, 0.8);
}


/* =========================================================
   TABLE
========================================================= */

.wiki-table {
    width: 100%;
    min-width: 650px;

    border-collapse: collapse;
    border-spacing: 0;

    color: var(--text-color);

    font-size: 14px;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.wiki-table thead {
    background:
        linear-gradient(
            135deg,
            rgba(157, 78, 221, 0.20),
            rgba(255, 117, 24, 0.10)
        );
}

.wiki-table th {
    padding: 14px 16px;

    color: var(--accent-orange);

    font-size: 13px;
    font-weight: 700;

    text-align: center;
    white-space: nowrap;

    border-bottom:
        1px solid rgba(255, 117, 24, 0.35);

    letter-spacing: 0.2px;
}


/* =========================================================
   TABLE BODY
========================================================= */

.wiki-table td {
    padding: 13px 16px;

    color: var(--text-color);

    text-align: center;
    vertical-align: middle;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    transition:
        background 0.18s ease,
        color 0.18s ease;
}


/* 마지막 줄 선 제거 */

.wiki-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   ROW
========================================================= */

.wiki-table tbody tr {
    background:
        rgba(23, 16, 38, 0.35);

    transition:
        background 0.18s ease,
        box-shadow 0.18s ease;
}


/* 한 줄씩 아주 미세하게 구분 */

.wiki-table tbody tr:nth-child(even) {
    background:
        rgba(157, 78, 221, 0.035);
}


/* 마우스 오버 */

.wiki-table tbody tr:hover {
    background:
        rgba(255, 117, 24, 0.09);

    box-shadow:
        inset 3px 0 0
        var(--accent-orange);
}


/* =========================================================
   IMPORTANT TEXT
========================================================= */

.wiki-table .table-main {
    color: #ffffff;
    font-weight: 600;
}

.wiki-table .table-orange {
    color: var(--accent-orange);
    font-weight: 600;
}

.wiki-table .table-purple {
    color: #c084fc;
    font-weight: 600;
}

.wiki-table .table-muted {
    color: var(--text-muted);
}


/* =========================================================
   BADGE
========================================================= */

.wiki-table .table-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 58px;
    height: 26px;

    padding: 0 9px;

    border:
        1px solid rgba(255, 117, 24, 0.30);

    border-radius: 6px;

    background:
        rgba(255, 117, 24, 0.10);

    color:
        var(--accent-orange);

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}


/* 보라색 배지 */

.wiki-table .table-badge.purple {
    border-color:
        rgba(157, 78, 221, 0.40);

    background:
        rgba(157, 78, 221, 0.12);

    color:
        #c084fc;
}


/* =========================================================
   TABLE LINK
========================================================= */

.wiki-table a {
    color: var(--accent-orange);

    text-decoration: none;

    transition:
        color 0.15s ease,
        text-shadow 0.15s ease;
}

.wiki-table a:hover {
    color: #ff9e5e;

    text-shadow:
        0 0 8px
        rgba(255, 117, 24, 0.45);
}


/* =========================================================
   SCROLLBAR
========================================================= */

.wiki-table-wrap::-webkit-scrollbar {
    height: 7px;
}

.wiki-table-wrap::-webkit-scrollbar-track {
    background:
        rgba(11, 9, 20, 0.8);
}

.wiki-table-wrap::-webkit-scrollbar-thumb {
    background:
        rgba(255, 117, 24, 0.40);

    border-radius: 10px;
}

.wiki-table-wrap::-webkit-scrollbar-thumb:hover {
    background:
        rgba(255, 117, 24, 0.65);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .wiki-table {
        min-width: 600px;
        font-size: 12px;
    }

    .wiki-table th {
        padding: 11px 12px;
        font-size: 12px;
    }

    .wiki-table td {
        padding: 11px 12px;
    }
}

/* =========================================================
   API PLATFORM LOGO
========================================================= */

.api-platform {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;
}

.api-platform-logo {
    display: block;

    width: auto;
    height: 30px;

    max-width: 120px;

    object-fit: contain;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}


/* 마우스 올렸을 때 */

.wiki-table tbody tr:hover
.api-platform-logo {
    transform: scale(1.08);

    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 117, 24, 0.25)
        );
}


/* 구분 열 */

.wiki-table th:first-child,
.wiki-table td:first-child {
    width: 170px;
}


/* 개수 열 */

.wiki-table th:nth-child(2),
.wiki-table td:nth-child(2) {
    width: 180px;
}


/* 설명은 남은 공간 */

.wiki-table th:nth-child(3),
.wiki-table td:nth-child(3) {
    text-align: left;
}


/* 헤더의 설명만 가운데 */

.wiki-table th:nth-child(3) {
    text-align: center;
}


/* 모바일 */

@media (max-width: 768px) {

    .api-platform-logo {
        height: 26px;
        max-width: 100px;
    }

    .wiki-table th:first-child,
    .wiki-table td:first-child {
        width: 140px;
    }
}