/* ============================================================
   THE DUMPSTER ARCHIVE — Master Stylesheet V2
   ============================================================ */

:root {
    --cyan: #50F1F5;
    --pink: #FB72D8;
    --yellow: #FBEE68;
    --red: #E93F4A;
    --bg-dark: #07070e;
    --bg-card: #0d0d19;
    --glass-bg: rgba(13, 13, 25, 0.65);
    --glass-border: rgba(80, 241, 245, 0.2);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-pink: rgba(251, 114, 216, 0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) #0d0d19;
}

body::before {
    content: ""; position: fixed; inset: 0;
    background-image: url('https://files.catbox.moe/9lfpre.webp');
    background-size: cover; background-position: center;
    opacity: 0.15; z-index: -1; pointer-events: none;
}

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #0d0d19; }
body::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 10px; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }
img { max-width: 100%; display: block; }

/* UTILITIES */
.cyan-text { color: var(--cyan); }
.pink-text { color: var(--pink); }
.yellow-text { color: var(--yellow); }
.red-text { color: var(--red); }
.muted-text { color: var(--text-muted); margin-top: 0; }
.highlight { color: var(--pink); font-weight: 600; }
.cyan-link { color: var(--cyan); text-decoration: underline; }
.cyan-link:hover { color: var(--pink); }

/* ============ DISCLAIMER GATE ============ */
.disclaimer-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}

.disclaimer-box {
    background: linear-gradient(135deg, rgba(150,40,50,0.95), rgba(100,0,0,0.9));
    border: 2px solid #ff2d2d; border-radius: 15px;
    padding: 40px; max-width: 650px; width: 100%;
    box-shadow: 0 0 40px rgba(255,0,0,0.5), inset 0 0 15px rgba(0,0,0,0.6);
    text-align: center; color: var(--text-main);
}

.disclaimer-box h2 {
    font-family: 'Impact', sans-serif; font-size: 2rem;
    color: #fff; margin-bottom: 5px;
    animation: dangerBlink 1.2s infinite;
}

.disclaimer-box .disclaimer-sub {
    color: var(--yellow); font-weight: bold; font-size: 1.1rem;
    margin-bottom: 20px; animation: dangerBlink 1.2s infinite;
}

.disclaimer-box p { line-height: 1.7; margin-bottom: 15px; font-size: 0.95rem; }
.disclaimer-box .disclaimer-warn { color: var(--yellow); font-weight: bold; }

.disclaimer-box .disclaimer-sig {
    text-align: right; font-family: 'Courier New', monospace;
    font-weight: bold; color: var(--yellow); margin-top: 20px;
}

.disclaimer-btns { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }

