/* =========================================================
SEARCH PAGE
========================================================= */

.search-page{
padding:70px 0;
background:#08101d;
min-height:100vh;
}

.search-title{
font-size:48px;
font-weight:900;
line-height:1.1;
letter-spacing:-1px;
margin-bottom:42px;
color:#fff;
}

.search-grid{
display:grid;
grid-template-columns:
repeat(auto-fill,minmax(220px,1fr));
gap:28px;
}

.search-card{
display:block;
}

.search-poster{
position:relative;
overflow:hidden;
border-radius:20px;
aspect-ratio:2/3;
background:#101726;
border:1px solid rgba(255,255,255,.06);
box-shadow:
0 10px 30px rgba(0,0,0,.35);
}

.search-poster img{
width:100%;
height:100%;
object-fit:cover;
transition:
transform .4s ease,
filter .4s ease;
}

.search-card:hover img{
transform:scale(1.06);
filter:brightness(.92);
}

/* =========================================================
OVERLAY
========================================================= */

.search-poster::after{
content:'';
position:absolute;
left:0;
right:0;
bottom:0;
height:55%;
background:
linear-gradient(
to top,
rgba(0,0,0,.92),
transparent
);
pointer-events:none;
}

/* =========================================================
TITLE OVERLAY
========================================================= */

.search-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
z-index:3;
padding:80px 16px 16px;
}

.search-overlay h2{
font-size:18px;
line-height:1.45;
font-weight:800;
color:#fff;
text-shadow:
0 2px 10px rgba(0,0,0,.5);
}

/* =========================================================
TOP BADGES
========================================================= */

.card-badges{
position:absolute;
top:14px;
left:14px;
right:14px;
z-index:5;
display:flex;
justify-content:center;
pointer-events:none;
}

/* =========================================================
TYPE BADGE
========================================================= */

.type-badge{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:110px;
height:36px;
padding:0 20px;
border-radius:999px;
background:rgba(0,0,0,.78);
backdrop-filter:blur(10px);
border:1px solid rgba(255,255,255,.18);
color:#fff;
font-size:13px;
font-weight:900;
letter-spacing:1.2px;
text-transform:uppercase;
box-shadow:
0 6px 18px rgba(0,0,0,.35);
}

/* =========================================================
HD BADGE
========================================================= */

.hd-badge{
position:absolute;
top:12px;
right:12px;
z-index:6;
display:flex;
align-items:center;
justify-content:center;
height:32px;
padding:0 11px;
border-radius:10px;
background:#ffd400;
color:#000;
font-size:12px;
font-weight:900;
letter-spacing:.5px;
box-shadow:
0 6px 16px rgba(0,0,0,.35);
}

/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:768px){

.search-page{
padding:50px 0;
}

.search-title{
font-size:34px;
margin-bottom:28px;
}

.search-grid{
grid-template-columns:
repeat(2,minmax(0,1fr));
gap:18px;
}

.search-overlay{
padding:60px 12px 12px;
}

.search-overlay h2{
font-size:15px;
}

.type-badge{
min-width:88px;
height:30px;
font-size:11px;
padding:0 14px;
}

.hd-badge{
height:28px;
font-size:11px;
}

}