/*
 * z0008 - CYBERPUNK NEON THEME
 * Primary: #00FFFF (Neon Cyan)
 * Accent: #FF00FF (Neon Magenta)
 * Background: #0a0a0f (Abyss Black)
 * Surface: #111119 / #16161f
 * Muted: #2a2a3a
 * Text: #c8d6e5 / #8892b0
 * Style: Harsh edges, glitch FX, scan-lines, neon glow, angular geometry
 */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@500;700;900&family=Noto+Sans+SC:wght@400;700&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    color: #c8d6e5;
    background: #0a0a0f;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: #00FFFF; text-decoration: none; transition: all .2s; }
a:hover { color: #FF00FF; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0,255,255,.25); color: #fff; }

/* ===== UTILITY ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mono { font-family: 'Share Tech Mono', 'Courier New', monospace; }
.orbitron { font-family: 'Orbitron', 'Share Tech Mono', monospace; }

/* ===== GLITCH KEYFRAMES ===== */
@keyframes glitch-clip {
    0%   { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    10%  { clip-path: inset(92% 0 1% 0);  transform: translate(1px, -1px); }
    20%  { clip-path: inset(43% 0 1% 0);  transform: translate(-1px, 3px); }
    30%  { clip-path: inset(25% 0 58% 0);  transform: translate(2px, 1px); }
    40%  { clip-path: inset(54% 0 7% 0);   transform: translate(-3px, -2px); }
    50%  { clip-path: inset(58% 0 43% 0);  transform: translate(0px, -1px); }
    60%  { clip-path: inset(45% 0 56% 0);  transform: translate(-2px, 0px); }
    70%  { clip-path: inset(14% 0 72% 0);  transform: translate(1px, 2px); }
    80%  { clip-path: inset(80% 0 10% 0);  transform: translate(3px, -1px); }
    90%  { clip-path: inset(12% 0 69% 0);  transform: translate(-1px, 1px); }
    100% { clip-path: inset(40% 0 61% 0);  transform: translate(-2px, 2px); }
}

@keyframes glitch-text {
    0%   { text-shadow: 2px 0 #FF00FF, -2px 0 #00FFFF; }
    25%  { text-shadow: -2px 0 #FF00FF, 2px 0 #00FFFF; }
    50%  { text-shadow: 2px -1px #FF00FF, -2px 1px #00FFFF; }
    75%  { text-shadow: -1px 2px #FF00FF, 1px -2px #00FFFF; }
    100% { text-shadow: 2px 0 #FF00FF, -2px 0 #00FFFF; }
}

@keyframes neon-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .7; }
}

@keyframes scan-move {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes border-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0,255,255,.3), inset 0 0 5px rgba(0,255,255,.05); }
    50% { box-shadow: 0 0 20px rgba(0,255,255,.6), inset 0 0 10px rgba(0,255,255,.1); }
}

/* ===== HEADER ===== */
header {
    background: rgba(10,10,15,.97);
    border-bottom: 2px solid #00FFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(0,255,255,.15), 0 2px 0 #FF00FF;
}
/* Scan-line overlay on header */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,255,.03) 2px,
        rgba(0,255,255,.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}
/* Moving scan bar */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00FFFF 20%, #FF00FF 80%, transparent);
    opacity: .5;
    animation: scan-move 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.hd-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    gap: 16px;
    position: relative;
    z-index: 3;
}

/* Logo */
.logo { flex-shrink: 0; position: relative; }
.logo-glow {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 900;
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0,255,255,.6), 0 0 30px rgba(0,255,255,.3), 0 0 60px rgba(0,255,255,.1);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}
.logo:hover .logo-glow {
    animation: glitch-text .3s infinite;
}

/* Main Navigation */
header nav[aria-label="\4E3B\5BFC\822A"] {
    display: flex;
    gap: 0;
    flex: 1;
    overflow: hidden;
    flex-wrap: nowrap;
}
header nav[aria-label="\4E3B\5BFC\822A"] a {
    padding: 8px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: #8892b0;
    white-space: nowrap;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}