.disclaimer-enter {
    padding: 14px 40px; background: transparent; border: 2px solid var(--cyan);
    color: var(--cyan); font-family: 'Poppins', sans-serif; font-size: 1rem;
    font-weight: 700; border-radius: 8px; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.disclaimer-enter:hover { background: var(--cyan); color: #0d0d19; box-shadow: 0 0 20px var(--cyan); }

.disclaimer-leave {
    padding: 14px 40px; background: transparent; border: 2px solid var(--red);
    color: var(--red); font-family: 'Poppins', sans-serif; font-size: 1rem;
    font-weight: 700; border-radius: 8px; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.disclaimer-leave:hover { background: var(--red); color: #fff; box-shadow: 0 0 20px var(--red); }

@keyframes dangerBlink {
    0%, 100% { text-shadow: 0 0 6px #ff0000; }
    50% { text-shadow: 0 0 12px #fff; color: #ff0000; }
}

/* ============ NAVBAR ============ */
.navbar {
    background: rgba(13, 13, 25, 0.95); border-bottom: 2px solid var(--cyan);
    padding: 15px 30px; display: flex; justify-content: space-between;
    align-items: center; box-shadow: 0 0 15px rgba(80,241,245,0.3);
    position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px);
}
.nav-logo { color: var(--cyan) !important; font-family: 'Impact', sans-serif; font-size: 1.5rem; letter-spacing: 1px; }
.nav-logo:hover { color: var(--pink) !important; }
.nav-links { display: flex; gap: 5px; }
.nav-links a { color: var(--text-main); padding: 8px 14px; font-weight: 600; border-radius: 6px; transition: all 0.3s ease; font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--yellow); text-shadow: 0 0 8px var(--yellow); background: rgba(251,238,104,0.1); }
.nav-toggle { display: none; background: none; border: 2px solid var(--cyan); color: var(--cyan); font-size: 1.5rem; padding: 5px 10px; border-radius: 5px; cursor: pointer; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
    max-width: 1400px; margin: 10px auto 0; padding: 8px 20px;
    font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumbs a { color: var(--cyan); }
.breadcrumbs a:hover { color: var(--pink); }
.breadcrumbs span { color: var(--text-main); }

/* ============ HERO ============ */
.hero { text-align: center; padding: 50px 20px 30px; }
.hero h1 { font-family: 'Impact', sans-serif; font-size: clamp(2.5rem,6vw,4rem); color: var(--red); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 2px 15px rgba(0,0,0,0.7); margin: 15px 0; }
.hero p, .hero-tagline { color: var(--yellow); font-style: italic; font-size: 1.1rem; }
.flicker-line { height: 4px; max-width: 600px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), var(--yellow), transparent); animation: flickerLine 5s linear infinite; border-radius: 2px; }
@keyframes flickerLine { 0%,100%{opacity:1} 30%{opacity:0.7} 50%{opacity:0.5} 70%{opacity:0.8} }

/* ============ LAYOUT ============ */
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.home-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.community-layout { max-width: 900px; display: flex; flex-direction: column; gap: 30px; }

/* ============ CARDS ============ */
.card { background: linear-gradient(145deg, rgba(13,13,25,0.95), rgba(20,20,35,0.85)); border: 2px solid var(--border-pink); border-radius: 12px; box-shadow: 0 0 20px rgba(251,114,216,0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(251,114,216,0.3); }
.card-head { background: rgba(13,13,25,0.6); color: var(--cyan); padding: 12px 20px; text-align: center; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid var(--border-pink); font-size: 0.9rem; }
.card-body { padding: 25px; line-height: 1.6; }
.card-body h3 { color: var(--cyan); margin-bottom: 8px; font-size: 1rem; }
.divider { border: none; border-top: 1px solid rgba(80,241,245,0.1); margin: 20px 0; }

/* ============ BUTTONS ============ */
.button-group, .work-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.neon-btn { padding: 10px 22px; font-weight: bold; border-radius: 6px; color: var(--text-main); transition: all 0.3s ease; display: inline-block; font-size: 0.85rem; text-decoration: none; cursor: pointer; font-family: 'Poppins', sans-serif; }
.pink-btn { border: 2px solid var(--pink); } .pink-btn:hover { background: var(--pink); color: #0d0d19; box-shadow: 0 0 15px var(--pink); }
.yellow-btn { border: 2px solid var(--yellow); color: var(--yellow); } .yellow-btn:hover { background: var(--yellow); color: var(--bg-dark); box-shadow: 0 0 15px var(--yellow); }
.cyan-btn { border: 2px solid var(--cyan); color: var(--cyan); } .cyan-btn:hover { background: var(--cyan); color: var(--bg-dark); box-shadow: 0 0 15px var(--cyan); }
.red-btn { border: 2px solid var(--red); color: var(--red); } .red-btn:hover { background: var(--red); color: #fff; box-shadow: 0 0 15px var(--red); }

/* ============ SNEAK PEEK ============ */
.sneak-peek-body { display: flex; gap: 25px; align-items: flex-start; }
.sneak-peek-img-wrap { position: relative; flex: 0 0 280px; }
.sneak-peek-img { width: 100%; border-radius: 10px; border: 1px solid var(--glass-border); }
.sneak-peek-text h3 { color: var(--pink); margin-bottom: 8px; font-size: 1.2rem; }

/* ============ STATUS BADGES ============ */
.status-badge { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; z-index: 5; }
.badge-new { background: var(--cyan); color: var(--bg-dark); box-shadow: 0 0 10px var(--cyan); }
.badge-updated { background: var(--yellow); color: var(--bg-dark); box-shadow: 0 0 10px var(--yellow); }
.badge-wip { background: var(--red); color: #fff; box-shadow: 0 0 10px var(--red); }

/* ============ WINAMP PLAYER ============ */
.winamp-card { grid-column: 1 / -1; display: flex; justify-content: center; }
.winamp { max-width: 300px; width: 100%; background: #0D0D0D; border: 3px solid var(--yellow); font-family: 'Courier New', monospace; color: #F3F4F9; padding: 8px; box-shadow: 3px 3px 0 #0D0D19; }
.wa-head { background: var(--pink); padding: 3px 5px; font-weight: 700; font-size: 11px; color: #0D0D19; text-align: center; }
.wa-screen { background: #0D0D19; padding: 5px; margin: 5px 0; font-size: 11px; border: 2px solid var(--yellow); overflow: hidden; position: relative; height: 22px; }
.wa-scroll { display: inline-block; white-space: nowrap; position: absolute; top: 50%; transform: translateY(-50%); color: var(--cyan); animation: scrolltext 12s linear infinite; }
.wa-eq-box { background: #0D0D19; border: 2px solid var(--yellow); padding: 3px; margin: 5px 0; height: 18px; overflow: hidden; }
.wa-eq { display: flex; justify-content: space-between; height: 100%; }
.wa-eq span { flex: 1; margin: 0 1px; background: var(--cyan); animation: eqBounce 0.7s infinite ease-in-out; }
.wa-eq span:nth-child(2) { animation-delay: 0.1s; } .wa-eq span:nth-child(3) { animation-delay: 0.15s; }
.wa-eq span:nth-child(4) { animation-delay: 0.2s; } .wa-eq span:nth-child(5) { animation-delay: 0.05s; }
.wa-eq span:nth-child(6) { animation-delay: 0.25s; } .wa-eq span:nth-child(7) { animation-delay: 0.12s; }
.wa-eq span:nth-child(8) { animation-delay: 0.18s; } .wa-eq span:nth-child(9) { animation-delay: 0.08s; }
.wa-eq span:nth-child(10) { animation-delay: 0.22s; }
@keyframes scrolltext { 0% { left: 100%; } 100% { left: -100%; } }
@keyframes eqBounce { 0%,100% { height: 20%; } 25% { height: 90%; } 50% { height: 30%; } 75% { height: 80%; } }

/* ============ SECTION DIVIDER ============ */
.section-divider { text-align: center; color: var(--cyan); font-family: 'Impact', sans-serif; font-size: 1.6rem; letter-spacing: 2px; position: relative; margin: 20px 0; }
.section-divider::before, .section-divider::after { content: ''; position: absolute; top: 50%; height: 2px; width: 30%; background: linear-gradient(90deg, transparent, var(--glass-border)); }
.section-divider::before { left: 0; }
.section-divider::after { right: 0; transform: rotate(180deg); }
.section-divider span { background: var(--bg-dark); padding: 0 20px; position: relative; }

/* ============ ROSTER ============ */
.roster-layout { max-width: 1300px; }
.search-bar-container { margin-bottom: 20px; }
.search-input { width: 100%; padding: 15px 25px; background: var(--glass-bg); border: 2px solid var(--glass-border); border-radius: 12px; color: var(--text-main); font-family: 'Poppins', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; backdrop-filter: blur(10px); }
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--cyan); box-shadow: 0 0 20px rgba(80,241,245,0.2); }

.tag-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; justify-content: center; }
.tag-pill { padding: 8px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; color: var(--text-muted); font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.tag-pill:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(80,241,245,0.1); }
.tag-pill.active { background: var(--cyan); color: var(--bg-dark); border-color: var(--cyan); box-shadow: 0 0 12px rgba(80,241,245,0.3); }

.roster-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.roster-count { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.char-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; overflow: hidden; text-decoration: none; color: var(--text-main); transition: all 0.4s ease; backdrop-filter: blur(10px); position: relative; }
.char-card:hover { transform: translateY(-8px); border-color: var(--pink); box-shadow: 0 15px 40px rgba(251,114,216,0.25); color: var(--text-main); }
.persona-card { border-color: rgba(251,238,104,0.3); }
.persona-card:hover { border-color: var(--yellow); box-shadow: 0 15px 40px rgba(251,238,104,0.25); }

/* Auto-generate status badges from data-status */
.char-card[data-status="new"] .char-card-img-wrapper::after,
.char-card[data-status="updated"] .char-card-img-wrapper::after,
.char-card[data-status="wip"] .char-card-img-wrapper::after {
    position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 4px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; z-index: 5;
}
.char-card[data-status="new"] .char-card-img-wrapper::after { content: "NEW"; background: var(--cyan); color: var(--bg-dark); box-shadow: 0 0 10px var(--cyan); }
.char-card[data-status="updated"] .char-card-img-wrapper::after { content: "UPDATED"; background: var(--yellow); color: var(--bg-dark); box-shadow: 0 0 10px var(--yellow); }
.char-card[data-status="wip"] .char-card-img-wrapper::after { content: "WIP"; background: var(--red); color: #fff; box-shadow: 0 0 10px var(--red); }

.char-card-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.char-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.char-card:hover .char-card-img { transform: scale(1.08); }
.char-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,14,0.9) 0%, transparent 50%); display: flex; align-items: flex-end; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.4s ease; }
.char-card:hover .char-card-overlay { opacity: 1; }
.char-card-view { background: var(--pink); color: var(--bg-dark); padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.char-card-info { padding: 15px; }
.char-card-name { font-family: 'Impact', sans-serif; font-size: 1.15rem; margin: 0 0 3px; letter-spacing: 1px; }
.char-card-series { color: var(--text-muted); font-size: 0.75rem; margin: 0 0 8px; }
.char-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-tag { padding: 2px 8px; background: rgba(80,241,245,0.1); border: 1px solid rgba(80,241,245,0.2); border-radius: 20px; font-size: 0.65rem; color: var(--cyan); font-weight: 600; }
.no-results { text-align: center; color: var(--text-muted); font-style: italic; padding: 40px; font-size: 1.1rem; display: none; }

/* ============ WIKI PAGES ============ */
.wiki-banner { position: relative; width: 100%; height: 350px; overflow: hidden; }
.wiki-banner-img { width: 100%; height: 100%; object-fit: cover; }
.wiki-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark) 0%, rgba(7,7,14,0.5) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 40px 20px; text-align: center; }
.wiki-banner-title { font-family: 'Impact', sans-serif; font-size: clamp(2.5rem,5vw,4.5rem); color: var(--red); letter-spacing: 4px; text-shadow: 0 4px 20px rgba(233,63,74,0.5); margin: 0; }
.wiki-banner-sub { color: var(--cyan); font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase; margin-top: 5px; }

.wiki-container { display: flex; gap: 40px; max-width: 1400px; margin: 40px auto; padding: 0 20px; align-items: flex-start; }

/* Sidebar */
.sidebar { position: sticky; top: 90px; flex: 0 0 340px; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(80,241,245,0.05); text-align: center; }
.main-avatar { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 15px; border: 2px solid var(--cyan); box-shadow: 0 0 20px rgba(80,241,245,0.3); margin-bottom: 20px; }
.sidebar-name { font-family: 'Impact', sans-serif; font-size: 2.8rem; color: var(--red); margin: 0 0 5px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(233,63,74,0.4); }
.sidebar-title { color: var(--cyan); font-size: 1rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 2px; }
.sidebar-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; }

.audio-container { background: rgba(0,0,0,0.5); border: 1px solid var(--yellow); border-radius: 12px; padding: 12px; margin-bottom: 25px; box-shadow: 0 0 15px rgba(251,238,104,0.15); }
.audio-title { color: var(--yellow); font-size: 0.75rem; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 2px; }
audio { width: 100%; height: 35px; outline: none; }

.btn-stack { display: flex; flex-direction: column; gap: 12px; }
.btn { padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; text-align: center; cursor: pointer; font-family: 'Poppins', sans-serif; }
.btn-json { background: transparent; border: 2px solid var(--pink); color: var(--pink); } .btn-json:hover { background: var(--pink); color: #0d0d19; box-shadow: 0 0 15px var(--pink); }
.btn-png { background: transparent; border: 2px solid var(--cyan); color: var(--cyan); } .btn-png:hover { background: var(--cyan); color: #0d0d19; box-shadow: 0 0 15px var(--cyan); }
.btn-share { background: transparent; border: 2px solid var(--yellow); color: var(--yellow); } .btn-share:hover { background: var(--yellow); color: #0d0d19; box-shadow: 0 0 15px var(--yellow); }

/* Content Area */
.content-area { flex: 1; display: flex; flex-direction: column; gap: 30px; padding-bottom: 50px; min-width: 0; }
.content-box { background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.nsfw-box { border-color: rgba(233,63,74,0.3); }

.box-title { color: var(--cyan); font-family: 'Impact', sans-serif; font-size: 1.8rem; letter-spacing: 2px; margin-top: 0; border-bottom: 2px solid rgba(80,241,245,0.2); padding-bottom: 10px; margin-bottom: 20px; }
.box-title.yellow-title,.yellow-title { color: var(--yellow); border-color: rgba(251,238,104,0.2); }
.box-title.pink-title,.pink-title { color: var(--pink); border-color: rgba(251,114,216,0.2); }
.box-title.red-title,.red-title { color: var(--red); border-color: rgba(233,63,74,0.2); }
.box-title.cyan-title,.cyan-title { color: var(--cyan); border-color: rgba(80,241,245,0.2); }

/* Accordions */
.modern-details { margin-bottom: 12px; background: rgba(0,0,0,0.4); border-radius: 10px; border-left: 4px solid var(--cyan); overflow: hidden; }
.modern-details summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); background: rgba(255,255,255,0.02); transition: all 0.3s ease; font-size: 0.95rem; }
.modern-details summary::-webkit-details-marker { display: none; }
.modern-details summary:hover { background: rgba(255,255,255,0.05); color: var(--cyan); }
.modern-details summary::after { content: '+'; color: var(--cyan); font-weight: bold; font-size: 1.2rem; flex-shrink: 0; margin-left: 15px; }
.modern-details[open] summary::after { content: '−'; }
.detail-content { padding: 18px; color: var(--text-muted); line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.05); }
.detail-content p { margin-bottom: 10px; }
.detail-content ul, .detail-content ol { padding-left: 20px; }
.detail-content li { margin-bottom: 6px; }
.scrollable-content { max-height: 250px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.scrollable-content::-webkit-scrollbar { width: 6px; } .scrollable-content::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 10px; }
.placeholder-item { color: var(--text-muted) !important; font-style: italic; list-style: none !important; margin-top: 10px !important; }
.nsfw-border { border-left-color: var(--red); } .nsfw-border summary { color: var(--red) !important; } .nsfw-border summary:hover { color: var(--pink) !important; } .nsfw-border summary::after { color: var(--red); }

/* Greeting Rows */
.greeting-row { display: flex; gap: 20px; align-items: flex-start; }
.thumb-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(80,241,245,0.3); flex-shrink: 0; }
.greeting-text p { margin-top: 0; } .greeting-text ul { color: var(--text-main); }

/* Binny Quote */
.binny-quote { display: flex; gap: 20px; align-items: center; margin-bottom: 25px; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 12px; border: 1px dashed var(--yellow); }
.binny-avatar { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--yellow); flex-shrink: 0; object-fit: cover; }
.binny-text { font-style: italic; color: var(--text-muted); margin: 0; line-height: 1.6; }
.binny-home-quote { display: flex; gap: 20px; align-items: center; }
.binny-home-avatar { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--yellow); flex-shrink: 0; object-fit: cover; }

/* Galleries */
.gallery-wrapper { display: flex; overflow-x: auto; gap: 20px; padding-bottom: 15px; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.gallery-wrapper::-webkit-scrollbar { height: 8px; } .gallery-wrapper::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 10px; }
.gallery-img { flex: 0 0 250px; height: 350px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s; cursor: pointer; }
.gallery-img.wide { flex: 0 0 450px; }
.gallery-img:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(251,114,216,0.4); border-color: var(--pink); }

/* NSFW Vault */
.nsfw-vault { border: 2px dashed var(--red); background: rgba(233,63,74,0.05); border-radius: 15px; padding: 20px; text-align: center; }
.nsfw-vault summary { font-size: 1.1rem; color: var(--red); font-weight: bold; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; gap: 10px; }
.nsfw-vault summary::-webkit-details-marker { display: none; }
.blur-gallery { display: flex; gap: 20px; margin-top: 20px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.blur-gallery::-webkit-scrollbar { height: 8px; } .blur-gallery::-webkit-scrollbar-thumb { background: var(--red); border-radius: 10px; }
.nsfw-img { flex: 0 0 250px; height: 250px; object-fit: cover; border-radius: 10px; filter: blur(20px); transition: filter 0.4s, transform 0.4s; cursor: pointer; border: 1px solid var(--red); }
.nsfw-img:hover { filter: blur(0); transform: scale(1.02); }

/* NPCs */
.npc-header { text-align: center; margin-bottom: 25px; }
.emblem-img { width: 100%; max-height: 250px; object-fit: cover; border-radius: 12px; border: 1px solid var(--glass-border); margin-bottom: 15px; }
.role-labels { color: var(--yellow); letter-spacing: 3px; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; }
.npc-portrait { width: 100%; max-height: 350px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 15px; }
.about-box { background: rgba(0,0,0,0.3); border-radius: 10px; padding: 20px; border-left: 3px solid var(--cyan); }
.about-box h4 { color: var(--cyan); margin-bottom: 8px; } .about-box p { color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Related Characters */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.related-card { background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; text-decoration: none; transition: all 0.3s ease; }
.related-card:hover { border-color: var(--pink); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(251,114,216,0.25); }
.related-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.related-info { padding: 12px; text-align: center; }
.related-info h4 { color: var(--text-main); margin: 0 0 4px; font-size: 0.9rem; }
.related-info p { color: var(--text-muted); font-size: 0.75rem; margin: 0; }

/* Terminal */
.terminal-box { background: #0a0a14; border: 1px solid rgba(80,241,245,0.3); border-radius: 10px; overflow: hidden; font-family: 'Courier New', monospace; }
.terminal-header { background: rgba(80,241,245,0.1); padding: 10px 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(80,241,245,0.2); }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: var(--red); } .terminal-dot.yellow { background: var(--yellow); } .terminal-dot.green { background: #50fa7b; }
.terminal-title { color: var(--text-muted); font-size: 0.8rem; margin-left: 10px; }
.terminal-content { padding: 20px; color: var(--cyan); font-size: 0.8rem; line-height: 1.8; overflow-x: auto; margin: 0; white-space: pre; }

/* Changelog */
.changelog-list { display: flex; flex-direction: column; gap: 12px; }
.changelog-entry { background: rgba(0,0,0,0.3); border-left: 3px solid var(--cyan); border-radius: 8px; padding: 15px 20px; }
.changelog-version { background: var(--cyan); color: var(--bg-dark); padding: 2px 10px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; margin-right: 10px; }
.changelog-date { color: var(--text-muted); font-size: 0.85rem; }
.changelog-entry p { color: var(--text-muted); margin: 8px 0 0; font-size: 0.9rem; }

.comment-area { background: rgba(0,0,0,0.3); border-radius: 10px; padding: 30px; text-align: center; }

/* ============ GALLERY PAGE ============ */
.gallery-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-page-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); transition: all 0.4s; cursor: pointer; }
.gallery-page-item:hover { border-color: var(--pink); box-shadow: 0 10px 30px rgba(251,114,216,0.3); transform: translateY(-3px); }
.gallery-page-item img { width: 100%; height: 350px; object-fit: cover; transition: transform 0.4s; }
.gallery-page-item:hover img { transform: scale(1.05); }
.gallery-page-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(7,7,14,0.9), transparent); padding: 20px 15px 15px; color: var(--text-main); font-size: 0.85rem; font-weight: 600; }

