:root {
    --bg: #09090b;
    --primary: #8b5cf6;
    --text: #f8fafc;
    --muted: #94a3b8;
    --glass: rgba(20, 20, 25, 0.7);
    --border: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: 60px; }
a { color: inherit; text-decoration: none; }

.navbar { background: var(--glass); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: 1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 24px; flex: 1; margin-left: 40px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.search-form { display: flex; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.search-form input { background: transparent; border: none; padding: 10px 16px; color: var(--text); outline: none; width: 220px; font-size: 14px; }
.search-form button { background: var(--primary); color: #fff; border: none; padding: 0 20px; cursor: pointer; font-weight: 600; }

.container { max-width: 1300px; margin: 30px auto; padding: 0 24px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.sec-head h2 { font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ''; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.sec-head .more { font-size: 14px; color: var(--muted); font-weight: 500; }

.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.v-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #111; display: block; border: 1px solid transparent; transition: 0.3s; }
.v-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.5); }
.v-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.v-card:hover img { transform: scale(1.05); }

.v-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; z-index: 2; }
.v-badge { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.v-time { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); color: #fff; font-size: 12px; font-family: monospace; padding: 3px 8px; border-radius: 4px; z-index: 3; }
.v-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 50px; height: 50px; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; z-index: 3; }
.v-card:hover .v-play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.v-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }

.v-title { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.v-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #cbd5e1; }
.v-meta span { display: flex; align-items: center; gap: 4px; }

.ggw-box { width: 100%; min-height: 90px; background: rgba(255,255,255,0.02); border: 1px dashed var(--border); border-radius: 12px; margin: 24px 0; display: flex; align-items: center; justify-content: center; }

.footer { border-top: 1px solid var(--border); padding: 40px 24px; margin-top: 50px; text-align: center; }
.f-links { margin-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.f-links a { font-size: 14px; color: var(--muted); }
.f-links a:hover { color: var(--text); }
.f-copy { font-size: 13px; color: #64748b; line-height: 1.8; }

.player-wrapper { width: 100%; padding-top: 56.25%; position: relative; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid var(--border); }
.player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin: 24px 0; }
.ep-item { background: rgba(255,255,255,0.05); text-align: center; padding: 12px; border-radius: 8px; font-size: 14px; border: 1px solid var(--border); }
.ep-item:hover { background: var(--primary); border-color: var(--primary); }
.v-article { background: rgba(255,255,255,0.02); padding: 24px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 40px; font-size: 15px; color: var(--muted); line-height: 1.8; }

.mobile-tab { display: none; }

@media (max-width: 900px) {
    .v-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    body { padding-bottom: 80px; }
    .nav-links { display: none; }
    .search-form { width: 100%; margin-top: 16px; display: none; }
    .v-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .v-card { aspect-ratio: 4/3; }
    .v-title { font-size: 14px; }
    .v-badge { font-size: 10px; padding: 3px 6px; }
    
    .mobile-tab { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: rgba(9, 9, 11, 0.9); backdrop-filter: blur(15px); border-top: 1px solid var(--border); z-index: 999; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom); }
    .m-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; flex: 1; }
    .m-item.active { color: var(--primary); }
    .m-item svg { width: 22px; height: 22px; fill: currentColor; }
}