/* =========================
   WaveShort KR Version
   Mobile First
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
-webkit-tap-highlight-color:transparent;
}

body{
background:#000;
color:#fff;
font-family:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
sans-serif;
max-width:480px;
margin:auto;
overflow-x:hidden;
}

/* =========================
   Header
========================= */

.header{
padding:15px;
background:#111;
text-align:center;
position:sticky;
top:0;
z-index:999;
}

.logo{
height:60px;
max-width:220px;
object-fit:contain;
}

/* =========================
   Search
========================= */

.search{
padding:15px;
}

.search input{
width:100%;
height:46px;
border:none;
border-radius:12px;
padding:0 15px;
font-size:15px;
background:#1a1a1a;
color:#fff;
}

.search input::placeholder{
color:#999;
}

/* =========================
   Banner
========================= */

.banner{
padding:0 15px;
}

.slider{
position:relative;
overflow:hidden;
border-radius:15px;
}

.slide{
display:none;
position:relative;
}

.slide.active{
display:block;
}

.slide img{
width:100%;
height:220px;
object-fit:cover;
border-radius:15px;
}

.banner-text{
position:absolute;
left:20px;
bottom:20px;
}

.banner-text h2{
font-size:22px;
margin-bottom:10px;
text-shadow:0 0 10px rgba(0,0,0,.8);
}

.banner-text button{
background:#ffb800;
border:none;
padding:10px 18px;
border-radius:20px;
font-weight:bold;
cursor:pointer;
}

/* =========================
   Home Sections
========================= */

section{
padding:20px 15px;
}

section h2{
font-size:20px;
margin-bottom:15px;
}

.card-row{
display:flex;
gap:12px;
overflow-x:auto;
scrollbar-width:none;
}

.card-row::-webkit-scrollbar{
display:none;
}

.card{
min-width:140px;
}

.card img{
width:140px;
height:190px;
border-radius:10px;
object-fit:cover;
background:#222;
}

.card p{
margin-top:8px;
font-size:14px;
line-height:1.4;
}

/* =========================
   Drama Detail Page
========================= */

.drama-cover img{
width:100%;
height:280px;
object-fit:cover;
}

.drama-info{
padding:15px;
}

.drama-info h1{
font-size:24px;
margin-bottom:8px;
}

.drama-info p{
line-height:1.6;
color:#ddd;
}

.desc{
margin-top:15px;
}

.action-btns{
display:flex;
gap:10px;
margin:15px 0;
}

.action-btns button{
flex:1;
height:44px;
border:none;
border-radius:10px;
font-size:15px;
font-weight:bold;
cursor:pointer;
}

.action-btns button:first-child{
background:#ff4d6d;
color:#fff;
}

.action-btns button:last-child{
background:#333;
color:#fff;
}

.episode-title{
padding:0 15px;
margin-top:10px;
}

.episode-list{
display:flex;
flex-wrap:wrap;
gap:10px;
padding:15px;
}

.ep{
width:72px;
height:42px;
background:#222;
border-radius:10px;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
color:#fff;
font-size:14px;
}

.ep.free{
background:#ffb800;
color:#000;
font-weight:bold;
}

.lock{
background:#444;
color:#999;
}

/* =========================
   Watch Page
========================= */

.watch-page{
background:#000;
}

.video-wrap{
position:relative;
width:100%;
height:100vh;
background:#000;
}

.video-wrap video{
width:100%;
height:100vh;
object-fit:contain;
background:#000;
}

/* =========================
   Right Buttons
========================= */

.video-actions{
position:fixed;
right:10px;
bottom:120px;
display:flex;
flex-direction:column;
gap:15px;
z-index:999;
}

.video-actions button{
width:60px;
height:60px;
border:none;
border-radius:50%;
background:#222;
color:#fff;
font-size:12px;
cursor:pointer;
}

/* =========================
   Episode Panel
========================= */

.episode-panel{
position:fixed;
bottom:-100%;
left:0;
width:100%;
height:55%;
background:#111;
border-top-left-radius:20px;
border-top-right-radius:20px;
transition:.35s;
z-index:9999;
overflow-y:auto;
}

.episode-panel.show{
bottom:0;
}

.episode-panel h3{
padding:20px;
font-size:18px;
}

.episode-grid{
display:flex;
flex-wrap:wrap;
gap:10px;
padding:15px;
}

.episode-grid button{
width:72px;
height:42px;
border:none;
border-radius:10px;
background:#222;
color:#fff;
cursor:pointer;
}

.episode-grid button:hover{
background:#ffb800;
color:#000;
}

/* =========================
   VIP Modal
========================= */

.vip-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.85);
justify-content:center;
align-items:center;
z-index:10000;
}

.vip-box{
width:90%;
max-width:360px;
background:#fff;
color:#000;
padding:25px;
border-radius:20px;
text-align:center;
}

.vip-box h2{
margin-bottom:15px;
}

.vip-box p{
margin-bottom:20px;
line-height:1.6;
}

.vip-box button{
width:100%;
height:48px;
margin-top:10px;
border:none;
border-radius:12px;
font-size:16px;
font-weight:bold;
cursor:pointer;
}

.vip-box button:first-of-type{
background:#ffb800;
color:#000;
}

.vip-box button:last-of-type{
background:#ddd;
}

/* =========================
   Bottom Nav
========================= */

.bottom-nav{
position:fixed;
bottom:0;
left:50%;
transform:translateX(-50%);
width:100%;
max-width:480px;
height:65px;
background:#111;
border-top:1px solid #333;
display:flex;
justify-content:space-around;
align-items:center;
z-index:999;
}

.bottom-nav a{
display:flex;
flex-direction:column;
align-items:center;
text-decoration:none;
color:#fff;
font-size:20px;
}

.bottom-nav span{
font-size:11px;
margin-top:2px;
}

/* =========================
   Responsive
========================= */

@media (min-width:481px){

body{
border-left:1px solid #222;
border-right:1px solid #222;
}

}

.slider{
position:relative;
overflow:hidden;
border-radius:16px;
}

.slide{
display:none;
}

.slide.active{
display:block;
}

.slide img{
width:100%;
display:block;
border-radius:16px;
}