header nav[aria-label="\4E3B\5BFC\822A"] a::before {
    content: '//';
    color: #2a2a3a;
    margin-right: 4px;
    font-size: 10px;
}
header nav[aria-label="\4E3B\5BFC\822A"] a:hover {
    color: #00FFFF;
    border-bottom-color: #00FFFF;
    text-shadow: 0 0 8px rgba(0,255,255,.5);
}
header nav[aria-label="\4E3B\5BFC\822A"] a.active {
    color: #00FFFF;
    border-bottom-color: #FF00FF;
    background: rgba(0,255,255,.05);
    text-shadow: 0 0 10px rgba(0,255,255,.6);
}
header nav[aria-label="\4E3B\5BFC\822A"] a.sub {
    font-size: 11px;
    color: #556;
    letter-spacing: 0;
}
header nav[aria-label="\4E3B\5BFC\822A"] a.sub::before { content: '> '; }
header nav[aria-label="\4E3B\5BFC\822A"] a.sub:hover,
header nav[aria-label="\4E3B\5BFC\822A"] a.sub.active {
    color: #FF00FF;
    border-bottom-color: #FF00FF;
    text-shadow: 0 0 8px rgba(255,0,255,.5);
}

/* Header Search */
.hd-search { display: flex; flex-shrink: 0; }
.hd-search input {
    width: 170px;
    height: 32px;
    background: rgba(255,255,255,.03);
    border: 1px solid #2a2a3a;
    border-right: none;
    padding: 0 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #c8d6e5;
    outline: none;
    border-radius: 0;
}
.hd-search input::placeholder { color: #444; }
.hd-search input:focus {
    border-color: #00FFFF;
    box-shadow: 0 0 10px rgba(0,255,255,.2), inset 0 0 10px rgba(0,255,255,.05);
    background: rgba(0,255,255,.03);
}
.hd-search button {
    height: 32px;
    padding: 0 16px;
    background: transparent;
    color: #00FFFF;
    border: 1px solid #00FFFF;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .2s;
    border-radius: 0;
}
.hd-search button:hover {
    background: #00FFFF;
    color: #0a0a0f;
    box-shadow: 0 0 20px rgba(0,255,255,.5), 0 0 40px rgba(0,255,255,.2);
}

/* Mobile Buttons */
.m-btns { display: none; gap: 10px; flex-shrink: 0; margin-left: auto; }
.m-btns button {
    background: none;
    border: 1px solid #2a2a3a;
    cursor: pointer;
    color: #00FFFF;
    padding: 6px;
    transition: all .2s;
}
.m-btns button:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 10px rgba(0,255,255,.3);
}