/* ============ ARCHIVE ============ */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.archive-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; padding: 25px; transition: all 0.3s; backdrop-filter: blur(10px); }
.archive-card:hover { border-color: var(--cyan); box-shadow: 0 10px 25px rgba(80,241,245,0.2); transform: translateY(-3px); }
.archive-card h3 { color: var(--cyan); margin-bottom: 10px; font-size: 1.1rem; }
.archive-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.llm-list { list-style: none; padding: 0; }
.llm-list li { padding: 6px 0; color: var(--text-muted); font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.llm-list li:last-child { border: none; }

/* ============ JOURNAL ============ */
.journal-layout { max-width: 800px; }
.journal-post { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; padding: 35px; margin-bottom: 25px; backdrop-filter: blur(10px); }
.journal-post-date { color: var(--cyan); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.journal-post h2 { color: var(--text-main); font-family: 'Impact', sans-serif; font-size: 1.8rem; margin-bottom: 15px; letter-spacing: 1px; }
.journal-post p { color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.journal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); }
.journal-tag { padding: 3px 12px; background: rgba(251,114,216,0.1); border: 1px solid rgba(251,114,216,0.2); border-radius: 20px; font-size: 0.75rem; color: var(--pink); }

/* ============ COMMUNITY ============ */
.submit-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.form-textarea, .form-input, .form-select {
    width: 100%; padding: 14px 18px; background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border);
    border-radius: 10px; color: var(--text-main); font-family: 'Poppins', sans-serif; font-size: 0.9rem;
    outline: none; transition: border-color 0.3s; resize: vertical;
}
.form-textarea:focus, .form-input:focus, .form-select:focus { border-color: var(--cyan); box-shadow: 0 0 10px rgba(80,241,245,0.15); }
.form-select option { background: var(--bg-card); color: var(--text-main); }
.form-submit-btn { align-self: flex-start; }

