/*
Theme Name: Hanjeen365
Theme URI: https://หนังจีน365.com
Author: AirFour
Version: 1.1.0
Description: Theme หนังจีน365
Text Domain: hanjeen365
*/

:root{
    --bg:#050505;
    --card:#111111;
    --gold:#f5c542;
    --text:#ffffff;
    --muted:#bdbdbd;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:tahoma,sans-serif;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:95%;
    max-width:1200px;
    margin:auto;
}

.site-header{
    background:#111;
    border-bottom:1px solid #222;
    position:sticky;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    color:var(--gold);
    font-size:28px;
    font-weight:bold;
}

.menu{
    display:flex;
    gap:20px;
}

.menu a{
    color:#ddd;
}

.menu a:hover{
    color:var(--gold);
}

.hero{
    background:#111;
    border-radius:12px;
    padding:30px;
    margin-top:20px;
}

.hero h1{
    font-size:30px;
    margin-bottom:10px;
}

.section-title{
    margin:30px 0 15px;
    padding-left:12px;
    border-left:5px solid var(--gold);
    font-size:24px;
}

.movie-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:15px;
}

.movie-card{
    background:var(--card);
    border-radius:10px;
    overflow:hidden;
}

.movie-card:hover{
    transform:translateY(-3px);
}

.movie-card img{
    width:100%;
    aspect-ratio:2/3;
    object-fit:cover;
}

.movie-title{
    padding:10px;
    font-size:14px;
    line-height:1.5;
}

.ads-box{
    margin:20px 0;
    text-align:center;
}

.site-footer{
    margin-top:40px;
    background:#111;
    padding:30px 0;
    text-align:center;
    color:#aaa;
}

@media(max-width:768px){

    .movie-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero h1{
        font-size:22px;
    }

    .logo{
        font-size:22px;
    }

}
.breadcrumb{
    color:#aaa;
    font-size:14px;
    margin:25px 0 15px;
}

.movie-detail-page{
    background:#151020;
    padding:25px;
    border-radius:14px;
}

.movie-main{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:35px;
}

.movie-poster-box img{
    width:100%;
    border-radius:8px;
}

.movie-info h1{
    color:#ff4545;
    font-size:28px;
    margin:10px 0 20px;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin:20px 0;
}

.info-box{
    background:#2b2338;
    padding:16px;
    border-radius:8px;
}

.info-box span{
    color:#aaa;
    display:block;
    font-size:14px;
}

.info-box strong{
    font-size:22px;
}

.action-row{
    display:flex;
    gap:10px;
    margin:25px 0;
}

.watch-main-btn{
    background:#f04444;
    color:white;
    text-align:center;
    padding:14px;
    border-radius:8px;
    font-weight:bold;
    flex:1;
}

.share-btn{
    background:#3478f6;
    color:white;
    padding:14px 25px;
    border-radius:8px;
    font-weight:bold;
}

.description-box{
    background:#2b2338;
    padding:22px;
    border-radius:8px;
    margin-top:25px;
    line-height:1.8;
}

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

.episode-list a{
    background:#f04444;
    color:#fff;
    padding:10px 15px;
    border-radius:7px;
    font-weight:bold;
}

.player-area{
    margin-top:25px;
}

@media(max-width:768px){
    .movie-main{
        grid-template-columns:1fr;
    }

    .movie-poster-box{
        max-width:260px;
        margin:auto;
    }

    .info-grid{
        grid-template-columns:1fr;
    }
}

.hj-badge{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    color:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.35);
}

.hj-badge-new{
    background:linear-gradient(135deg,#ff3b3b,#ff9f1a);
}

.hj-badge-hot{
    background:linear-gradient(135deg,#ff0055,#ff3b3b);
}

.hj-badge-trending{
    background:linear-gradient(135deg,#8e2de2,#ff0080);
}

.hero-badge{
    position:absolute;
    top:16px;
    left:16px;
    z-index:5;
}

.card-badge{
    position:absolute;
    top:8px;
    left:8px;
    z-index:5;
}