/* 基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style:none;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: #000;
	color: #fff;
	line-height: 1.6;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #ff3d00;
}

img {
	max-width: 100%;
	height: auto;
}

/* 头部样式 */
header {
	background-color: #000;
	border-bottom: 1px solid #222;
}

.header-top .container{
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
}

.logo {
float:left;
}

.logo img {
height: 50px;
}

nav {
flex: 3;
}

.nav-links {
	display: flex;
	list-style: none;
	justify-content: center;
}

.nav-links li {
	position: relative;
	margin: 0 15px;
}

.nav-links a {
	font-size: 16px;
	font-weight: 500;
	padding: 10px 0;
	display: block;
}
.nav-links .active{
color:#ff0000;
}

/* 下拉菜单 */
.dropdown {
position: absolute;
top: 50px;
left: -30px;
background-color: #111;
min-width: 100px;
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.3s ease;
z-index: 9999999;
}

.dropdown li {
	margin: 0;
	border-bottom: 1px solid #222;
}

.dropdown li:last-child {
	border-bottom: none;
}

.dropdown a {
padding: 10px 15px;
font-size: 14px;
text-align:center;
}

.nav-links li:hover .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 搜索框 */
.search {
	float:right;
}

.search-form {
	position: relative;
	width: 100%;
	max-width: 300px;
	height:35px;
	background-color: #1a1a1a;
	border: 1px solid #333;
	border-radius: 20px;
	color: #fff;
	font-size: 14px;
	transition: all 0.3s ease;
	overflow:hidden;
}

.search-input {
	width: 80%;
	float:left;
	padding: 0px 15px;
	height:35px;
	border:0px;
	background:none;
	color:#fff;
}

.search-input:focus {
	outline: none;
	border-color: #ff3d00;
	background-color: #222;
}

.searchbt {
	width: 20%;
	float:right;
	height:35px;
	border:0px;
	color:#fff;
	background:#000;
	cursor:pointer;
}

/* Banner样式 */
.banner {
	position: relative;
	overflow: hidden;
	height: 500px;
}

.banner-slides {
	display: flex;
	width: 100%;
	height: 100%;
}

.banner-slide {
	min-width: 100%;
	height: 100%;
	position: relative;
}

.banner-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8), #000);
}

.banner-title {
	font-size: 32px;
	margin-bottom: 10px;
}

.banner-desc {
	font-size: 16px;
	color: #ddd;
	max-width: 800px;
	margin-bottom: 20px;
}

.banner-btn {
	display: inline-block;
	background-color: #ff3d00;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.banner-btn:hover {
	background-color: #e03600;
	color: #fff;
}

.banner-controls {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
}

