@charset "UTF-8";

:root {
    --primary-color: #c5a059;
    --highlight-yellow: #f1c40f;
    --bg-dark: #0a0a1a;
    --text-main: #ffffff;
    --transition-speed: 0.8s;
}

body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    background-color: var(--bg-dark); color: var(--text-main);
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden; 
    user-select: none; -webkit-user-select: none;
    -ms-overflow-style: none; scrollbar-width: none; 
}

body::-webkit-scrollbar, .section-container::-webkit-scrollbar {
    display: none; 
}

.page-fade {
    position: fixed; inset: 0; background: var(--bg-dark); z-index: 99999;
    opacity: 0; transition: opacity 0.32s ease; pointer-events: none;
}
.page-fade.show { opacity: 1; }

/* 짧게 떴다 사라지는 안내 문구 */
.site-notice {
    position: fixed; left: 50%; bottom: 46px; transform: translate(-50%, 10px);
    padding: 11px 26px; border-radius: 999px; z-index: 99998; pointer-events: none;
    background: rgba(8, 8, 14, 0.94); border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.9rem; font-weight: 300;
    letter-spacing: 2px; color: var(--primary-color); white-space: nowrap;
    opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-notice.show { opacity: 1; transform: translate(-50%, 0); }

.bg-layer {
    position: fixed; top: -5%; left: -5%; width: 110%; height: 110%;
    background-size: cover; background-position: center;
    z-index: 0; opacity: 0; transition: opacity var(--transition-speed) ease;
    pointer-events: none;
}
#bg-main { background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), url('assets/images/Intro_Background.webp'); }
#bg-world { background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6)), url('assets/images/background1.webp'); }
#bg-guide { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('assets/images/background2.webp'); }
#bg-fanart { background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.88)), url('assets/images/background1.webp'); }
.bg-active { opacity: 1 !important; }

header {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 40px; box-sizing: border-box; z-index: 9000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
.logo-nav-img { height: 28px; cursor: pointer; filter: drop-shadow(0 0 8px rgba(255,255,255,0.3)); transition: filter 0.3s; }
.logo-nav-img:hover { filter: drop-shadow(0 0 12px rgba(255,255,255,0.6)); }

.gnb { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 35px; }
.gnb-item { font-family: 'Noto Serif KR', serif; font-size: 1rem; color: #ccc; cursor: pointer; transition: color 0.3s; letter-spacing: 1px; }
.gnb-item:hover, .gnb-item.active { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.hamburger-btn {
    display: none; cursor: pointer; color: var(--primary-color); z-index: 10000;
    width: 30px; height: 30px;
}
.hamburger-btn svg { width: 100%; height: 100%; fill: currentColor; }

/* ===== 오디오 =====
   PC: 헤더 오른쪽의 미니 플레이어(.audio-bar)
   모바일: 아이콘 하나(.music-btn)
   공통: 눌러서 펼치는 곡 목록 + 볼륨 패널(.audio-panel) */

.music-btn {
    display: none;
    color: var(--primary-color); cursor: pointer; border: 1px solid rgba(197, 160, 89, 0.5);
    padding: 6px 12px; border-radius: 20px; transition: all 0.3s; position: relative; z-index: 10;
    align-items: center; justify-content: center; background: rgba(10,10,26,0.5);
    min-width: 44px; min-height: 34px;
}
.music-btn:hover { background: rgba(197, 160, 89, 0.2); }
.music-btn svg { width: 20px; height: 20px; fill: currentColor; }

.audio-bar {
    position: relative; display: flex; align-items: center; gap: 4px;
    flex: 0 0 380px; width: 380px; min-width: 0; box-sizing: border-box;
    height: 44px; padding: 0 6px 0 5px; overflow: hidden;
    background: rgba(8, 8, 14, 0.82);
    border: 1px solid rgba(197, 160, 89, 0.28); border-radius: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Noto Sans KR', sans-serif; user-select: none;
}

/* 재생 버튼이 맨 앞에 온다 */
.ac-play {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0;
    border: none; border-radius: 50%; cursor: pointer;
    background: var(--primary-color); color: #0a0a12;
    transition: filter 0.25s ease, transform 0.25s ease;
}
.ac-play svg { width: 14px; height: 14px; fill: currentColor; }
.ac-play:hover { filter: brightness(1.15); transform: scale(1.06); }
.ac-play .i-pause { display: none; }
.ac-play.is-playing .i-play { display: none; }
.ac-play.is-playing .i-pause { display: block; }

/* 현재 곡 */
.audio-now {
    display: flex; align-items: center; gap: 10px; padding: 0 6px 0 9px;
    min-width: 0; flex: 1; cursor: pointer;
}
.audio-now:hover .audio-titleko { color: #fff; }

.audio-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; flex-shrink: 0; }
.audio-eq i { width: 2px; height: 35%; background: #5f5b52; border-radius: 1px; }
.audio-bar.is-playing .audio-eq i { background: var(--primary-color); animation: eqBounce 0.9s ease-in-out infinite; }
.audio-bar.is-playing .audio-eq i:nth-child(2) { animation-delay: 0.25s; }
.audio-bar.is-playing .audio-eq i:nth-child(3) { animation-delay: 0.5s; }
@keyframes eqBounce { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.audio-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.audio-trackno {
    font-family: 'Cinzel', serif; font-size: 0.58rem; letter-spacing: 2.5px;
    color: #8d8778; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.audio-titleko {
    font-family: 'Noto Serif KR', serif; font-size: 0.92rem; font-weight: 300; letter-spacing: 1px;
    color: #ddd6c6; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.25s ease;
}

/* 조작부 — 작은 아이콘 한 줄 */
.audio-ctrl {
    display: flex; align-items: center; gap: 1px; flex-shrink: 0;
    padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.ac-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; min-width: 26px; min-height: 26px; padding: 0;
    background: none; border: none; cursor: pointer; color: #7e7869; border-radius: 50%;
    transition: color 0.25s ease;
}
.ac-btn svg { width: 15px; height: 15px; fill: currentColor; }
.ac-btn:hover { color: var(--primary-color); }
.ac-chev svg { transition: transform 0.3s ease; }
body.audio-open .ac-chev svg { transform: rotate(180deg); }

.ac-rep.active { color: var(--primary-color); }
.ac-rep-one {
    position: absolute; top: 1px; right: 1px; font-size: 0.48rem; line-height: 1;
    font-weight: 700; color: currentColor;
}
.ac-rep:not(.active) .ac-rep-one { display: none; }

/* 아래쪽 재생 진행선 */
.audio-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.audio-progress i {
    display: block; height: 100%; width: 0;
    background: var(--primary-color); transition: width 0.25s linear;
}

/* 펼침 패널 — 곡 목록 + 볼륨 */
.audio-panel {
    position: fixed; top: 62px; right: 40px; width: 330px; box-sizing: border-box;
    background: rgba(8, 8, 14, 0.96); border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
    font-family: 'Noto Sans KR', sans-serif; z-index: 9999;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.audio-panel.show { opacity: 1; visibility: visible; transform: translateY(0); }

.audio-vol {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.av-label { font-family: 'Cinzel', serif; font-size: 0.62rem; letter-spacing: 2px; color: #7e7869; }
.av-num { font-size: 0.65rem; color: #7e7869; width: 22px; text-align: right; }
.audio-vol input[type="range"] {
    flex: 1; height: 3px; cursor: pointer; -webkit-appearance: none; appearance: none;
    background: rgba(255, 255, 255, 0.14); border-radius: 2px;
}
.audio-vol input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary-color); cursor: pointer;
}
.audio-vol input[type="range"]::-moz-range-thumb {
    width: 10px; height: 10px; border: none; border-radius: 50%; background: var(--primary-color);
}

.audio-list { max-height: 250px; overflow-y: auto; padding: 4px 0 6px; scrollbar-width: thin; }
.audio-list::-webkit-scrollbar { width: 3px; }
.audio-list::-webkit-scrollbar-thumb { background: rgba(197, 160, 89, 0.5); border-radius: 3px; }

.playlist-item {
    display: flex; align-items: baseline; gap: 9px; padding: 1px 14px;
    font-size: 0.76rem; color: #8d8778; cursor: pointer; line-height: 1.62;
    transition: color 0.2s ease, background 0.2s ease;
}
.playlist-item:hover { background: rgba(255, 255, 255, 0.04); color: #ddd6c6; }
.pl-no { font-size: 0.6rem; color: #5f5b52; width: 15px; flex-shrink: 0; }
.pl-ko { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-en { margin-left: auto; font-size: 0.62rem; color: #55524a; white-space: nowrap; flex-shrink: 0; }
.playlist-item.active { color: var(--primary-color); background: rgba(197, 160, 89, 0.08); }
.playlist-item.active .pl-no, .playlist-item.active .pl-en { color: var(--primary-color); opacity: 0.75; }

@media (max-width: 1199px) {
    .audio-bar { flex: 0 0 auto; width: auto; }
    .audio-meta { display: none; }
    .audio-now { flex: 0 0 auto; padding: 0 4px 0 9px; }
    .audio-ctrl { padding-left: 6px; }
}
.section-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10; opacity: 0; visibility: hidden;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
    transform: scale(0.98);
}
.section-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 50; }

.fade-up { opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

#sec-main { overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }

#sec-main .content-section {
    width: 100%; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative; box-sizing: border-box; padding: 70px 20px; margin-bottom: 30px;
}
/* 첫 화면(로고)만 한 화면을 꽉 채운다. 나머지는 내용 높이에 맞춘다 */
#sec-main .content-section.hero-view { min-height: 100vh; padding: 100px 20px; margin-bottom: 0; }
#sec-main .content-section:last-of-type { margin-bottom: 0; }

.hero-logo { width: 350px; max-width: 80vw; filter: brightness(0) invert(1) drop-shadow(0 0 35px rgba(255, 255, 255, 0.8)); }
.hero-title { font-family: 'Noto Sans KR', sans-serif; font-size: 1.1rem; color: #aaa; margin-top: 20px; letter-spacing: 2px; font-weight: 300; text-align: center; }
.scroll-indicator { margin-top: 40px; width: 35px; height: 35px; animation: bounce 2s infinite; }
.scroll-indicator svg { fill: var(--highlight-yellow); width: 100%; height: 100%; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

.vision-view { background-color: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); width: 100%; padding-top: 95px; padding-bottom: 95px; }
.vision-main-title { font-family: 'Noto Serif KR', serif; font-size: 4rem; color: var(--highlight-yellow); text-align: center; margin-bottom: 14px; font-weight: 700; letter-spacing: 8px; }
.vision-lead {
    font-family: 'Gowun Batang', serif; font-size: 1.05rem; letter-spacing: 1px;
    color: #a9a9b4; text-align: center; margin: 0 0 62px; word-break: keep-all;
}
.vision-container { display: flex; flex-direction: column; gap: 80px; width: 100%; max-width: 1100px; margin: 0 auto; }
.vision-row { display: flex; align-items: center; justify-content: center; gap: 60px; width: 100%; }
.vision-row.reverse { flex-direction: row-reverse; }

.vision-text-box { display: flex; flex-direction: column; flex: 1; max-width: 450px; }
.vision-text-box.right { align-items: flex-end; text-align: right; }
.vision-text-box.left { align-items: flex-start; text-align: left; }
/* 번호는 문구를 읽기 전에 눈에 먼저 걸리는 표지. 그래서 옅게, 크게 */
.vision-num {
    font-family: 'Cinzel', serif; font-size: 2.6rem; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(197, 160, 89, 0.55);
    letter-spacing: 3px; margin-bottom: 14px;
}
.vision-tag { color: var(--highlight-yellow); font-size: 1.1rem; font-weight: 500; letter-spacing: 2px; font-family: 'Noto Sans KR', sans-serif; margin-bottom: 0px; }
.vision-heading { font-size: 2.8rem; line-height: 1.4; font-family: 'Noto Sans KR', sans-serif; margin: 5px 0 0 0; font-weight: 500; letter-spacing: 1px; }
.vision-img { width: 550px; max-width: 100%; object-fit: cover; }
/* 그림이 아직 없는 줄은 문구만 가운데로 모아 균형을 맞춘다 */
.vision-row.no-img .vision-text-box { max-width: 640px; align-items: center; text-align: center; }

/* ---------- Vision — 실천 · 원칙 ---------- */
.vision-rule {
    width: 100%; max-width: 1000px; height: 1px; margin: 92px auto 0;
    background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.35), transparent);
}
.vision-sub { width: 100%; max-width: 1000px; margin: 0 auto; }

/* 왼쪽에 이름표, 오른쪽에 본문. 스크롤하면 이름표가 먼저 눈에 든다 */
.v-block {
    display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px;
    padding: 54px 0 0; align-items: start;
}
.v-block + .v-block { margin-top: 54px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.v-block-eyebrow {
    display: block; font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 3.5px;
    color: var(--primary-color); text-transform: uppercase; margin-bottom: 10px;
}
.v-block-title {
    font-family: 'Noto Serif KR', serif; font-size: 1.55rem; font-weight: 500;
    letter-spacing: 2px; color: #fff; margin: 0; word-break: keep-all;
}
.v-block-body { padding-top: 4px; }
.v-lead {
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.98rem; font-weight: 300; line-height: 1.95;
    color: #b6b6c0; margin: 0 0 22px; word-break: keep-all;
}

.v-quote {
    position: relative; margin: 0 0 14px; padding: 2px 0 2px 22px;
    border-left: 2px solid rgba(197, 160, 89, 0.5);
    font-family: 'Gowun Batang', serif; font-size: 1.12rem; line-height: 1.9;
    color: #e6e2d8; word-break: keep-all;
}
.v-quote:last-child { margin-bottom: 0; }
.v-quote-block { font-size: 1.05rem; color: #cfcbc3; line-height: 1.95; }

.v-declare {
    font-family: 'Noto Serif KR', serif; font-size: 1.65rem; font-weight: 500;
    letter-spacing: 1px; line-height: 1.5; color: #fff; margin: 0 0 16px; word-break: keep-all;
}

/* 접기 — 궁금한 사람만 펼친다 */
.v-details { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.v-details summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 0 0; font-family: 'Noto Sans KR', sans-serif; font-size: 0.92rem;
    letter-spacing: 1px; color: var(--primary-color); transition: color 0.3s ease;
}
.v-details summary::-webkit-details-marker { display: none; }
.v-details summary:hover { color: var(--highlight-yellow); }
.v-chev { display: inline-block; font-size: 1.15rem; line-height: 1; transform: rotate(90deg); transition: transform 0.3s ease; }
.v-details[open] .v-chev { transform: rotate(-90deg); }

.v-reasons {
    margin: 18px 0 0; padding: 0; list-style: none; counter-reset: vr;
    font-family: 'Noto Sans KR', sans-serif;
}
.v-reasons li {
    counter-increment: vr; position: relative; padding: 0 0 0 34px; margin-bottom: 14px;
    font-size: 0.94rem; font-weight: 300; line-height: 1.85; color: #b6b6c0; word-break: keep-all;
}
.v-reasons li::before {
    content: counter(vr, decimal-leading-zero); position: absolute; left: 0; top: 0.15em;
    font-family: 'Cinzel', serif; font-size: 0.76rem; letter-spacing: 1px;
    color: var(--primary-color); opacity: 0.85;
}
.v-reasons li:last-child { margin-bottom: 0; }

.episode-preview-title { font-family: 'Noto Serif KR', serif; font-size: 4rem; color: var(--highlight-yellow); margin-bottom: 45px; letter-spacing: 8px; font-weight: 700; text-align: center; }
.crossfade-container { display: flex; justify-content: center; gap: 100px; }
.crossfade-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; cursor: pointer; }
.card-label { font-family: 'Noto Serif KR', serif; font-size: 1.5rem; color: var(--text-main); letter-spacing: 2px; transition: color 0.3s; font-weight: 500; }
.crossfade-card { width: 320px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.8); transition: transform 0.4s ease, box-shadow 0.4s ease; background: #111; }
.crossfade-wrapper:hover .crossfade-card { transform: translateY(-10px) scale(1.02); box-shadow: 0 0 30px rgba(197, 160, 89, 0.4); }
.crossfade-wrapper:hover .card-label { color: var(--primary-color); }
.crossfade-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; pointer-events: none;}
.crossfade-img.active { opacity: 1; }

.site-footer { width: 100%; padding: 60px 20px; background: rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; align-items: center; gap: 25px; margin-top: 50px; box-sizing: border-box; flex-shrink: 0; }
.footer-contact { text-align: center; font-family: 'Noto Sans KR', sans-serif; margin-bottom: 10px; }
.contact-title { color: #ffffff; font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 8px; }
.contact-email { color: #dddddd; font-size: 1.1rem; letter-spacing: 1px; font-weight: 300; }
.footer-icons { display: flex; gap: 20px; }
.footer-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; justify-content: center; align-items: center; transition: all 0.3s; color: #fff; text-decoration: none; }
.footer-icon:hover { background: var(--primary-color); color: #000; transform: translateY(-5px); }
.footer-icon svg { width: 20px; height: 20px; fill: currentColor; }
.copyright { color: #888; font-size: 0.9rem; letter-spacing: 1px; }

/* ===== 메인 — 배너 두 장 (제작 가이드북 · 디렉터 블로그) ===== */
.guide-banner-section { padding-top: 20px; padding-bottom: 40px; }
.banner-row {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
    width: 100%; max-width: 1240px; box-sizing: border-box; align-items: stretch;
}
.guide-banner {
    display: flex; align-items: flex-start; gap: 22px;
    width: 100%; box-sizing: border-box; height: 100%;
    padding: 22px 24px; cursor: pointer; text-decoration: none;
    background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px; transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.guide-banner:hover {
    border-color: rgba(197, 160, 89, 0.6); background: rgba(197, 160, 89, 0.07); transform: translateY(-4px);
}
.guide-banner-cover {
    width: 74px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.guide-banner-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.guide-banner-tag {
    font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 3px;
    color: var(--highlight-yellow); text-transform: uppercase;
}
.guide-banner-title { font-family: 'Noto Serif KR', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 2px; color: #fff; }
.guide-banner-desc { font-family: 'Noto Sans KR', sans-serif; font-size: 0.88rem; font-weight: 300; color: #9a9aa6; word-break: keep-all; line-height: 1.6; }
.guide-banner-go {
    margin-top: auto; padding-top: 12px; white-space: nowrap;
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.88rem; letter-spacing: 1px;
    color: var(--primary-color); transition: transform 0.3s ease;
}
.guide-banner:hover .guide-banner-go { transform: translateX(4px); }

/* 플레이 가이드 — 제작 가이드북과 구분되도록 색을 달리한다 */
.play-banner { --banner-accent: #8fbf9c; }
.play-banner:hover { border-color: rgba(143, 191, 156, 0.6); background: rgba(143, 191, 156, 0.08); }
.play-banner .guide-banner-tag { color: var(--banner-accent); }
/* 제목이 길어 3열에서 두 줄이 된다 — 이 배너만 한 단계 줄인다 */
.play-banner .guide-banner-title { font-size: 1.1rem; letter-spacing: 1px; line-height: 1.4; word-break: keep-all; }
.play-banner .guide-banner-go { color: var(--banner-accent); }

/* 디렉터 블로그 — 사이트 밖으로 나가는 배너라 색을 달리해 구분한다 */
.blog-banner { --banner-accent: #7fb6cd; }
.blog-banner:hover { border-color: rgba(127, 182, 205, 0.6); background: rgba(127, 182, 205, 0.08); }
.blog-banner .guide-banner-tag { color: var(--banner-accent); }
.blog-banner .guide-banner-go { color: var(--banner-accent); }
.blog-banner-cover {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #1d2b34 0%, #2c4552 55%, #1a252c 100%);
    border: 1px solid rgba(127, 182, 205, 0.35);
}
.blog-banner-cover svg { width: 34px; height: 34px; fill: var(--banner-accent); opacity: 0.9; }
.blog-banner:hover .blog-banner-cover svg { opacity: 1; }

/* 배너 3장 — 좁아지면 2열, 더 좁아지면 1열(아래 768px 블록) */
@media (max-width: 1100px) {
    .banner-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
}

/* ===== Episodes — 정렬 전환 ===== */
.gallery-sortbar {
    display: flex; align-items: center; gap: 8px; justify-content: flex-end;
    width: 100%; max-width: 1440px; box-sizing: border-box;
    margin: -14px auto 22px; padding: 0 clamp(18px, 4.5vw, 70px);
}
.sort-btn {
    background: none; border: none; padding: 2px 2px; cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.88rem; font-weight: 300;
    letter-spacing: 1px; color: #7a7a86; transition: color 0.25s ease;
}
.sort-btn:hover { color: #ddd; }
.sort-btn.active { color: var(--primary-color); font-weight: 500; }
.sort-sep { color: #4a4a56; font-size: 0.8rem; }

/* ===== Episodes — 넷플릭스형 3줄 그리드 ===== */
.episodes-section { padding-top: 40px; padding-bottom: 20px; }

.gallery-heading {
    font-family: 'Cinzel', 'Noto Serif KR', serif; font-size: 4rem; color: var(--highlight-yellow);
    letter-spacing: 8px; font-weight: 700; text-align: center; margin: 0 0 34px;
}

.work-row {
    --gc-gap: 18px;
    position: relative; width: 100%; max-width: 1440px; box-sizing: border-box;
    margin: 0 auto 55px; padding: 0 clamp(18px, 4.5vw, 70px);
}
.work-row:last-child { margin-bottom: 20px; }

.work-row-head {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px;
}
.work-row-title {
    font-family: 'Noto Serif KR', serif; font-size: 2.4rem; font-weight: 600;
    color: var(--primary-color); letter-spacing: 2px; margin: 0; line-height: 1.2;
}
.work-row-sub {
    font-family: 'Noto Sans KR', sans-serif; font-size: 1.08rem; font-weight: 300;
    color: #9a9aa6; letter-spacing: 0.5px; line-height: 1.4;
}
.work-row-count {
    margin-left: auto; font-family: 'Noto Sans KR', sans-serif; font-size: 0.85rem;
    letter-spacing: 1px; color: #7a7a86; font-weight: 300; white-space: nowrap;
}
.work-row-line {
    height: 1px; width: 100%;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.45), rgba(197, 160, 89, 0));
}

.work-row-tabs { display: flex; gap: 8px; margin-top: 14px; }
.work-tab {
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
    color: #8f8f9b; font-family: 'Noto Sans KR', sans-serif; font-size: 0.85rem; font-weight: 400;
    letter-spacing: 1px; padding: 5px 18px; cursor: pointer; transition: all 0.25s ease;
}
.work-tab:hover { color: #fff; border-color: rgba(197, 160, 89, 0.6); }
.work-tab.active {
    color: #0a0a1a; background: var(--primary-color); border-color: var(--primary-color); font-weight: 500;
}

.work-row-pane { display: none; }
.work-row-pane.active { display: block; }

.work-row-viewport { position: relative; }

.work-empty {
    display: flex; align-items: center; justify-content: center;
    min-height: 180px; margin: 12px 0 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12); border-radius: 10px;
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.95rem; font-weight: 300;
    letter-spacing: 2px; color: #6f6f7b;
}

.work-track {
    display: flex; gap: var(--gc-gap);
    overflow-x: auto; overflow-y: hidden;
    scroll-behavior: smooth; scroll-snap-type: x proximity;
    padding: 12px 2px 18px; cursor: grab;
    -ms-overflow-style: none; scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }

.work-card {
    flex: 0 0 calc((100% - var(--gc-gap) * 3) / 4); max-width: 280px;
    position: relative; aspect-ratio: 4 / 5;
    border-radius: 10px; overflow: hidden; background-color: #14141f;
    border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    scroll-snap-align: start; cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.work-card-img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; background: #0d0d16; }

.work-card-img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1); }
.work-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0) 65%);
    display: flex; justify-content: flex-end; align-items: flex-end; padding: 14px;
    opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.work-card-enter {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.85); color: var(--primary-color);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.15rem; line-height: 1; padding-bottom: 2px;
    transform: translateX(-6px); transition: transform 0.35s ease 0.05s;
}
@media (hover: hover) {
    .work-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: 0 0 34px rgba(197, 160, 89, 0.4); }
    .work-card:hover .work-card-img { transform: scale(1.04); }
    .work-card:hover .work-card-overlay { opacity: 1; }
    .work-card:hover .work-card-enter { transform: translateX(0); }
    .work-track.dragging .work-card:hover { transform: none; }
    .work-track.dragging .work-card:hover .work-card-img { transform: none; }
    .work-track.dragging .work-card-overlay { opacity: 0; }
}

.row-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.6); color: var(--primary-color);
    border: 1px solid rgba(197, 160, 89, 0.5); font-size: 1.2rem; cursor: pointer;
    display: flex; justify-content: center; align-items: center;
    z-index: 30; transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.row-arrow:hover { background: var(--primary-color); color: #000; box-shadow: 0 0 15px var(--primary-color); }
.row-arrow-left { left: -24px; }
.row-arrow-right { right: -24px; }
.row-arrow.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 1100px) {
    .fa-grid { column-count: 3; }
    .work-card { flex-basis: calc((100% - var(--gc-gap) * 2) / 3); max-width: none; }
    .work-row-title { font-size: 2rem; }
    .work-row-sub { font-size: 0.92rem; }
    /* 좌우 여백이 좁아지면 화살표를 포스터 위로 겹쳐 올린다 */
    .row-arrow-left { left: 2px; }
    .row-arrow-right { right: 2px; }
}

.floating-btn { position: fixed; bottom: 40px; right: 40px; z-index: 9999; width: 60px; height: 60px; background: #fee500; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 20px rgba(0,0,0,0.5); cursor: pointer; transition: transform 0.3s; }
.floating-btn:hover { transform: translateY(-5px); }
body.hide-floating .floating-btn { display: none; }
.floating-btn svg { width: 30px; height: 30px; fill: #3c1e1e; }

/* ===== 팬아트 ===== */
#sec-fanart { overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
#sec-fanart .content-section {
    width: 100%; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative; box-sizing: border-box; padding: 130px 20px 0;
}
.fanart-main-title {
    font-family: 'Cinzel', serif; font-size: 3.4rem; letter-spacing: 8px;
    color: var(--primary-color); margin: 0; text-shadow: 0 0 30px rgba(197, 160, 89, 0.35);
}
.fanart-lead {
    font-family: 'Gowun Batang', serif; font-size: 1.05rem; line-height: 1.9;
    color: #bdbdc6; text-align: center; margin: 18px 0 0; word-break: keep-all;
}

.fanart-body { width: 100%; max-width: 1180px; margin: 0 auto; padding: 46px 24px 0; box-sizing: border-box; }

.fa-group { margin-bottom: 54px; }
.fa-group-head {
    display: flex; align-items: baseline; gap: 12px;
    padding-bottom: 10px; margin-bottom: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.22);
}
.fa-artist {
    font-family: 'Noto Serif KR', serif; font-size: 1.28rem; font-weight: 500;
    letter-spacing: 1px; color: #fff;
}
.fa-count { font-family: 'Cinzel', serif; font-size: 0.82rem; letter-spacing: 2px; color: var(--primary-color); }

/* 그림마다 비율이 달라 자르지 않는다. 벽돌쌓기(CSS 다단)로 원래 비율 그대로 둔다 */
.fa-grid { column-count: 4; column-gap: 16px; }
.fa-card {
    position: relative; display: block; margin: 0 0 16px; padding: 0;
    cursor: zoom-in; overflow: hidden; break-inside: avoid; border-radius: 10px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.fa-card:hover { border-color: rgba(197, 160, 89, 0.6); transform: translateY(-4px); }
.fa-card img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.fa-card:hover img { transform: scale(1.04); }

.fanart-notice {
    width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.85rem; font-weight: 300;
    color: #7d7d88; text-align: center; word-break: keep-all;
}

/* 확대 보기 */
.fa-lightbox {
    position: fixed; inset: 0; z-index: 99990; display: none;
    align-items: center; justify-content: center; padding: 4vh 5vw; box-sizing: border-box;
    background: rgba(4, 4, 10, 0.94); backdrop-filter: blur(3px);
    opacity: 0; transition: opacity 0.25s ease;
}
.fa-lightbox.show { display: flex; opacity: 1; }
.fa-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 92vh; }
.fa-stage img {
    max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.fa-stage figcaption {
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.9rem; letter-spacing: 1px; color: #cfcfd8;
}
.fa-close, .fa-nav {
    position: absolute; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
    color: #eee; cursor: pointer; border-radius: 50%; transition: background 0.3s ease, color 0.3s ease;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.fa-close:hover, .fa-nav:hover { background: var(--primary-color); color: #000; }
.fa-close { top: 24px; right: 26px; width: 44px; height: 44px; font-size: 1.05rem; }
.fa-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.fa-prev { left: 20px; }
.fa-next { right: 20px; }

#sec-guide { overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }

#sec-guide .content-section {
    width: 100%; min-height: 100vh; flex-shrink: 0; 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: relative; box-sizing: border-box; padding: 100px 20px; margin-bottom: 120px; 
}
#sec-guide .content-section:last-of-type { margin-bottom: 0; }

.guide-main-title {
    font-family: 'Noto Serif KR', serif; font-size: 4rem; color: var(--primary-color);
    text-align: center; margin-bottom: 30px; font-weight: 700; letter-spacing: 8px;
}

.guide-library-bg {
    background: linear-gradient(to bottom, transparent 0%, rgba(20, 12, 8, 0.8) 15%, rgba(15, 10, 8, 0.95) 85%, transparent 100%);
    width: 100%; border-radius: 20px; margin-top: -30px;
}

.mobile-guide-text { display: none; }

.bookshelf-wrapper { position: relative; margin: 0 auto; width: 100%; max-width: 1000px; }

.mobile-swipe-hint {
display: none; text-align: center; color: #aaa; font-size: 0.95rem;
margin-bottom: 20px; font-family: 'Noto Sans KR', sans-serif;
animation: pulseHint 2.5s infinite; font-weight: 400; letter-spacing: 1px;
}
@keyframes pulseHint { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.bookshelf-container {
    display: flex; gap: 40px; justify-content: center; margin-top: 20px; 
    padding: 90px 40px 95px 40px; 
    min-height: auto; 
    background-image: url('assets/images/archive/선반.webp'); 
    background-size: 100% auto; background-position: bottom center; background-repeat: no-repeat;
    width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    position: relative; z-index: 1;
}
.bookshelf-container::-webkit-scrollbar { display: none; }

.shelf-section-label {
    position: absolute; top: 20px; left: 50px; 
    color: #d4af37; font-family: 'Noto Serif KR', serif; font-size: 1.8rem;
    font-weight: 700; letter-spacing: 6px; white-space: nowrap;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4), 2px 2px 4px #000;
    pointer-events: none; z-index: 5;
}

.book-item {
    width: 140px; height: 200px; flex-shrink: 0;
    cursor: pointer; position: relative; margin: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; justify-content: center; z-index: 1;
    background: transparent; border: none; box-shadow: none;
}

.book-item::before {
    content: ''; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px;
    border-radius: 6px;
    box-shadow: 0 0 20px 4px rgba(255, 215, 0, 0.7);
    opacity: 0; transition: opacity 0.4s ease-out;
    z-index: 0; pointer-events: none;
}

.book-img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    filter: drop-shadow(2px 8px 10px rgba(0,0,0,0.8));
    transition: filter 0.3s ease; position: relative; z-index: 2;
}

.book-item:hover { transform: translateY(-15px); z-index: 10; }
.book-item:hover .book-img { filter: drop-shadow(8px 15px 15px rgba(0,0,0,0.95)) brightness(1.05); }

.book-item:hover::before { 
    opacity: 1; 
}

.book-item.empty {
    background: transparent; border: 2px dashed rgba(255,255,255,0.1);
    box-shadow: none; cursor: default;
}
.book-item.empty:hover {
    transform: none; z-index: 1; box-shadow: none; border-color: rgba(255,255,255,0.2);
}
.book-item.empty:hover::before { display: none; }

.vision-main-title-img {
    max-width: 700px; width: 90%; margin: 0 auto 80px auto; display: block;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg) brightness(1.2) drop-shadow(0 0 15px rgba(197, 160, 89, 0.6));
}
.guide-image-container { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 100%; padding: 0; }
.guide-full-img { width: 100%; max-width: 100%; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); display: block; }
.book-spine-text {
    color: var(--highlight-yellow); font-family: 'Noto Serif KR', serif; 
    font-size: 1.1rem; writing-mode: vertical-rl; text-orientation: mixed;
    letter-spacing: 5px; font-weight: 700; padding: 10px; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}
.viewer-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(rgba(45, 30, 20, 0.88), rgba(20, 12, 8, 0.96)), url('assets/images/background2.webp');
    background-size: cover; background-position: center;
    z-index: 10000; display: flex; justify-content: center; align-items: center; 
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.viewer-modal.active { opacity: 1; visibility: visible; }

.close-modal-btn {
    position: absolute; top: 25px; right: 40px; background: none; border: none; 
    color: #fff; font-size: 2.5rem; cursor: pointer; z-index: 10009; 
    transition: color 0.3s; line-height: 1; font-family: sans-serif;
}
.close-modal-btn:hover { color: var(--highlight-yellow); }

.guide-viewer-wrapper {
    position: relative; width: 100%; max-width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box;
}

.book-layout-area {
    flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: center; height: 100%; width: 100%; position: relative;
}

.floating-controls {
    position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 15px; z-index: 10005;
}
.float-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(20, 14, 10, 0.8); border: 1px solid var(--primary-color);
    color: #fff; display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}
.float-btn:hover { background: var(--primary-color); color: #000; }
.float-btn.active { background: var(--primary-color); color: #000; box-shadow: 0 0 15px var(--primary-color); }
.float-btn svg { width: 24px; height: 24px; fill: currentColor; }

.book-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 60px; height: 100px; background: rgba(0,0,0,0.3); border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--primary-color); font-size: 2rem; display: flex; justify-content: center; align-items: center;
    cursor: pointer; z-index: 1000; transition: all 0.3s; border-radius: 8px; backdrop-filter: blur(3px);
}
.book-nav-btn:hover { background: rgba(197, 160, 89, 0.2); border-color: var(--primary-color); }
.book-nav-btn.left { left: 100px; }
.book-nav-btn.right { right: 100px; }

.toc-panel {
    position: fixed; right: -300px; left: auto; top: 0; width: 280px; height: 100%;
    background: rgba(20, 14, 10, 0.98); border-left: 1px solid rgba(197, 160, 89, 0.4);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 10006;
    display: flex; flex-direction: column; padding: 20px; box-sizing: border-box;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}
.toc-panel.open { right: 0; }
.toc-header { 
    display: flex; justify-content: space-between; align-items: center; 
    color: var(--highlight-yellow); font-family: 'Noto Serif KR', serif; 
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 20px; 
}
.toc-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.close-toc { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 0; line-height: 1; transition: color 0.3s; }
.close-toc:hover { color: var(--primary-color); }
.toc-list { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; }
.toc-list::-webkit-scrollbar { width: 4px; }
.toc-list::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; }
.toc-list li { 
    color: #ccc; padding: 12px 8px; cursor: pointer; 
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; 
    font-family: 'Noto Sans KR', sans-serif; font-size: 0.9rem; 
}
.toc-list li:hover { color: var(--highlight-yellow); background: rgba(197, 160, 89, 0.1); padding-left: 15px; }

.book-container {
    display: flex; justify-content: center; align-items: center; 
    perspective: 1500px; z-index: 10; position: relative;
}

#flipbook { transform-origin: center center; }

.book-page {
    background-color: #fdfaf5; box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden; display: flex; justify-content: center; align-items: center;
}
.book-page canvas { width: 100%; height: 100%; object-fit: fill; display: block; }

.viewer-onboarding {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 10, 8, 0.93); z-index: 10010;
    display: flex; justify-content: center; align-items: center;
    opacity: 1; transition: opacity 0.4s, visibility 0.4s;
}
.viewer-onboarding.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.onboarding-content {
    max-width: 420px; width: 85%; display: flex; flex-direction: column; gap: 22px;
    color: #fff; text-align: center; font-family: 'Noto Sans KR', sans-serif;
}
.onboarding-title {
    font-family: 'Noto Serif KR', serif; color: var(--highlight-yellow);
    font-size: 1.4rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 5px;
}
.onboarding-item {
    display: flex; align-items: center; gap: 18px; text-align: left;
    background: rgba(255,255,255,0.03); padding: 15px; border-radius: 6px;
    border: 1px solid rgba(197, 160, 89, 0.15);
}
.onboarding-item svg { width: 28px; height: 28px; fill: var(--primary-color); flex-shrink: 0; }
.onboarding-text { font-size: 0.9rem; color: #ddd; line-height: 1.45; font-weight: 300; }
.onboarding-btn {
    background: rgba(197, 160, 89, 0.2); border: 1px solid var(--primary-color);
    color: var(--highlight-yellow); padding: 13px; border-radius: 4px; cursor: pointer;
    font-weight: 700; letter-spacing: 1px; transition: all 0.3s; margin-top: 10px;
}
.onboarding-btn:hover { background: var(--primary-color); color: #000; }

.edge-zone {
    position: absolute; top: 0; height: 100%; width: 15%; z-index: 100; cursor: pointer;
}
.edge-zone-left { left: 0; }
.edge-zone-right { right: 0; }

.page-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(20, 14, 10, 0.8); border: 1px solid var(--primary-color);
    color: var(--highlight-yellow); padding: 8px 20px; border-radius: 20px;
    font-family: 'Noto Sans KR', sans-serif; font-size: 1rem; font-weight: 500;
    letter-spacing: 2px; z-index: 10005; backdrop-filter: blur(5px);
    pointer-events: none; transition: opacity 0.3s;
}

.archive-logo-wrapper {
    width: 100%;
    max-width: 700px;
    height: 140px;
    margin: 0 auto 20px auto;
}

.archive-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(72%) sepia(61%) saturate(1915%) hue-rotate(358deg) brightness(101%) contrast(93%);
}

@media (max-width: 768px) {
    header { padding: 0 20px; }
    .hamburger-btn { display: block; }
    .gnb {
        position: absolute; top: 70px; left: 0; width: 100%; transform: none;
        flex-direction: column; background: rgba(10, 10, 26, 0.98);
        padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
        gap: 0; border-bottom: 1px solid rgba(197, 160, 89, 0);
        box-shadow: 0 10px 20px rgba(0,0,0,0.8); z-index: 8999;
    }
    .gnb.show { max-height: 300px; border-bottom: 1px solid rgba(197, 160, 89, 0.4); padding: 10px 0; }
    .gnb-item { padding: 15px 20px; text-align: center; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .gnb-item:last-child { border-bottom: none; }
    
    .site-notice { font-size: 0.82rem; padding: 9px 20px; bottom: 30px; letter-spacing: 1px; }
    .audio-bar { display: none; }
    .music-btn { display: flex; }
    .audio-panel { top: 60px; right: 16px; left: 16px; width: auto; }
    .audio-list { max-height: 232px; }
    .playlist-item { font-size: 0.8rem; padding: 2px 14px; }
    .pl-en { display: none; }

    .crossfade-container { flex-direction: column; align-items: center; gap: 50px; }
    .hero-logo { width: 280px; }
    .vision-main-title, .guide-main-title { font-size: 2.5rem; margin-bottom: 50px; }
    .vision-main-title { margin-bottom: 12px; }
    .vision-lead { font-size: 0.95rem; margin-bottom: 46px; }
    .vision-container { gap: 62px; }
    .vision-row, .vision-row.reverse { flex-direction: column; text-align: center; gap: 40px; }
    .vision-text-box.left, .vision-text-box.right { align-items: center; text-align: center; }
    .vision-num { font-size: 2rem; margin-bottom: 10px; }
    .vision-heading { font-size: 2rem; }
    .vision-img { width: 90vw; }

    .vision-rule { margin-top: 66px; }
    .v-block { grid-template-columns: 1fr; gap: 18px; padding-top: 38px; }
    .v-block + .v-block { margin-top: 38px; }
    .v-block-title { font-size: 1.35rem; }
    .v-lead { font-size: 0.92rem; line-height: 1.9; }
    .v-quote { font-size: 1.02rem; padding-left: 16px; }
    .v-quote-block { font-size: 0.96rem; }
    .v-declare { font-size: 1.35rem; }
    .v-reasons li { font-size: 0.88rem; padding-left: 30px; }

    .episodes-section { padding-top: 20px; }
    .gallery-sortbar { margin: -8px auto 14px; padding: 0 14px; }
    .sort-btn { font-size: 0.78rem; }
    #sec-fanart .content-section { padding: 100px 20px 0; }
    .fanart-main-title { font-size: 2.3rem; letter-spacing: 5px; }
    .fanart-lead { font-size: 0.95rem; }
    .fanart-body { padding: 30px 16px 0; }
    .fa-group { margin-bottom: 38px; }
    .fa-artist { font-size: 1.08rem; }
    .fa-grid { column-count: 2; column-gap: 10px; }
    .fa-card { margin-bottom: 10px; }
    .fanart-notice { padding: 0 16px 30px; font-size: 0.78rem; }
    .fa-lightbox { padding: 3vh 3vw; }
    .fa-close { top: 14px; right: 14px; width: 38px; height: 38px; }
    .fa-nav { width: 40px; height: 40px; font-size: 1.6rem; }
    .fa-prev { left: 8px; }
    .fa-next { right: 8px; }

    .banner-row { grid-template-columns: 1fr; gap: 14px; }
    .guide-banner { gap: 16px; padding: 16px; max-width: 100%; align-items: center; }
    .guide-banner-cover { width: 62px; }
    .guide-banner-title { font-size: 1.1rem; }
    .guide-banner-desc { font-size: 0.8rem; }
    .guide-banner-go { margin-top: 4px; padding-top: 0; font-size: 0.82rem; }
    .blog-banner-cover svg { width: 28px; height: 28px; }
    .gallery-heading { font-size: 2.5rem; letter-spacing: 4px; margin-bottom: 26px; }
    .work-row { --gc-gap: 9px; margin-bottom: 30px; padding: 0 14px; }
    .work-row-head { gap: 1px 8px; margin-bottom: 6px; }
    .work-row-title { font-size: 1.15rem; letter-spacing: 0.5px; }
    .work-row-sub { font-size: 0.7rem; letter-spacing: 0; width: 100%; order: 3; line-height: 1.35; }
    .work-row-count { order: 2; font-size: 0.68rem; }
    .work-row-tabs { margin-top: 8px; gap: 5px; }
    .work-tab { font-size: 0.72rem; padding: 3px 12px; }
    .work-track { padding: 8px 2px 12px; }
    .work-card { flex-basis: calc((100% - var(--gc-gap) * 2) / 2.6); max-width: none; border-radius: 7px; }
    .work-card-overlay { display: none !important; }
    .row-arrow { display: none; }
    .work-empty { min-height: 120px; font-size: 0.85rem; }

    .book-item { width: 100px; height: 150px; }
    .book-spine-text { font-size: 0.9rem; letter-spacing: 3px; }
    
    .guide-viewer-wrapper { flex-direction: column; padding: 0; gap: 0; }
    .book-layout-area { width: 100%; height: 100%; padding-top: 20px; }
    .book-container { height: 100%; }
    .close-modal-btn { top: 20px; right: 20px; font-size: 2.2rem; }

    .floating-controls {
        flex-direction: row; left: 50%; top: auto; bottom: 20px; transform: translateX(-50%);
    }
    .book-nav-btn.left { left: 5px; }
    .book-nav-btn.right { right: 5px; }

    .page-indicator { bottom: 85px; font-size: 0.9rem; padding: 6px 15px; }
    .archive-logo-wrapper { height: 80px; max-width: 90vw; }

    .guide-main-title { font-size: 2.2rem; letter-spacing: 4px; margin-bottom: 20px; }

    .mobile-guide-text { 
        display: flex; flex-direction: column; align-items: center; justify-content: center; 
        margin-top: 40px; margin-bottom: 20px; text-align: center; 
    }
    .mobile-guide-main { 
        color: var(--highlight-yellow); font-family: 'Noto Serif KR', serif; 
        font-size: 1.25rem; letter-spacing: 1px; margin-bottom: 6px; font-weight: 700;
    }
    .mobile-guide-sub { 
        color: #aaa; font-family: 'Noto Sans KR', sans-serif; 
        font-size: 0.9rem; letter-spacing: 0.5px; 
    }

    .mobile-swipe-hint { display: block; }

    .bookshelf-container {
        justify-content: center;
        padding: 45px 10px 20px 10px; 
        gap: 12px;
        background-image: none;
    }
    .shelf-section-label { 
        top: 10px; 
        left: 20px; 
        font-size: 1.1rem; 
    }
    .book-item { width: 70px; height: 100px; }
    .book-item:hover { transform: translateY(-5px); }
}