*{box-sizing:border-box}body{margin:0;background:#07090f;color:#f8fafc;font:15px Arial}a{color:#e2e8f0;text-decoration:none}nav{height:64px;background:#0b0f18;display:flex;align-items:center;gap:20px;padding:0 4%;position:sticky;top:0;z-index:5;border-bottom:1px solid #202a3a}nav form{flex:1;max-width:500px}nav input,.form{width:100%;background:#111827;border:1px solid #334155;color:#fff;padding:12px;border-radius:8px}.brand{font-size:21px;font-weight:800}.brand span,footer span{color:#f43f5e}.hero{min-height:560px;background:linear-gradient(90deg,#07090f 10%,#07090faa,#07090f),url('../img/backdrop-demo.jpg') center/cover;display:flex;align-items:center;padding:5%}.hero div{max-width:650px}.hero h1{font-size:clamp(40px,7vw,90px);margin:15px 0}.btn{display:inline-block;padding:12px 18px;border-radius:8px;background:#e11d48;color:#fff;border:0}.container{max-width:1200px;margin:auto;padding:35px 18px}.row{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.card{background:#101521;border-radius:10px;overflow:hidden;transition:.2s}.card:hover{transform:translateY(-5px)}.card img{width:100%;aspect-ratio:2/3;object-fit:cover}.card b,.card small{display:block;padding:7px 10px}.card b{text-transform:capitalize}.muted{color:#94a3b8}.detail{min-height:500px;padding:60px 5%;background:linear-gradient(90deg,#07090fef,#07090fcc,#07090f),url('../img/backdrop-demo.jpg') center/cover}.detail img{width:260px;max-width:100%;border-radius:12px}.grid{display:grid;grid-template-columns:280px 1fr;gap:35px}.panel{background:#101521;padding:28px;border:1px solid #273449;border-radius:14px}.player{width:100%;background:#000;border-radius:12px}.auth{max-width:440px;margin:70px auto;padding:20px}.auth input,.auth button{width:100%;padding:13px;margin:7px 0}.btn{cursor:pointer}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.genre{padding:35px;background:#111827;border-radius:12px;text-align:center;font-weight:bold}footer{max-width:1200px;margin:50px auto;padding:30px 18px;border-top:1px solid #263244;color:#94a3b8}@media(max-width:900px){.row{grid-template-columns:repeat(3,1fr)}nav{flex-wrap:wrap;height:auto;padding:12px}nav form{order:2;flex-basis:100%}.grid{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(2,1fr)}}@media(max-width:500px){.row{grid-template-columns:repeat(2,1fr)}nav{gap:10px}.hero{min-height:470px}}

/* Title / watch experience */
.movie-title{text-transform:capitalize;line-height:1.08;letter-spacing:-.02em}.detail-info{max-width:850px}.detail-poster{box-shadow:0 18px 45px rgba(0,0,0,.35)}.description{line-height:1.75;font-size:16px}.watch-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 28px}.watchlist-form{display:inline-flex;margin:0}.watch-actions .btn{min-height:48px;padding:13px 22px;font-weight:700}.btn-watch{box-shadow:0 8px 22px rgba(225,29,72,.2)}.btn-watchlist{background:#1e293b;border:1px solid #475569}.btn-watchlist:hover{background:#334155}.rating-summary{margin:14px 0;color:#f8fafc}.stars,.star{color:#fbbf24}.review-box{margin-top:28px;background:rgba(8,12,20,.72);border:1px solid #273449;border-radius:14px;padding:22px}.review-box h2{margin-top:0}.rating-form label{display:block;margin-bottom:7px;font-weight:700}.star-picker{display:flex;gap:4px;margin-bottom:18px}.star{background:transparent;border:0;font-size:30px;padding:0 3px;cursor:pointer;line-height:1}.star.selected{color:#f59e0b}.comment-form textarea{width:100%;min-height:110px;resize:vertical;background:#0b1220;border:1px solid #334155;border-radius:9px;color:#fff;padding:13px;margin-bottom:10px}.comments-list{margin-top:24px}.comment{border-top:1px solid #263244;padding:15px 0}.comment strong{display:inline-block;margin-right:10px}.comment small{color:#64748b}.comment p{color:#cbd5e1;line-height:1.6;margin-bottom:0}.related-section{padding-top:10px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{margin-bottom:0}.watch-page{padding-top:25px}.back-link{display:inline-block;margin-bottom:15px;color:#cbd5e1}.video-shell{background:#000;border-radius:14px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.35)}.player{display:block;width:100%;max-height:78vh;min-height:280px;background:#000;object-fit:contain}.watch-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px}.watch-title-row .watch-actions{margin:0}.watch-reviews{margin-top:25px}
@media(max-width:700px){.watch-title-row{display:block}.watch-title-row .watch-actions{margin-top:15px}.watch-actions .btn{flex:1;text-align:center}.watch-actions .watchlist-form{flex:1}.watch-actions .watchlist-form .btn{width:100%}.player{min-height:220px}.detail{padding:35px 0}.detail-poster{width:210px}.section-heading{display:block}.section-heading .muted{display:block;margin-top:5px}}
/* Admin */
.admin-page h1{margin-top:6px}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.admin-form label{display:block;font-weight:700;margin:0 0 7px}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.admin-form-grid .full{grid-column:1/-1}.admin-form textarea{min-height:130px;resize:vertical}.file-input{padding:9px}.checkbox{display:flex!important;align-items:center;gap:8px}.admin-message{padding:14px 16px;border-radius:9px;margin:0 0 18px;border:1px solid #334155}.admin-message.success{background:#0f2a1d}.admin-message.error{background:#35151b}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:12px;border-bottom:1px solid #263244;vertical-align:middle}.admin-thumb{width:55px;height:78px;object-fit:cover;border-radius:6px}.media-ok{color:#86efac}.admin-help{margin-top:25px}@media(max-width:700px){.admin-heading{display:block}.admin-heading .btn{margin-top:12px}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid .full{grid-column:auto}.admin-nav .btn{flex:1;text-align:center}.admin-table th:nth-child(4),.admin-table td:nth-child(4){display:none}}

/* Labafilimu content hierarchy */
.content-structure{margin:24px 0;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.025)}
.content-structure h2{margin-top:0}.content-structure h3{margin:18px 0 10px}.content-structure p{display:inline-block;margin:5px 7px 5px 0}.admin-nav{display:flex;flex-wrap:wrap;gap:9px}.admin-table td form{margin-left:5px}
/* Subscription, offers and responsive form layout */
nav form{display:flex;align-items:center;gap:8px}nav form input{min-width:0;flex:1}.search-button{white-space:nowrap;padding:11px 14px}
.package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;align-items:stretch}.package-card{min-width:0;display:flex;flex-direction:column;gap:10px;padding:24px}.package-card h2{margin:0}.package-price{font-size:27px;font-weight:800;color:#fb7185;margin:5px 0}.package-payment{display:grid;gap:9px;margin-top:8px}.package-payment label{margin:4px 0 0}.package-payment .form{margin:0;min-width:0}.package-payment button{margin-top:8px;width:100%}.dial-box{display:flex;flex-wrap:wrap;gap:9px;align-items:center;border-top:1px solid #334155;padding-top:15px;margin-top:15px}.dial-box strong{flex-basis:100%}.dial-link{padding:9px 13px}.inline-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.inline-actions .form{max-width:210px}.offer-list{display:grid;gap:20px}.offer-card{margin-bottom:5px}.offer-card h2{margin-top:0}.offer-media{display:block;width:100%;max-width:760px;max-height:430px;object-fit:contain;background:#05070b;border-radius:10px;margin:14px 0}.offer-thread{border-top:1px solid #334155;margin-top:20px;padding-top:14px}.offer-message{border-bottom:1px solid #334155;padding:13px 0}.offer-message small{color:#94a3b8}.offer-message p{white-space:normal;line-height:1.55}.offer-reply{display:grid;gap:9px;margin-top:10px}.offer-reply textarea{min-height:80px}.offer-reply button{justify-self:start}#selected-users{margin:12px 0}.admin-form select[multiple]{min-height:150px}.package-grid>.package-card{height:100%}
@media(max-width:700px){.package-grid{grid-template-columns:1fr;gap:16px}.package-card{padding:18px}.inline-actions{min-width:220px}nav form{width:100%}}

/* Package-specific payment details, multiple offer links and unread offer count */
.package-payment-details{display:grid;gap:6px;padding:12px 14px;background:#0b1220;border:1px solid #29374c;border-radius:9px;line-height:1.45}.package-payment-details strong{color:#fda4af}.package-duration{margin:0}.package-admin-form{display:grid;gap:10px}.package-admin-form label{margin-top:5px}.offer-counter{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e11d48;color:#fff;font-size:12px;font-weight:800;line-height:20px;vertical-align:middle}.offer-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0}.offer-links strong{flex-basis:100%}.offer-link-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(220px,2fr) auto;gap:9px;align-items:center;margin:8px 0}.offer-link-row .form{min-width:0}@media(max-width:700px){.offer-link-row{grid-template-columns:1fr}.offer-link-row .btn{justify-self:start}}

/* Subscription page spacing and administrator inbox indicators */
.subscription-summary{margin:0 0 28px;padding:26px 30px;line-height:1.6}
.subscription-summary h2{margin:0 0 10px}
.subscription-requests-panel{margin-top:32px;margin-bottom:28px;padding:26px 30px}
.subscription-requests-panel h2{margin:0 0 18px}
.subscription-table-panel{margin:24px 0;padding:24px}
.subscription-table-panel h2{margin:0 0 16px}
.subscription-edit-panel{margin:22px 0 28px;padding:26px}
.login-nav-button{white-space:nowrap}
.package-login-button{display:block;text-align:center;margin-top:auto}
.tiles{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:700px){.subscription-summary,.subscription-requests-panel,.subscription-table-panel,.subscription-edit-panel{padding:18px;margin-top:18px;margin-bottom:18px}}

/* Icon-only edit/delete actions in subscription tables */
.subscription-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.subscription-row-actions form{margin:0!important}.subscription-icon-action{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #334155;border-radius:8px;background:#111827;color:#e5e7eb;cursor:pointer;text-decoration:none;padding:7px}.subscription-icon-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.subscription-icon-action.edit:hover{color:#93c5fd;border-color:#60a5fa}.subscription-icon-action.delete{color:#fca5a5}.subscription-icon-action.delete:hover{color:#fff;background:#991b1b;border-color:#ef4444}