.banner-control {
	width: 50px;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	color: #fff;
	font-size: 24px;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-control:hover {
	background-color: rgba(255, 61, 0, 0.8);
}

.banner-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.banner-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.banner-indicator.active {
	background-color: #ff3d00;
	width: 30px;
	border-radius: 5px;
}

/* 主内容区样式 */
main {
	padding: 40px 0;
}

.section-title {
	font-size: 24px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #ff3d00;
	display: inline-block;
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}

.content-card {
	background-color: #111;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.content-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.content-img {
	position: relative;
}
.content-img img{
min-width:100%;
}
.content-rating {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ff3d00;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}

.content-info {
	padding: 15px;
}

.content-title {
	font-size: 16px;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.content-type {
	font-size: 13px;
	color: #999;
}

/* 友情链接 */
.friend-links {
	padding: 30px 0;
	border-top: 1px solid #222;
	border-bottom: 1px solid #222;
	margin-bottom: 30px;
}

.friend-links-title {
	font-size: 20px;
	margin-bottom: 20px;
}

.links-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.link-item {
	padding: 5px 15px;
	background-color: #1a1a1a;
	border-radius: 20px;
	font-size: 14px;
	transition: all 0.3s ease;
}

.link-item:hover {
	background-color: #ff3d00;
	color: #fff;
}

/* 页脚样式 */
footer {
	background-color: #111;
	padding: 40px 0 20px;
}

.footer-content {
	text-align: center;
}

.copyright {
	font-size: 14px;
	color: #999;
	margin-bottom: 15px;
}

.copyright a {
	color: #999;
}

.copyright a:hover {
	color: #ff3d00;
}
.page-title {
	font-size: 28px;
	 margin-top: 30px;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #ff3d00;
	display: inline-block;
}
.page-tj{
	font-size: 15px;
	line-height:56px;
	display: inline-block;
	float:right;
	 margin-top: 30px;
	margin-bottom: 30px;
}
 /* 筛选区域 */
.filters-container {
	background-color: #111;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.filter-title {
	font-size: 18px;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 1px solid #333;
}

.filter-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.filter-group {
	flex: 1;
	min-width: 200px;
}

.filter-label {
	font-weight: 500;
	margin-bottom: 10px;
	display: block;
	color: #ff3d00;
}

.filter-options {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.filter-options li {
	margin-bottom: 5px;
}

.filter-options a {
	color: #ddd;
	font-size: 14px;
	padding: 4px 10px;
	background-color: #1a1a1a;
	border-radius: 4px;
	transition: all 0.3s ease;
	display: inline-block;
}

.filter-options a:hover,
.filter-options a.active {
	color: #fff;
	background-color: #ff3d00;
}

/* 排序区域 */
.sort-bar {
	background-color: #111;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sort-label {
	color: #999;
	font-size: 14px;
}

.sort-options {
	display: flex;
	gap: 15px;
}

.sort-options a {
	font-size: 14px;
	color: #ddd;
	transition: color 0.3s ease;
}

.sort-options a:hover,
.sort-options a.active {
	color: #ff3d00;
}


.content-wrapper {
	display: flex;
	gap: 30px;
}

/* 文章列表区 */
.articles-container {
	flex: 3;
}

.articles-filter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #111;
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 25px;
}

.filter-tabs {
	display: flex;
	gap: 20px;
}

.filter-tab {
	color: #ddd;
	font-weight: 500;
	transition: color 0.3s ease;
}

.filter-tab.active {
	color: #ff3d00;
}

/* 带图片文章样式 */
.articles-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.article-item {
	background-color: #111;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.article-with-image a{
	display: flex;
}

.article-image {
	flex: 0 0 200px;
	max-height:200px;
	overflow:hidden;
}

.article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-content {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.article-category {
	display: inline-block;
	background-color: #ff3d00;
	color: #fff;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 10px;
	align-self: flex-start;
}

.article-title {
	font-size: 20px;
	margin-bottom: 10px;
	transition: color 0.3s ease;
}

.article-item:hover .article-title {
	color: #ff3d00;
}

.article-excerpt {
	color: #999;
	font-size: 14px;
	margin-bottom: 15px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	color: #777;
	font-size: 13px;
}

.meta-author {
	display: flex;
	align-items: center;
	gap: 5px;
}

.author-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #333;
	overflow: hidden;
}

/* 无图片文章样式 */
.article-no-image {
	padding: 20px;
}

/* 侧边栏热门文章 */
.sidebar {
	flex: 1;
}

.sidebar-widget {
	background-color: #111;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.widget-title {
	font-size: 18px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #333;
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 50px;
	height: 1px;
	background-color: #ff3d00;
}

.popular-articles {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.popular-item {
	display: flex;
	gap: 15px;
	transition: transform 0.3s ease;
}

.popular-item:hover {
	transform: translateX(5px);
}

.popular-rank {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	min-width: 20px;
	text-align: center;
}

.popular-item:nth-child(1) .popular-rank,
.popular-item:nth-child(2) .popular-rank,
.popular-item:nth-child(3) .popular-rank {
	color: #ff3d00;
}

.popular-content {
	flex: 1;
}

.popular-title {
	font-size: 14px;
	margin-bottom: 5px;
	transition: color 0.3s ease;
}

.popular-item:hover .popular-title {
	color: #ff3d00;
}

.popular-meta {
	font-size: 12px;
	color: #777;
}

 /* 页码导航 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
		padding: 30px 0;
border-top: 1px solid #222;
border-bottom: 1px solid #222;
margin: 40px 0;
}

.page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding:0px 15px;
	height: 36px;
	border-radius: 4px;
	background-color: #1a1a1a;
	color: #ddd;
	font-size: 14px;
	transition: all 0.3s ease;
}

.page-link:hover {
	background-color: #2a2a2a;
	color: #ff3d00;
}

.page-link.active {
	background-color: #ff3d00;
	color: #fff;
}

.page-link.ellipsis {
	background: transparent;
	cursor: default;
}

.page-link.ellipsis:hover {
	color: #ddd;
	background: transparent;
}

.movie-detail {
	display: flex;
	gap: 30px;
	margin: 40px 0px;
}

.movie-poster {
	flex: 0 0 300px;
}

.movie-poster img {
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.movie-info {
	flex: 1;
}

.movie-title {
	font-size: 32px;
	margin-bottom: 10px;
	color: #fff;
}

.movie-subtitle {
	color: #999;
	margin-bottom: 20px;
	font-size: 18px;
}

.movie-rating {
	display: inline-block;
	background-color: #ff3d00;
	color: #fff;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}

.movie-meta {
	margin-bottom: 30px;
}

.meta-item {
	display: flex;
	margin-bottom: 5px;
}

.meta-label {
	color: #999;
	min-width: 80px;
}

.meta-value {
	color: #ddd;
}

.meta-value a {
	color: #ddd;
}

.meta-value a:hover {
	color: #ff3d00;
	text-decoration: underline;
}

.movie-description {
	background-color: #111;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	line-height: 1.8;
}

.description-title {
	font-size: 20px;
	margin-bottom: 15px;
	color: #ff3d00;
}

.play-buttons {
	display: flex;
	gap: 15px;
	margin-bottom: 40px;
}
.btn:hover {
	background-color: #e03600;
	color: #fff;
}
 .btn {
	display: inline-block;
	background-color: #ff3d00;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 500;
	transition: background-color 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
}

.play-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 25px;
	font-size: 18px;
}

.favorite-btn {
	background-color: #1a1a1a;
	color: #fff;
}

.favorite-btn:hover {
	background-color: #2a2a2a;
	color: #fff;
}

/* 集数列表 */
.episodes-section {
	margin-bottom: 50px;
}

.section-title {
	font-size: 24px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #ff3d00;
	display: inline-block;
}

.episodes-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.episode-item {
	background-color: #1a1a1a;
	border-radius: 4px;
	padding: 10px 15px;
	transition: all 0.3s ease;
   flex: 0 0 calc(20% - 10px);
	text-align: center;
}

.episode-item:hover {
	background-color: #ff3d00;
	transform: translateY(-3px);
	color:#fff;
}

.episode-item.active {
	background-color: #ff3d00;
}

/* 评论区 */
.comments-section {
	margin-bottom: 50px;
}

.mac_comment {
	background-color: #373737;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	border:0px;
}

.smt_wrap {
	margin-bottom: 15px;
}

.smt_wrap .total{
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}
.mac_comment .smt_wrap span{
	color:#fff;
}

.mac_comment .cmt_item {
	background-color: #111;
	border-radius: 8px;
	padding: 20px;
	border:0px;
	margin-bottom: 20px;
	display: inline-block;
}
.mac_comment .item_con .con{
	color:#fff;
}
.mac_pages{
	display:inline-block;
	width:100%;
	text-align:center;
}
.mac_pages .page_link{
background-color: #000;
color:#fff;
border:0px;
}


  /* 播放器区域 */
.player-container {
	position: relative;
	width: 100%;
	background-color: #000;
	margin-bottom: 30px;
}

.player-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 比例 */
}

.player {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 播放页信息区 */
.video-info {
	margin-bottom: 40px;
}

.video-title {
	font-size: 28px;
	margin-bottom: 10px;
}

.video-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 20px;
	color: #999;
	font-size: 14px;
}

.video-rating {
	color: #ff3d00;
	font-weight: bold;
}


.video-description {
	background-color: #111;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	line-height: 1.8;
}

.description-title {
	font-size: 18px;
	margin-bottom: 10px;
	color: #ff3d00;
}


/* 相关推荐 */
.related-section {
	margin-bottom: 40px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.related-item {
	background-color: #111;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.related-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.related-img {
	position: relative;
}

.related-rating {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ff3d00;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 12px;
}

.related-info {
	padding: 12px;
}

.related-title {
	font-size: 14px;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.related-meta {
	font-size: 12px;
	color: #999;
}


/* 文章内容区 */
.article-container {
	flex: 3;
	margin:30px 0px;
}
.article-container+.sidebar{
	margin:30px 0px;
}
.article-header {
	margin-bottom: 30px;
}

.article-category {
	display: inline-block;
	background-color: #ff3d00;
	color: #fff;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 10px;
}

.article-h2 {
	font-size: 32px;
	margin-bottom: 20px;
	line-height: 1.3;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	color: #999;
	font-size: 14px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #222;
}
.article-txt {
	font-size: 16px;
	margin-bottom: 40px;
}
.article-txt *{
	padding:0px !important;
	margin:0px !important;
}
.article-txt p {
	color:#fff !important;
	margin-bottom:10px !important;
}
.article-txt img {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.article-txt a {
	color:#ff0000 !important;
}
.article-txt h2 {
	font-size: 24px;
	margin: 30px 0 20px;
	color: #ff3d00;
}

.article-txt blockquote {
	border-left: 3px solid #ff3d00;
	padding-left: 15px;
	margin: 20px 0;
	color: #bbb;
	font-style: italic;
}

/* 整合后的响应式样式 - 去除重复代码 */
/* 基础响应式规则：适用于所有页面的通用样式 */
@media (max-width: 1200px) {
    /* 首页Banner */
    .banner {
        height: 400px;
    }
    
    /* 列表页/播放页 - 影视卡片网格 */
    .movie-grid,
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    /* 文章列表页 - 带图文章图片宽度 */
    .article-image {
        flex: 0 0 180px;
    }
    
    /* 播放页/内容页 - 集数/播放源宽度 */
    .episode-item {
        flex: 0 0 calc(12.5% - 10px);
    }

    
    /* 播放页 - 相关推荐网格 */
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 992px) {
    /* 所有页面通用 - 头部导航布局调整 */
    .header-top {
        flex-wrap: wrap;
    }
    .header-top .container{
		 flex-wrap: wrap;
	}
    .logo, nav, .search {
        width:100%;
        margin-bottom: 15px;
    }
    .logo{
		text-align:center;
	}
    .search-form {
        max-width: 100%;
    }
    
    /* 首页Banner */
    .banner {
        height: 350px;
    }
    
    .banner-title {
        font-size: 26px;
    }
    
    /* 列表页/播放页 - 影视卡片网格 */
    .movie-grid,
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }
    
    /* 列表页 - 筛选区域间距 */
    .filter-groups {
        gap: 20px;
    }
    
    .filter-group {
        min-width: 150px;
    }
    
    /* 文章列表页 - 布局调整 */
    .content-wrapper {
        flex-direction: column; /* 侧边栏下沉，与文章列表垂直排列 */
    }
    
    .article-image {
        flex: 0 0 220px;
    }
    
    /* 内容页 - 影视详情布局 */
    .movie-detail {
        flex-direction: column; /* 海报与信息垂直排列 */
    }
    
    .movie-poster {
        flex: none;
        max-width: 300px;
        margin: 0 auto 20px; /* 海报居中 */
    }
    
    /* 播放页/内容页 - 集数/播放源宽度 */
    .episode-item {
        flex: 0 0 calc(16.666% - 10px);
    }
    
    /* 文章内容页 - 分享区域位置调整 */
    .article-share {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    /* 所有页面通用 - 导航链接换行 */
    .nav-links {
        flex-wrap: wrap;
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    /* 首页Banner */
    .banner {
        height: 300px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 22px;
    }
    
    .banner-desc {
        font-size: 14px;
        display: none; /* 隐藏Banner描述，节省空间 */
    }
    
    /* 列表页/播放页 - 影视卡片网格 */
    .movie-grid,
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    /* 列表页 - 排序栏布局 */
    .sort-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-group {
        min-width: 100%; /* 筛选条件占满宽度 */
    }
    
    /* 文章列表页 - 筛选栏布局 */
    .articles-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-with-image {
        flex-direction: column; /* 带图文章改为垂直布局 */
    }
    
    .article-image {
        flex: none;
        width: 100%;
        max-height: 200px; /* 限制图片高度 */
    }
    
    /* 播放页/内容页 - 集数/播放源宽度 */
    .episode-item {
        flex: 0 0 calc(20% - 10px);
    }
    
    /* 播放页 - 标题大小 */
    .video-title {
        font-size: 24px;
    }
    
    /* 播放页 - 影视详情布局 */
    .movie-details {
        grid-template-columns: 1fr; /* 详情信息单列排列 */
    }
    
    /* 播放页 - 相关推荐网格 */
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    /* 文章内容页 - 标题大小 */
    .article-title {
        font-size: 26px;
    }

    /* 所有页面 - 页码按钮大小 */
    .page-link {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    /* 首页Banner */
    .banner {
        height: 200px;
    }
    
    .banner-control {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    /* 列表页/播放页 - 影视卡片网格 */
    .movie-grid,
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .movie-title,
    .content-title {
        font-size: 13px; /* 缩小标题字体 */
    }
    
    /* 文章列表页 - 筛选标签换行 */
    .filter-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .article-title {
        font-size: 18px; /* 文章列表标题缩小 */
    }
    
    /* 内容页 - 海报宽度 */
    .movie-poster {
        max-width: 100%; /* 海报占满宽度 */
    }
    
    .movie-title {
        font-size: 22px; /* 影视标题缩小 */
    }
    
    /* 播放页/内容页 - 集数/播放源宽度 */
    .episode-item {
        flex: 0 0 calc(25% - 10px);
        padding: 8px 5px;
        font-size: 14px; /* 缩小集数文字 */
    }
    
    /* 播放页 - 标题大小 */
    .video-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px; /* 板块标题缩小 */
    }
    
    /* 播放页 - 相关推荐网格 */
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    /* 文章内容页 - 元数据布局 */
    .article-meta {
        flex-direction: column;
        gap: 10px; /* 元数据垂直排列 */
    }

    /* 所有页面 - 页码间距 */
    .pagination {
        gap: 5px;
    }
}