/* Mobile Search Panel */
.search-panel {
    display: none;
    padding: 12px 16px;
    background: rgba(10,10,15,.98);
    border-bottom: 1px solid #1a1a2e;
}
.search-panel.show { display: flex; gap: 8px; }
.search-panel input {
    flex: 1;
    height: 36px;
    background: rgba(255,255,255,.03);
    border: 1px solid #2a2a3a;
    padding: 0 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: #c8d6e5;
    outline: none;
    border-radius: 0;
}
.search-panel input:focus { border-color: #00FFFF; box-shadow: 0 0 8px rgba(0,255,255,.2); }
.search-panel button {
    height: 36px;
    padding: 0 18px;
    background: transparent;
    color: #00FFFF;
    border: 1px solid #00FFFF;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 0;
}

/* Mobile Navigation */
.m-nav {
    display: none;
    background: rgba(10,10,15,.98);
    border-bottom: 1px solid #1a1a2e;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 6px;
}
.m-nav.show { display: flex; }
.m-nav a {
    padding: 6px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: #8892b0;
    border: 1px solid #2a2a3a;
    border-radius: 0;
}
.m-nav a:hover {
    color: #00FFFF;
    border-color: #00FFFF;
    box-shadow: 0 0 8px rgba(0,255,255,.2);
}
.m-nav a.sub { font-size: 12px; color: #556; border-style: dashed; }

/* ===== MAIN ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}
main > h1 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #00FFFF;
    padding: 10px 0;
    margin-bottom: 14px;
    border-bottom: 2px solid #FF00FF;
    text-shadow: 0 0 10px rgba(0,255,255,.4);
    letter-spacing: 2px;
    position: relative;
}
main > h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #00FFFF;
    box-shadow: 0 0 10px #00FFFF;
}

/* ===== SECTION HEADERS ===== */
.sec-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a2e;
    position: relative;
}
.sec-hd::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #00FFFF, #FF00FF);
    box-shadow: 0 0 10px rgba(0,255,255,.5);
}
.neon-text {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #00FFFF;
    text-shadow: 0 0 8px rgba(0,255,255,.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-left: 16px;
}
.neon-text::before {
    content: '\25C6';
    position: absolute;
    left: 0;
    color: #FF00FF;
    font-size: 10px;
    text-shadow: 0 0 6px rgba(255,0,255,.6);
}
.sec-hd .more {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #FF00FF;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,0,255,.3);
    padding: 3px 10px;
}
.sec-hd .more:hover {
    background: rgba(255,0,255,.1);
    border-color: #FF00FF;
    text-shadow: 0 0 8px rgba(255,0,255,.5);
    box-shadow: 0 0 15px rgba(255,0,255,.2);
}

/* ===== ANGULAR SECTION DIVIDER ===== */
.angle-divider {
    height: 40px;
    background: linear-gradient(135deg, #0a0a0f 33%, transparent 33%) 0 0,
                linear-gradient(225deg, #0a0a0f 33%, transparent 33%) 100% 0;
    background-size: 51% 100%;
    background-repeat: no-repeat;
    position: relative;
    margin: 20px 0;
}
.angle-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #00FFFF, transparent 30%, transparent 70%, #FF00FF);
}

/* ===== VIDEO GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
a.item {
    display: block;
    background: #111119;
    border: 1px solid #1a1a2e;
    overflow: hidden;
    transition: all .3s;
    position: relative;
    border-radius: 0;
}
/* Glitch effect on hover */
a.item:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 15px rgba(0,255,255,.3), 0 0 30px rgba(0,255,255,.1), inset 0 0 15px rgba(0,255,255,.05);
}
a.item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity .1s;
}
a.item:hover::before {
    opacity: 1;
    animation: glitch-clip .2s steps(2) 1;
    background: rgba(0,255,255,.05);
}
/* Corner accents */
a.item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #1a1a2e transparent transparent;
    transition: border-color .3s;
    z-index: 2;
}
a.item:hover::after {
    border-color: transparent #00FFFF transparent transparent;
}
a.item .cover {
    display: block;
    position: relative;
    padding-bottom: 150%;
    overflow: hidden;
    background: #0d0d15;
}
a.item .cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s, filter .4s;
    filter: saturate(.8);
}
a.item:hover .cover img {
    transform: scale(1.08);
    filter: saturate(1.2) brightness(1.1);
}
.cover-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,255,255,.2) 0%, rgba(255,0,255,.05) 30%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    z-index: 1;
}
a.item:hover .cover-glow { opacity: 1; }
a.item .cover .mark {
    position: absolute;
    right: 0;
    top: 0;
    background: #FF00FF;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    padding: 3px 10px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    text-shadow: 0 0 4px rgba(255,255,255,.5);
    z-index: 2;
}
a.item .title {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8892b0;
    font-family: 'Noto Sans SC', sans-serif;
    border-top: 1px solid #1a1a2e;
    transition: all .3s;
}
a.item:hover .title {
    color: #00FFFF;
    text-shadow: 0 0 6px rgba(0,255,255,.3);
    background: rgba(0,255,255,.03);
}

/* ===== FEATURED BANNER (Homepage) ===== */
.featured-banner {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #1a1a2e;
    overflow: hidden;
    background: #111119;
}
.featured-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0,255,255,.02) 1px,
        rgba(0,255,255,.02) 2px
    );
    pointer-events: none;
    z-index: 2;
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}
.featured-main {
    position: relative;
    overflow: hidden;
    display: block;
}
.featured-main .cover {
    position: relative;
    padding-bottom: 120%;
    overflow: hidden;
}
.featured-main .cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.9);
    transition: all .4s;
}
.featured-main:hover .cover img { filter: saturate(1.3) brightness(1.1); transform: scale(1.03); }
.featured-main .feat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 14px 12px;
    background: linear-gradient(to top, rgba(10,10,15,.95) 0%, transparent 100%);
    z-index: 3;
}
.featured-main .feat-label span {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,255,255,.6);
    letter-spacing: 1px;
}