/* Inbox Q&A Feed */
.inbox-feed { margin-top: 10px; }
.inbox-qa { margin-bottom: 20px; background: rgba(0,0,0,0.3); border-radius: 12px; overflow: hidden; }
.inbox-question { padding: 15px 20px; border-left: 4px solid var(--pink); }
.inbox-answer { padding: 15px 20px; background: rgba(80,241,245,0.03); border-left: 4px solid var(--cyan); }
.inbox-anon-badge { display: inline-block; padding: 2px 10px; background: rgba(251,114,216,0.15); border-radius: 4px; font-size: 0.75rem; color: var(--pink); font-weight: 600; margin-bottom: 6px; }
.inbox-rae-badge { display: inline-block; padding: 2px 10px; background: rgba(80,241,245,0.15); border-radius: 4px; font-size: 0.75rem; color: var(--cyan); font-weight: 600; margin-bottom: 6px; }
.inbox-qa p { margin: 0; color: var(--text-muted); line-height: 1.6; }

/* Showcase */
.showcase-card { background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); border-radius: 10px; padding: 20px; margin-bottom: 15px; }
.showcase-meta { font-size: 0.8rem; margin-bottom: 10px; }
.showcase-excerpt { color: var(--text-muted); line-height: 1.6; font-size: 0.9rem; }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed; bottom: 30px; left: 30px; z-index: 998;
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--glass-bg); border: 2px solid var(--cyan);
    color: var(--cyan); font-size: 1.2rem;
    display: none; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s; backdrop-filter: blur(10px);
    text-decoration: none;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--cyan); color: var(--bg-dark); box-shadow: 0 0 15px var(--cyan); }

