/* Netflix-like theme */
*{box-sizing:border-box}html,body{margin:0;padding:0}
body{background:#141414;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto;border:0}

/* Header */
header{position:sticky;top:0;z-index:20;background:rgba(0,0,0,.8);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid #000}
header .nav{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:12px 16px}
header .logo{font-weight:800;color:#e50914;font-size:20px}
header .links{display:flex;gap:12px;flex-wrap:wrap}
header .links a{padding:6px 10px;border-radius:4px;color:#ddd}
header .links a:hover{background:#2a2a2a;color:#fff}
header .actions{margin-left:auto;display:flex;align-items:center;gap:12px}
header .search{height:34px;padding:0 10px;border-radius:4px;border:1px solid #444;background:#1a1a1a;color:#eee}

/* Footer */
footer{padding:24px 0;border-top:1px solid #222;margin-top:40px}
footer .inner{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;color:#999}

/* Layout */
main{max-width:1200px;margin:0 auto;padding:16px}
.page-title{font-size:22px;margin:12px 0}

/* Hero */
.hero{position:relative;height:46vw;max-height:560px;min-height:260px;display:flex;align-items:flex-end;border-radius:8px;overflow:hidden;background:#000;margin:8px 0 16px}
.hero__bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.6)}
.hero__content{position:relative;padding:24px;max-width:800px}
.hero__title{font-size:clamp(22px,4vw,42px);margin:0 0 8px}
.hero__meta{color:#ccc;margin:0 0 8px}
.hero__desc{color:#ddd}
.btn{display:inline-block;padding:10px 16px;border-radius:4px}
.btn--primary{background:#e50914}
.btn--ghost{border:1px solid #aaa;color:#eee;margin-left:8px}

/* Grid */
.grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
@media (max-width:1200px){.grid{grid-template-columns:repeat(5,1fr)}}
@media (max-width:992px){.grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:768px){.grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.grid{grid-template-columns:repeat(2,1fr)}}
.card{position:relative;border-radius:6px;overflow:hidden;background:#222}
.card__img{width:100%;aspect-ratio:2/3;object-fit:cover}
.card__overlay{position:absolute;left:0;right:0;bottom:0;padding:10px;background:linear-gradient(transparent,rgba(0,0,0,.9));font-size:12px}
.card__name{font-weight:600}
.card__meta{color:#bbb;margin-top:2px}
.grid--people .card__img{aspect-ratio:1/1}

/* Filters */
.filters{display:flex;flex-wrap:wrap;gap:8px 10px;margin:8px 0 16px}
.chip{padding:6px 10px;border:1px solid #444;border-radius:999px;color:#ddd}
.chip.active,.chip:hover{background:#e50914;border-color:#e50914;color:#fff}

/* Pager */
.pager{display:flex;justify-content:center;gap:8px;margin:16px 0 0}
.page{padding:6px 10px;border:1px solid #444;border-radius:4px}
.page.active,.page:hover{background:#2a2a2a}

/* Article */
.article{max-width:860px;margin:0 auto}
.article__title{margin:16px 0 8px}
.article__meta{color:#aaa}
.article__content{color:#ddd;line-height:1.8}

/* Detail */
.detail{display:grid;grid-template-columns:220px 1fr;gap:16px;margin:16px 0}
@media (max-width:600px){.detail{grid-template-columns:1fr}}
.detail__poster img{border-radius:6px}
.detail__title{margin:0 0 8px}
.detail__meta{color:#bbb;margin:0 0 6px}
.detail__score{color:#ffd666}
.section{margin:20px 0}
.episodes{display:flex;flex-wrap:wrap;gap:8px}
.ep{display:inline-block;padding:6px 10px;border:1px solid #444;border-radius:4px}
.ep:hover{background:#2a2a2a}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.badge{display:inline-block;padding:4px 8px;border:1px solid #444;border-radius:999px;color:#ddd;font-size:12px;background:#1b1b1b}

/* Netflix base placeholder - move your styles here if需要 */


