:root{--bg: #070709;--bg-2: #0d0d14;--surface: #111119;--surface-2: #16161f;--border: #1e1e2e;--border-2: #2a2a40;--gold: #c9a84c;--gold-light: #e8c96d;--gold-dim: #8a6f30;--text: #f0f0f8;--text-2: #a0a0c0;--text-3: #60607a;--red: #cc3344;--red-dim: #4a1520;--green: #2db87d;--radius: 10px;--radius-lg: 16px;--shadow: 0 4px 24px rgba(0,0,0,.6);--shadow-gold: 0 0 20px rgba(201,168,76,.18);--font: "Cairo", sans-serif}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button{cursor:pointer;font-family:var(--font);border:none;outline:none}input,textarea,select{font-family:var(--font);outline:none}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-2)}::-webkit-scrollbar-thumb{background:var(--border-2);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--gold-dim)}.container{max-width:1280px;margin:0 auto;padding:0 20px}.gold-text{color:var(--gold)}.badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;background:var(--border);color:var(--text-2);border:1px solid var(--border-2)}.badge.active{background:#c9a84c1f;color:var(--gold);border-color:var(--gold-dim)}@keyframes spin{to{transform:rotate(360deg)}}.spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite;margin:60px auto}.divider{height:1px;background:linear-gradient(90deg,transparent,var(--gold-dim),transparent);margin:32px 0}.navbar{position:sticky;top:0;z-index:100;background:#070709eb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}.navbar-logo{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:900;color:var(--gold);letter-spacing:-.5px;flex-shrink:0}.navbar-logo svg{width:28px;height:28px}.search-bar{flex:1;max-width:480px;position:relative}.search-bar input{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:9px 40px 9px 16px;color:var(--text);font-size:14px;transition:border .2s}.search-bar input::placeholder{color:var(--text-3)}.search-bar input:focus{border-color:var(--gold-dim)}.search-bar svg{position:absolute;top:50%;right:12px;transform:translateY(-50%);color:var(--text-3);width:18px;height:18px}.ad-slot{width:100%;min-height:90px;background:var(--surface);border:1px dashed var(--border-2);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;color:var(--text-3);font-size:13px;margin:20px 0}.cats{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin:24px 0 20px;scrollbar-width:none}.cats::-webkit-scrollbar{display:none}.cat-pill{padding:7px 20px;border-radius:24px;border:1px solid var(--border-2);background:var(--surface);color:var(--text-2);font-size:13px;font-weight:600;white-space:nowrap;transition:all .2s;flex-shrink:0}.cat-pill:hover{border-color:var(--gold-dim);color:var(--gold)}.cat-pill.active{background:#c9a84c1f;border-color:var(--gold);color:var(--gold)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.vcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:transform .25s,border-color .25s,box-shadow .25s;cursor:pointer}.vcard:hover{transform:translateY(-4px);border-color:var(--gold-dim);box-shadow:var(--shadow-gold)}.vcard-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--bg-2)}.vcard-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.vcard:hover .vcard-thumb img{transform:scale(1.05)}.vcard-thumb .play-icon{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s;background:#0006}.vcard:hover .play-icon{opacity:1}.play-icon svg{width:52px;height:52px;color:var(--gold);filter:drop-shadow(0 2px 8px rgba(0,0,0,.6))}.vcard-body{padding:14px 16px 16px}.vcard-cat{font-size:11px;font-weight:700;color:var(--gold-dim);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.vcard-title{font-size:14px;font-weight:600;line-height:1.4;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vcard-meta{display:flex;align-items:center;gap:12px;margin-top:10px;font-size:12px;color:var(--text-3)}.section-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.section-header h2{font-size:20px;font-weight:700;color:var(--text)}.section-header .accent-line{flex:1;height:1px;background:linear-gradient(90deg,var(--gold-dim),transparent)}.section-header .gold-dot{width:8px;height:8px;border-radius:50%;background:var(--gold);flex-shrink:0}.footer{border-top:1px solid var(--border);padding:32px 0;margin-top:60px;text-align:center;color:var(--text-3);font-size:13px}.watch-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start;margin-top:28px}@media (max-width: 900px){.watch-layout{grid-template-columns:1fr}}.player-wrapper{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);background:#000;aspect-ratio:16/9}.player-wrapper iframe{width:100%;height:100%;border:none;display:block}.video-info{margin-top:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px}.video-info h1{font-size:20px;font-weight:700;line-height:1.4;margin-bottom:12px}.video-info-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border);color:var(--text-2);font-size:13px}.video-info-desc{margin-top:14px;color:var(--text-2);font-size:14px;line-height:1.7}.related-sidebar h3{font-size:16px;font-weight:700;color:var(--text);margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border)}.related-card{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);cursor:pointer;transition:opacity .2s}.related-card:hover{opacity:.8}.related-thumb{width:110px;flex-shrink:0;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--bg-2)}.related-thumb img{width:100%;height:100%;object-fit:cover}.related-info{flex:1;min-width:0}.related-title{font-size:13px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.related-cat{font-size:11px;color:var(--gold-dim);margin-top:4px}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:40px}.pg-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--border-2);background:var(--surface);color:var(--text-2);font-size:14px;font-weight:600;transition:all .2s}.pg-btn:hover:not(:disabled){border-color:var(--gold-dim);color:var(--gold)}.pg-btn.active{background:var(--gold);border-color:var(--gold);color:var(--bg)}.pg-btn:disabled{opacity:.3;cursor:default}.admin-layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}@media (max-width: 768px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:none}}.admin-sidebar{background:var(--surface);border-right:1px solid var(--border);padding:0;position:sticky;top:0;height:100vh;overflow-y:auto}.admin-sidebar-logo{padding:24px 20px;border-bottom:1px solid var(--border);font-size:18px;font-weight:900;color:var(--gold);display:flex;align-items:center;gap:10px}.admin-nav{padding:16px 12px}.admin-nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:600;color:var(--text-2);transition:all .2s;margin-bottom:4px;cursor:pointer;background:transparent;border:none;width:100%;text-align:right}.admin-nav-item:hover{background:var(--bg-2);color:var(--text)}.admin-nav-item.active{background:#c9a84c1a;color:var(--gold)}.admin-nav-item svg{width:18px;height:18px;flex-shrink:0}.admin-main{padding:28px}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;flex-wrap:wrap;gap:12px}.admin-header h1{font-size:22px;font-weight:700}.stat-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:32px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px}.stat-card-label{font-size:12px;color:var(--text-3);font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-card-val{font-size:32px;font-weight:900;color:var(--gold);margin-top:6px}.form-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px;margin-bottom:28px}.form-card h2{font-size:17px;font-weight:700;margin-bottom:20px;color:var(--gold)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 600px){.form-row{grid-template-columns:1fr}}.form-group{display:flex;flex-direction:column;gap:7px}.form-group label{font-size:13px;font-weight:600;color:var(--text-2)}.form-group input,.form-group textarea,.form-group select{background:var(--bg-2);border:1px solid var(--border-2);border-radius:8px;padding:10px 14px;color:var(--text);font-size:14px;transition:border .2s}.form-group textarea{resize:vertical;min-height:80px}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--gold-dim)}.form-group select option{background:var(--bg-2)}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:8px;font-size:14px;font-weight:700;transition:all .2s;border:1px solid transparent}.btn-gold{background:var(--gold);color:var(--bg)}.btn-gold:hover{background:var(--gold-light)}.btn-outline{background:transparent;border-color:var(--border-2);color:var(--text-2)}.btn-outline:hover{border-color:var(--gold-dim);color:var(--gold)}.btn-red{background:var(--red-dim);color:var(--red);border-color:var(--red)}.btn-red:hover{background:var(--red);color:#fff}.btn-sm{padding:6px 14px;font-size:13px}.btn:disabled{opacity:.5;cursor:default}.admin-table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.admin-table-header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.admin-table-header h2{font-size:16px;font-weight:700}table{width:100%;border-collapse:collapse}thead th{padding:12px 16px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text-3);border-bottom:1px solid var(--border);text-align:right}tbody tr{border-bottom:1px solid var(--border);transition:background .15s}tbody tr:last-child{border-bottom:none}tbody tr:hover{background:var(--bg-2)}tbody td{padding:12px 16px;font-size:14px;vertical-align:middle}.table-thumb{width:60px;height:38px;border-radius:6px;overflow:hidden;background:var(--bg-2);flex-shrink:0}.table-thumb img{width:100%;height:100%;object-fit:cover}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:var(--surface);border:1px solid var(--border-2);border-radius:var(--radius-lg);padding:28px;width:100%;max-width:620px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-header h2{font-size:18px;font-weight:700;color:var(--gold)}.modal-close{background:var(--bg-2);border:1px solid var(--border-2);border-radius:6px;padding:6px;color:var(--text-2);display:flex;transition:all .2s}.modal-close:hover{color:var(--red);border-color:var(--red)}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#0d0d1a 0%,var(--bg) 70%)}.login-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border-2);border-radius:var(--radius-lg);padding:36px 32px;box-shadow:var(--shadow),var(--shadow-gold)}.login-logo{text-align:center;margin-bottom:28px;font-size:26px;font-weight:900;color:var(--gold)}.login-logo p{font-size:13px;color:var(--text-3);font-weight:400;margin-top:6px}.error-msg{background:var(--red-dim);border:1px solid var(--red);color:var(--red);border-radius:8px;padding:10px 14px;font-size:13px;margin-bottom:16px}@media (max-width: 600px){.admin-main{padding:16px}.modal{padding:20px}table{font-size:13px}thead th,tbody td{padding:10px}.watch-layout{gap:16px}}