/* ===== CATEGORY TABS ===== */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a2e;
}
.cat-tabs a {
    padding: 5px 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    border: 1px solid #2a2a3a;
    color: #8892b0;
    transition: all .2s;
    letter-spacing: 1px;
    border-radius: 0;
    position: relative;
}
.cat-tabs a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FFFF;
    transition: width .3s;
}
.cat-tabs a:hover::before, .cat-tabs a.active::before { width: 100%; }
.cat-tabs a:hover, .cat-tabs a.active {
    border-color: #00FFFF;
    color: #00FFFF;
    background: rgba(0,255,255,.05);
    box-shadow: 0 0 10px rgba(0,255,255,.15);
}

/* ===== BREADCRUMB ===== */
nav.breadcrumb {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #556;
    padding: 12px 0;
    letter-spacing: 1px;
}
nav.breadcrumb a { color: #00FFFF; }
nav.breadcrumb a:hover { color: #FF00FF; text-shadow: 0 0 6px rgba(255,0,255,.4); }

/* ===== DETAIL PAGE ===== */
.detail {
    display: flex;
    gap: 24px;
    background: #111119;
    border: 1px solid #1a1a2e;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 0;
}
/* Diagonal corner cut */
.detail::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent #0a0a0f transparent transparent;
}
.detail-cover {
    width: 220px;
    flex-shrink: 0;
    position: relative;
    background: #1a1a2e;
}
.detail-cover img {
    width: 100%;
    border: 1px solid #2a2a3a;
}
.detail-cover .cover-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,255,255,.15) 0%, rgba(255,0,255,.05) 40%, transparent 70%);
    pointer-events: none;
}
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 {
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e8e8e8;
    line-height: 1.4;
    border: none;
    padding: 0;
    text-shadow: 0 0 6px rgba(255,255,255,.1);
    letter-spacing: 1px;
}
.score {
    display: inline-block;
    background: transparent;
    color: #FF00FF;
    font-family: 'Orbitron', monospace;
    font-size: 22px;
    font-weight: 900;
    padding: 2px 0;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(255,0,255,.5), 0 0 30px rgba(255,0,255,.2);
}
.meta { margin-bottom: 12px; }
.meta span {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: #8892b0;
    margin-right: 18px;
    margin-bottom: 6px;
    padding: 2px 0;
}
.meta span::before { content: '[ '; color: #2a2a3a; }
.meta span::after { content: ' ]'; color: #2a2a3a; }
.tags {
    margin-bottom: 12px;
    font-size: 13px;
    color: #556;
    font-family: 'Share Tech Mono', monospace;
}
.play-action { margin-top: 14px; }
.btn-play {
    display: inline-block;
    padding: 10px 32px;
    background: transparent;
    color: #00FFFF;
    border: 2px solid #00FFFF;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all .3s;
    position: relative;
    border-radius: 0;
}
.btn-play:hover {
    background: #00FFFF;
    color: #0a0a0f;
    box-shadow: 0 0 30px rgba(0,255,255,.5), 0 0 60px rgba(0,255,255,.2);
}
/* Glitch on hover */
.btn-play:hover::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid #FF00FF;
    animation: glitch-clip .3s steps(3) infinite;
    pointer-events: none;
}
.btn-play.disabled {
    border-color: #2a2a3a;
    color: #444;
    cursor: not-allowed;
}
.btn-play.disabled:hover {
    background: transparent;
    box-shadow: none;
    color: #444;
}
.btn-play.disabled:hover::after { display: none; }

/* ===== EPISODE LIST ===== */
.vod-group { margin-bottom: 14px; }
.vod-name {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #00FFFF;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(0,255,255,.3);
}
.ep-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-btn {
    display: inline-block;
    padding: 5px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    background: transparent;
    border: 1px solid #2a2a3a;
    color: #8892b0;
    transition: all .2s;
    border-radius: 0;
}
.ep-btn:hover {
    border-color: #FF00FF;
    color: #FF00FF;
    box-shadow: 0 0 8px rgba(255,0,255,.2);
}
.ep-btn.active {
    border-color: #FF00FF;
    background: rgba(255,0,255,.12);
    color: #FF00FF;
    box-shadow: 0 0 12px rgba(255,0,255,.3), inset 0 0 8px rgba(255,0,255,.1);
    text-shadow: 0 0 4px rgba(255,0,255,.5);
    animation: neon-pulse 2s ease-in-out infinite;
}

/* ===== DESCRIPTION ===== */
.desc {
    font-size: 13px;
    line-height: 1.9;
    color: #8892b0;
    padding: 12px 0;
}

/* ===== PLAYER ===== */
.player-box { margin-bottom: 20px; }
.player-wrap {
    position: relative;
    background: #000;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid #1a1a2e;
    box-shadow: 0 0 30px rgba(0,0,0,.5), 0 0 2px rgba(0,255,255,.3);
}
.player-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
    color: #8892b0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    z-index: 5;
    gap: 10px;
    letter-spacing: 2px;
}
/* Scan-lines on loading */
.player-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,255,.02) 2px,
        rgba(0,255,255,.02) 4px
    );
    pointer-events: none;
}
.player-loading.hide { display: none; }
.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid #1a1a2e;
    border-top-color: #00FFFF;
    border-right-color: #FF00FF;
    animation: spin .8s linear infinite;
    box-shadow: 0 0 15px rgba(0,255,255,.3), inset 0 0 15px rgba(255,0,255,.1);
}
.video-player { width: 100%; height: 100%; }
.video-player iframe { width: 100%; height: 100%; border: none; }

