#site-header{position:absolute; top:0; left:0; right:0; background:transparent; padding:5px 30px; z-index:999;}
.home-hero{position:relative; height:620px; overflow:hidden;}
.hero-slide{position:absolute; width:100%; height:100%; background-size:cover; background-position:center; opacity:0; transition:opacity .6s;}
.hero-slide.active{opacity:1;}
.hero-overlay{position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.4) 40%,rgba(0,0,0,.1) 70%,rgba(0,0,0,0) 100%);}
.hero-content{position:absolute; left:80px; top:50%; transform:translateY(-50%); max-width:600px; color:#fff;}
.hero-title{font-size:42px; font-weight:700; margin-bottom:15px;}
.hero-genres span{display:inline-block; background:#ffffff22; padding:6px 12px; border-radius:6px; margin-right:8px; font-size:14px;}
.hero-desc{margin-top:15px; line-height:1.6; opacity:.9;}
.hero-watch-btn{display:inline-block; margin-top:20px; background:#ff2c55; padding:12px 20px; border-radius:8px; color:#fff; text-decoration:none;}
.hero-thumbs{position:absolute; right:60px; bottom:60px; display:flex; gap:10px;}
.hero-thumb{width:100px; height:70px; overflow:hidden; border-radius:6px; cursor:pointer; opacity:.6; transition:.3s;}
.hero-thumb.active{opacity:1; transform:scale(1.1);}
.hero-thumb img{width:100%; height:100%; object-fit:cover;}
.homepage{max-width:1366px; margin-inline:max(5%,(100% - 1366px)/2); margin-bottom:40px;}
.movie-grid2, .related-grid2{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px;}
.movie-card2{position:relative; display:flex; flex-direction:column; text-decoration:none; color:#fff; transition:.2s; min-width:0;}
.movie-card2:hover{transform:translateY(-3px);}
.movie-card-poster2{position:static; width:100%; overflow:hidden; aspect-ratio:2/3; border-radius:6px;}
.movie-card-poster2 img{width:100%; height:100%; object-fit:cover; display:block;}
.movie-card-poster2::after{content:"▶"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) scale(0.8); opacity:0; font-size:28px; transition:.2s;}
.movie-card2:hover .movie-card-poster2::after{opacity:1; transform:translate(-50%,-50%) scale(1);}
.movie-card-title2{margin-top:6px; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width:100%; text-align:center; color:#fff;}
.episode-badge{position:absolute; top:8px; left:8px; background-image:linear-gradient(to bottom, #FCF1D8, #ff7ee5); color:#000; padding:4px 8px; font-size:12px; border-radius:4px; font-weight:600;}
.home-categories{padding:0;}
.section-title{font-size:22px; font-weight:600; margin-bottom:10px;}
.category-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:15px;}
.category-card{display:flex; align-items:center; justify-content:center; height:70px; border-radius:10px; color:#fff; font-weight:600; text-decoration:none; transition:.3s;}
.category-card:hover{transform:translateY(-3px);}
.category-card:nth-child(1){background:linear-gradient(45deg,#3b82f6,#1e3a8a);}
.category-card:nth-child(2){background:linear-gradient(45deg,#22c55e,#065f46);}
.category-card:nth-child(3){background:linear-gradient(45deg,#6366f1,#4f46e5);}
.category-card:nth-child(4){background:linear-gradient(45deg,#14b8a6,#0f766e);}
.category-card:nth-child(5){background:linear-gradient(45deg,#fb7185,#be123c);}
.category-card:nth-child(6){background:linear-gradient(45deg,#a855f7,#6d28d9);}
.vidrelax-section-category{background:#FFFFFF08; border-radius:10px; padding:20px; margin-top:20px;}
.home-section{margin-top:20px;}
.section-inner{display:grid; grid-template-columns:300px 1fr; gap:20px; align-items:start; border-bottom:1px solid rgba(255, 255, 255, 0.05); padding-bottom:10px; margin-bottom:20px;}
.section-left{padding:20px;}
.section-left h2{font-size:26px; font-weight:700; background-image: linear-gradient(to bottom, #FCF1D8, #ff7ee5); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.section-count{margin-top:10px; color:#888; font-size:14px;}
.section-link{display:inline-block; margin-top:15px; color:#fff;}
.section-link:hover{color:#ff7a00;}
.section-right{width:100%;}
.movie-grid{display:grid; gap:18px;}
.grid-6{grid-template-columns:repeat(6,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr) !important;}
.three-grid{display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px;}
.avrelax-three{background:#FFFFFF08; border-radius:10px; padding:20px;}
fieldset{border:1px solid #2a2a2a; padding:20px; border-radius:10px;}
legend{font-size:18px; font-weight:700; padding:0 10px;}
.home-section-person{margin-top:30px;}
.person-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.person-card{background:#FFFFFF08; border-radius:10px; padding:15px;}
.person-title{display:flex; align-items:center; gap:8px; margin-bottom:15px; font-weight:700; font-size:18px; padding-left:12px;}
.person-list{background:#111; padding:15px; border-radius:10px;}
.title-bar{width:4px; background:linear-gradient(180deg, #2ea3ff, #00d084); border-radius: 2px; height:24px; display:inline-block;}
.title-icon{font-size:14px;}
.person-row{display:flex; align-items:center; gap:10px; padding:10px 0; text-decoration:none; color:#fff; border-bottom:1px solid rgba(255, 255, 255, 0.05);}
.person-row:hover{background:#FFFFFF08; border-radius:10px;}
.rank{width:40px; font-size:32px; font-weight:800; text-align:center;}
.rank-1{color:transparent; -webkit-text-stroke: 2px #2ea3ff;}
.rank-2{color:transparent; -webkit-text-stroke: 2px #00d084;}
.rank-3{color:transparent; -webkit-text-stroke: 2px #ff3b30;}
.rank-4{color:transparent; -webkit-text-stroke: 2px #f17e08;}
.rank-5{color:transparent; -webkit-text-stroke: 2px #ed08f1;}
.avatar img{width:55px; height:55px; margin-right:12px; border-radius:8px; object-fit:cover;}
.name{font-size:14px; font-weight:600; padding-bottom:10px; color:#fff;}
.name:hover{color:#e86200;}
.meta{font-size:13px; font-weight:600; color:#aaa;}
.home-top-movies{margin-top:30px;}
.top-movie-title{font-size:26px; font-weight:700; color:#fff; margin-bottom:24px;}
.top-movie-list{display:grid; grid-template-columns:repeat(5,1fr); gap:10px;}
.top-movie-item{position:relative;}
.top-movie-poster{display:block; position:relative; overflow:hidden;}
.top-movie-poster img{width:100%; height:100%; aspect-ratio:2/3; object-fit:cover; display:block; transition:.3s;}
.top-movie-item:nth-child(odd) img{clip-path:polygon(0% 8%,100% 0%,100% 100%,0% 100%); border-bottom-left-radius:18px; border-bottom-right-radius:18px;}
.top-movie-item:nth-child(even) img{clip-path:polygon(0% 0%,100% 8%,100% 100%,0% 100%); border-bottom-left-radius:18px; border-bottom-right-radius:18px;}
.top-movie-poster::after{content:""; position:absolute; inset:0; border:3px solid transparent; pointer-events:none; transition:.25s;}
.top-movie-item:nth-child(odd) .top-movie-poster::after{clip-path:polygon(0% 8%,100% 0%,100% 100%,0% 100%);}
.top-movie-item:nth-child(even) .top-movie-poster::after{clip-path:polygon(0% 0%,100% 8%,100% 100%,0% 100%);}
.top-movie-item:hover .top-movie-poster::after{border-color:#ff4fa3; box-shadow:0 0 18px rgba(255,79,163,.6);}
.top-movie-item:hover img{transform:scale(1.04);}
.top-mv-box{display:flex; gap:10px; margin:10px;}
.top-movie-rank{font-size:64px; font-weight:800; line-height:1; margin-top:10px; background:linear-gradient(180deg,#ff8ac4,#ff4fa3); -webkit-background-clip:text; -webkit-text-fill-color:transparent;}
.top-movie-info{margin-top:6px;}
.top-movie-name{font-size:14px; font-weight:600; color:#fff; line-height:1.3; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; word-break:break-word;}
.top-movie-episode{font-size:12px; color:#9b9b9b; margin:5px;}
.home-dashboard{margin-top:30px;}
.dashboard-grid{display:grid; grid-template-columns:repeat(4,1fr); background-color:#1a0f1e; border:1px solid #2a2a2a; border-radius:10px;}
.dashboard-col{padding:20px; border-left:1px solid #2a2a2a;}
.dashboard-col h3{font-size:16px; margin-top:0px; margin-bottom:20px; color:#fff;}
.dashboard-col h3 svg{margin-right:8px;}
.dashboard-col ul{list-style:none; padding:0; margin:0;}
.dashboard-col li{display:flex; align-items:center; gap:10px; padding:10px; font-size:14px;}
.dashboard-col li:hover{background:#FFFFFF08;}
.dashboard-col li a{font-size:12px; color:#fff; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; word-break:break-word;}
.dashboard-col img{width:36px; height:36px; border-radius:6px; object-fit:cover;}
.rank{width:18px; text-align:center; color:#ff4fa3; font-weight:700;}
.favorite-count{margin-left:auto; font-size:12px; color:#ff4fa3;}
.comment-list li{align-items:flex-start; margin-bottom:4px; border-radius:10px; background-color:#0005;}
.comment-list img{border-radius:50%;}
.comment-list p{margin:2px 0 0; font-size:12px; color:#aaa;}
@media(max-width:1200px){
	.movie-grid2, .related-grid2{grid-template-columns:repeat(4,1fr);}
	.grid-6{grid-template-columns:repeat(3,1fr);}
	.section-inner{grid-template-columns:1fr;}
}
@media(max-width:900px){
	.movie-grid2, .related-grid2{grid-template-columns:repeat(3,1fr);}
	.grid-6{grid-template-columns:repeat(3,1fr);}
	.category-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:480px){
	.home-hero{display:none;}
	.movie-grid2, .related-grid2{grid-template-columns:repeat(2,1fr);}
	.grid-6{grid-template-columns:repeat(2,1fr);}
	.category-grid{grid-template-columns:repeat(2,1fr);}
	.person-grid{display:block;}
	.home-top-movies{display:none;}
	.home-dashboard{display:none;}
	.three-grid{display:none;}
	#site-footer{display:none;}
}
