/*
Theme Name: ByProfu Film Clean
Theme URI: https://f-hdonline.ro/
Author: ByProfu
Author URI: https://f-hdonline.ro/
Description: Temă WordPress curată pentru filme, construită de la zero pentru ByProfu Film.
Version: 1.0.0
Text Domain: byprofu-film
*/

html, body { margin: 0; padding: 0; background: #05070b; color: #fff; }
body { font-family: 'Segoe UI', sans-serif; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site { min-height: 100vh; background: #05070b; }
.gp-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5,7,11,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.gp-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.gp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .4px;
    color: #ffd25d;
}
.gp-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.gp-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.gp-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
}
.gp-nav-link:hover,
.gp-nav-link.active {
    background: rgba(255,255,255,.08);
    color: #ffd25d;
}
.gp-main {
    min-height: calc(100vh - 70px);
}
.gp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 50px;
}
.gp-simple-card {
    background: #10151d;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 20px;
}
.gp-page-title {
    font-size: 32px;
    margin: 0 0 18px;
}
.gp-footer {
    border-top: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.68);
    padding: 18px 20px 30px;
    text-align: center;
}
.screen-reader-text {
    position: absolute;
    left: -9999px;
}
@media (max-width: 768px) {
    .gp-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


.gp-header-right{
    display:flex;
    align-items:center;
    gap:16px;
    margin-left:auto;
}
.gp-live-search{
    position:relative;
    min-width:250px;
}
.gp-live-search input{
    width:100%;
    height:44px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:#0c1118;
    color:#fff;
    padding:0 16px;
    outline:none;
    font-size:14px;
    transition:border-color .2s ease, box-shadow .2s ease;
}
.gp-live-search input:focus{
    border-color:#ffd25d;
    box-shadow:0 0 0 3px rgba(255,210,93,.12);
}
.gp-live-search input::placeholder{
    color:rgba(255,255,255,.56);
}
.gp-live-results{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:320px;
    max-height:420px;
    overflow:auto;
    background:#0d131c;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 24px 48px rgba(0,0,0,.38);
    padding:8px;
    display:none;
    z-index:100;
}
.gp-live-results.is-open{
    display:block;
}
.gp-live-result-item{
    display:flex;
    gap:10px;
    align-items:center;
    padding:8px 10px;
    border-radius:14px;
    text-decoration:none;
    transition:background .18s ease;
}
.gp-live-result-item:hover{
    background:rgba(255,255,255,.06);
}
.gp-live-result-poster{
    width:50px;
    height:50px;
    border-radius:10px;
    overflow:hidden;
    flex:0 0 50px;
    background:#151c28;
}
.gp-live-result-poster img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.gp-live-result-meta{
    min-width:0;
}
.gp-live-result-title{
    display:block;
    color:#fff;
    font-weight:800;
    font-size:14px;
    margin-bottom:6px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.gp-live-result-sub{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.gp-live-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:0 8px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:11px;
    font-weight:800;
}
.gp-live-empty{
    padding:14px;
    color:rgba(255,255,255,.7);
    font-size:14px;
}
@media (max-width: 900px){
    .gp-header-right{
        width:100%;
        flex-direction:column;
        align-items:stretch;
    }
    .gp-live-search{
        min-width:0;
        width:100%;
    }
    .gp-live-results{
        width:100%;
        left:0;
        right:auto;
    }
}


.gp-live-result-poster img{
    object-fit:cover;
    object-position:center;
}
.gp-live-result-title{
    margin-bottom:0;
}

/* FORCE 50x50 SEARCH */
.gp-live-result-poster{
    width:50px!important;
    height:50px!important;
    flex:0 0 50px!important;
}
.gp-live-result-poster img{
    width:50px!important;
    height:50px!important;
    object-fit:cover!important;
}
.gp-live-result-item{
    display:flex;
    align-items:center;
    gap:10px;
}
.gp-live-result-title{
    font-size:14px;
    font-weight:700;
    margin:0;
}