/* ===== PAGINATION ===== */
.paging { padding: 20px 0; text-align: center; }
.paging ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.paging a, .paging span {
    display: inline-block;
    padding: 5px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    background: transparent;
    border: 1px solid #2a2a3a;
    color: #8892b0;
    transition: all .2s;
    border-radius: 0;
}
.paging a:hover {
    border-color: #00FFFF;
    color: #00FFFF;
    box-shadow: 0 0 8px rgba(0,255,255,.2);
}
.paging .active a, .paging span.current, .paging a.current {
    background: rgba(0,255,255,.1);
    color: #00FFFF;
    border-color: #00FFFF;
    box-shadow: 0 0 12px rgba(0,255,255,.3);
    text-shadow: 0 0 4px rgba(0,255,255,.5);
}
.paging .disabled a { color: #2a2a3a; cursor: default; border-color: #1a1a2e; }

/* ===== SEARCH EMPTY STATE ===== */
.empty {
    text-align: center;
    padding: 50px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 15px;
    color: #556;
    letter-spacing: 1px;
    position: relative;
}
.empty::before {
    content: '> ERROR: NO_RESULTS_FOUND';
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    color: #FF00FF;
    text-shadow: 0 0 10px rgba(255,0,255,.4);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* ===== FOOTER ===== */
footer {
    border-top: 2px solid #FF00FF;
    background: rgba(10,10,15,.97);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}
/* Grid lines background */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00FFFF 30%, #FF00FF 70%, transparent);
    box-shadow: 0 0 10px rgba(0,255,255,.3);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer-links { margin-bottom: 12px; }
.footer-links a {
    color: #556;
    margin: 0 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all .2s;
}
.footer-links a:hover {
    color: #00FFFF;
    text-shadow: 0 0 8px rgba(0,255,255,.4);
}
.footer-inner p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #2a2a3a;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(4, 1fr); }
    .featured-grid { grid-template-columns: repeat(4, 1fr); }
    header nav[aria-label="\4E3B\5BFC\822A"] a.sub { display: none; }
    header nav[aria-label="\4E3B\5BFC\822A"] a { padding: 8px 10px; font-size: 12px; }
}

@media (max-width: 768px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
    header nav[aria-label="\4E3B\5BFC\822A"] { display: none; }
    .hd-search { display: none; }
    .m-btns { display: flex; }
    .detail { flex-direction: column; }
    .detail-cover { width: 180px; margin: 0 auto; }
    .detail::before { border-width: 0 30px 30px 0; }
    .hd-wrap { height: 48px; }
    .logo-glow { font-size: 16px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    main { padding: 10px 8px; }
    .detail { padding: 12px; gap: 14px; }
    .detail-cover { width: 140px; }
    .detail-info h1 { font-size: 17px; }
    .neon-text { font-size: 14px; }
    .ep-btn { padding: 4px 10px; font-size: 11px; }
    .btn-play { padding: 8px 20px; font-size: 12px; letter-spacing: 2px; }
    .sec-hd .more { font-size: 11px; padding: 2px 8px; }
    .logo-glow { font-size: 14px; }
    a.item::after { border-width: 0 14px 14px 0; }
}