/* ============ MASCOT ============ */
.corner-mascot { position: fixed; bottom: 0; right: 5px; height: 22vh; max-width: 180px; z-index: 99; pointer-events: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .wiki-container { flex-direction: column; }
    .sidebar { position: static; width: 100%; flex: none; }
    .greeting-row { flex-direction: column; }
    .binny-quote, .binny-home-quote { flex-direction: column; text-align: center; }
    .home-layout { grid-template-columns: 1fr; }
    .sneak-peek-body { flex-direction: column; }
    .sneak-peek-img-wrap { flex: none; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,13,25,0.98); padding: 15px; border-bottom: 2px solid var(--cyan); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .wiki-banner { height: 250px; }
    .gallery-img { flex: 0 0 200px; height: 280px; } .gallery-img.wide { flex: 0 0 320px; }
    .related-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .corner-mascot { height: 15vh; }
}

@media (max-width: 600px) {
    .content-box { padding: 20px; } .sidebar { padding: 20px; }
    .box-title { font-size: 1.4rem; } .wiki-banner-title { font-size: 2rem; }
    .roster-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .archive-grid { grid-template-columns: 1fr; }
}


/* ADMIN OVERLAYS */
.admin-mode .admin-btn { display: block !important; }
.admin-btn {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--pink);
}

.admin-upload-zone { position: relative; width: 100%; }

[contenteditable="true"] {
    outline: 2px dashed var(--cyan);
    padding: 5px;
    background: rgba(80, 241, 245, 0.05);
}