/* Single global stylesheet for all pages */
:root{
  --bg:#0b1224;
  --bg-2:#0e1a36;
  --card:#0f1e3e;
  --text:#e6edf7;
  --muted:#9fb3d1;
  --primary:#3b82f6;
  --accent:#8b5cf6;
  --danger:#ef4444;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:16px}
.header{position:sticky;top:0;z-index:50;background:rgba(11,18,36,.9);backdrop-filter:blur(6px);border-bottom:1px solid #1f2b52}
.header .nav{display:flex;gap:16px;align-items:center;justify-content:space-between}
.header .brand{font-weight:800;font-size:20px;color:#9ec3ff}
.header .menu{display:flex;gap:12px;flex-wrap:wrap}
.header .menu a{padding:8px 12px;border:1px solid #1f2b52;border-radius:999px}
.header .search{display:flex;gap:8px;align-items:center}
.header input[type=search]{padding:8px 12px;border-radius:10px;border:1px solid #1f2b52;outline:none;background:var(--bg-2);color:var(--text);min-width:220px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(min-width:300px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:640px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:900px){.grid{grid-template-columns:repeat(5,1fr)}}
.card{background:var(--card);border:1px solid #1f2b52;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.poster{aspect-ratio:2/3;background:#0b1836;display:flex;align-items:center;justify-content:center;color:#87a1d9;font-size:12px}
.card .meta{padding:10px;display:flex;flex-direction:column;gap:6px}
.badge{display:inline-flex;gap:6px;align-items:center;padding:2px 8px;border-radius:999px;background:#102650;border:1px solid #1f3b6e;font-size:12px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #25407a;border-radius:12px;background:#11306a;color:#fff;cursor:pointer}
.btn:hover{filter:brightness(1.1)}
.btn.primary{background:linear-gradient(135deg,#3b82f6,#22c1f1);border:0}
.btn.danger{background:linear-gradient(135deg,#ef4444,#f97316);border:0}
.footer{border-top:1px solid #1f2b52;opacity:.8;text-align:center;padding:24px;margin-top:32px}
/* Pagination */
.pagination{display:flex;gap:8px;justify-content:center;margin:24px 0}
.pagination a,.pagination span{padding:8px 12px;border:1px solid #1f2b52;border-radius:10px;background:#0d1e3c}
.pagination .active{background:#1b3d7a}
/* Skeleton shimmer */
.skel{background:linear-gradient(90deg,rgba(255,255,255,.06) 25%, rgba(255,255,255,.15) 37%, rgba(255,255,255,.06) 63%);background-size:400% 100%;animation:shimmer 1.2s infinite}
@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
/* Forms */
.form{display:grid;gap:12px;max-width:700px}
.input,select,textarea{padding:10px 12px;border:1px solid #1f2b52;border-radius:10px;background:var(--bg-2);color:var(--text);outline:none}
label{font-weight:600;color:#b8c7e6}
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid #1f2b52;padding:10px;text-align:left}
.protect{user-select:none}


.btn {
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: #555;
}


