 /* 全局样式 - 搜狗偏好简洁风格 */
 * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
	line-height: 1.7;
	color: #333;
	background-color: #f5f5f5;
	font-size: 15px;
}

a {
	text-decoration: none;
	color: #1e50a2;
}

a:hover {
	text-decoration: underline;
	color: #e4393c;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* 布局容器 */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}

/* 头部样式 */
header {
	background-color: #1a1a1a;
	color: white;
	padding: 12px 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 24px;
	font-weight: bold;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin: 0 12px;
	font-size: 15px;
}

nav ul li a {
	color: white;
}

/* 面包屑导航 - 搜狗重视 */
.breadcrumb {
	padding: 12px 0;
	font-size: 14px;
	color: #666;
	background: #f0f0f0;
	margin-bottom: 15px;
}

.breadcrumb a {
	color: #555;
}

/* 主要内容区 */
.movie-detail-container {
	background: white;
	padding: 20px;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

/* 影视标题区 */
.movie-header {
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.movie-title {
	font-size: 24px;
	color: #333;
	font-weight: bold;
	margin-bottom: 5px;
}

.movie-subtitle {
	font-size: 16px;
	color: #666;
	margin-bottom: 15px;
}

.movie-meta {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
	font-size: 14px;
	color: #666;
}

.meta-item {
	margin-right: 25px;
	margin-bottom: 8px;
}

.meta-label {
	color: #999;
	margin-right: 5px;
}

/* 评分样式 - 吸引点击 */
.movie-rating {
	color: #ff9900;
	font-weight: bold;
	font-size: 18px;
}

/* 播放按钮区 */
.play-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}

.play-btn {
	padding: 10px 25px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s;
}

.play-btn-primary {
	background: #e4393c;
	color: white;
}

.play-btn-primary:hover {
	background: #c81623;
	transform: translateY(-2px);
}

.play-btn-secondary {
	background: #f0f0f0;
	color: #555;
}

.play-btn-secondary:hover {
	background: #ddd;
}

/* 剧情简介 */
.movie-intro {
	margin: 25px 0;
	line-height: 1.8;
}

.movie-intro h2 {
	font-size: 18px;
	color: #333;
	border-left: 4px solid #e4393c;
	padding-left: 10px;
	margin-bottom: 15px;
}

.movie-intro p {
	margin-bottom: 15px;
	text-indent: 2em;
}

/* 演职员表 */
.cast-section {
	margin: 30px 0;
}

.cast-section h2 {
	font-size: 18px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.cast-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.cast-item {
	flex: 0 0 calc(16.666% - 15px);
	text-align: center;
}

.cast-photo {
	width: 100%;
	height: 0;
	padding-bottom: 150%;
	overflow: hidden;
	border-radius: 5px;
	margin-bottom: 8px;
	background: #f0f0f0;
}

.cast-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cast-name {
	font-weight: bold;
	font-size: 14px;
}

.cast-role {
	font-size: 12px;
	color: #666;
}

/* 剧集列表 - 针对电视剧 */
.episode-section {
	margin: 30px 0;
	display: none; /* 默认隐藏，电视剧才显示 */
}

.episode-section h2 {
	font-size: 18px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.episode-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.episode-item {
	flex: 0 0 calc(10% - 10px);
	padding: 8px 0;
	text-align: center;
	background: #f9f9f9;
	border-radius: 3px;
	transition: all 0.3s;
}

.episode-item:hover {
	background: #f0f0f0;
}

/* 推荐影视 */
.recommendations {
	margin: 35px 0;
}

.recommendations h2 {
	font-size: 18px;
	color: #333;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.recommend-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.recommend-item {
	flex: 0 0 calc(20% - 15px);
	background: white;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: all 0.3s;
}

.recommend-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transform: translateY(-5px);
}

.recommend-cover {
	height: 0;
	padding-bottom: 150%;
	overflow: hidden;
	position: relative;
}

.recommend-cover img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.recommend-item:hover .recommend-cover img {
	transform: scale(1.05);
}

.recommend-info {
	padding: 12px;
}

.recommend-title {
	font-weight: bold;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 15px;
}

.recommend-meta {
	font-size: 13px;
	color: #666;
}

/* 下载区域 - 搜狗用户常搜索下载 */
.download-section {
	margin: 30px 0;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 5px;
}

.download-section h2 {
	font-size: 18px;
	color: #333;
	margin-bottom: 15px;
}

.download-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.download-btn {
	padding: 8px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: white;
	color: #333;
	transition: all 0.3s;
}

.download-btn:hover {
	border-color: #e4393c;
	color: #e4393c;
}

/* 页脚 */
footer {
	background: #1a1a1a;
	color: #ccc;
	text-align: center;
	padding: 25px 0;
	margin-top: 30px;
	font-size: 14px;
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.footer-links a {
	color: #ccc;
	margin: 0 15px;
}

.copyright {
	color: #999;
}

/* 响应式设计 */
@media (max-width: 992px) {
	.cast-item {
		flex: 0 0 calc(20% - 15px);
	}
	
	.episode-item {
		flex: 0 0 calc(12.5% - 10px);
	}
	
	.recommend-item {
		flex: 0 0 calc(25% - 15px);
	}
}

@media (max-width: 768px) {
	.header-container {
		flex-direction: column;
	}
	
	.logo {
		margin-bottom: 10px;
	}
	
	.cast-item {
		flex: 0 0 calc(25% - 15px);
	}
	
	.episode-item {
		flex: 0 0 calc(16.666% - 10px);
	}
	
	.recommend-item {
		flex: 0 0 calc(33.333% - 15px);
	}
}

@media (max-width: 576px) {
	.cast-item {
		flex: 0 0 calc(33.333% - 15px);
	}
	
	.episode-item {
		flex: 0 0 calc(25% - 10px);
	}
	
	.recommend-item {
		flex: 0 0 calc(50% - 15px);
	}
	
	.play-actions {
		justify-content: center;
	}
	
	.play-btn {
		flex: 1;
		text-align: center;
	}
}