* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Helvetica Neue", sans-serif;
	background-color: #f4f4f4;
	color: #333;
	line-height: 1.6;
}

header {
	background-color: #111;
	color: #fff;
	padding: 0.8rem 1rem;
	position: relative;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
}

.logo a {
	color: white;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	background: none;
	border: none;
	color: white;
}

nav {
	display: flex;
	gap: 1rem;
}

nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.95rem;
}

.search-wrapper {
	display: flex;
	align-items: center;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	padding: 0 8px;
}

.search-wrapper input {
	border: none;
	padding: 5px 8px;
	font-size: 0.9rem;
	outline: none;
	width: 120px;
}

.search-wrapper .icon {
	color: #666;
	font-size: 1rem;
	margin-left: 4px;
	cursor: pointer;
}

.popup {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}

.popup-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	width: 80%;
	max-width: 500px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	position: relative;
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.popup-header h3 {
	margin: 0;
	color: #333;
}

.popup-icon {
	width: 50px;
	height: 50px;
}

.popup-body {
	margin-bottom: 20px;
	color: #666;
}

.popup-footer {
	text-align: center;
}

.popup-button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
}

.popup-button:hover {
	background-color: #0056b3;
}

.close {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 20px;
	cursor: pointer;
	color: #aaa;
}

.close:hover {
	color: black;
}

main {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 1rem;
	display: flex;
	gap: 2rem;
}

.content-wrapper {
	display: flex;
	width: 100%;
	gap: 2rem;
}

.main-content {
	flex: 3;
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-right {
	flex: 1;
}

.video-container {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-bottom: 1rem;
	background: #000;
}

.video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6) url('../images/start.png') center center no-repeat;
	background-size: 80px 80px;
	cursor: pointer;
	z-index: 2;
}

h1, h2, h3 {
	margin-bottom: 1rem;
	color: #222;
}

.video-meta {
	color: #777;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.video-meta a {
	color: blue;
	text-decoration: none;
}

.video-meta a:hover {
	text-decoration: underline;
}

.video-description {
	line-height: 1.7;
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.video-description h2 {
	margin-bottom: 1rem;
	color: #222;
	font-size: 1.4rem;
}

.description-section {
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.description-section p {
	margin-bottom: 1rem;
	color: #444;
	line-height: 1.8;
	font-size: 1rem;
}

.description-section p:last-child {
	margin-bottom: 0;
}

.video-info ul {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.video-info li {
	margin-bottom: 0.5rem;
	color: #666;
}

.tag {
	background: #eee;
	border-radius: 4px;
	padding: 0.2rem 0.5rem;
	margin-right: 0.5rem;
	font-size: 0.9rem;
}

.video-actions {
	margin: 1rem 0;
	display: flex;
	align-items: center;
}

.link-copy-container {
	display: flex;
	width: 100%;
	align-items: center;
	border: 1px solid #000;
	border-radius: 4px;
	overflow: hidden;
}

.link-input {
	padding: 0.5rem;
	border: none;
	background-color: #f9f9f9;
	flex: 1;
}

.action-button {
	padding: 0.5rem 1rem;
	background-color: #f0f0f0;
	color: #333;
	border: none;
	border-left: 1px solid #000;
	cursor: pointer;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.action-button:hover {
	background-color: #ffeb3b;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tags a {
	background: #f0f0f0;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	text-decoration: none;
	color: #333;
	font-size: 0.9rem;
	transition: background 0.3s;
}

.tags a:hover {
	background: #e91e63;
	color: #fff;
}

.tagss {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag-item {
	padding: 0.5rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	color: white;
	font-size: 0.9rem;
	transition: opacity 0.3s;
	display: inline-block;
}

.tag-item:hover {
	opacity: 0.8;
}

.special-topic {
	margin: 2rem 0;
}

.topic-item {
	display: flex;
	gap: 1rem;
	background: #f9f9f9;
	padding: 1rem;
	border-radius: 8px;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.topic-item:hover {
	color: #007BFF;
}

.image-container {
	position: relative;
}

.topic-item img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.category-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: rgba(255, 255, 255, 0.7);
	color: #333;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 12px;
	z-index: 10;
}

.topic-info {
	flex: 1;
	min-width: 0;
}

.topic-info h4 {
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.topic-info p {
	font-size: 0.9rem;
	color: #666;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow-wrap: break-word;
	word-break: break-all;
}


@media (max-width: 768px) {
	.topic-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.topic-item img {
		width: 100%;
		height: auto;
		margin-bottom: 1rem;
	}

	.topic-info p {
		-webkit-line-clamp: 2;
	}
}

.video-comments {
	margin: 2rem 0;
}

.comment-input {
	width: 100%;
	height: 80px;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.btn-submit-comment {
	padding: 0.4rem 1rem;
	background-color: #2196f3;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.comment-list {
	margin-top: 1rem;
}

.comment-item {
	display: flex;
	align-items: flex-start;
	padding: 1rem;
	border-bottom: 1px solid #eee;
}

.comment-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 1rem;
	object-fit: cover;
}

.comment-content {
	flex: 1;
}

.comment-header {
	font-size: 0.95rem;
	margin-bottom: 0.2rem;
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.comment-meta {
	font-size: 0.8rem;
	color: #888;
}

.comment-time {
	margin-top: 0.4rem;
	font-size: 0.8rem;
	color: #999;
}

.comment-text {
	font-size: 0.95rem;
	color: #444;
	line-height: 1.4;
}

.card-box {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 1rem;
	margin-bottom: 1rem;
}

.card-box h3 {
	margin-bottom: 0.8rem;
	font-size: 1.1rem;
	border-bottom: 1px solid #eee;
	padding-bottom: 0.5rem;
}

.news-list, .ranking-list, .recommend-list, .comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.news-list li, .ranking-list li, .recommend-list li, .comment-list li {
	margin-bottom: 1rem;
	line-height: 1.6;
	padding: 0.5rem;
	background-color: #f9f9f9;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.news-list li:hover, .ranking-list li:hover, .recommend-list li:hover, .comment-list li:hover {
	background-color: #e9e9e9;
}

.news-list li a, .ranking-list li a, .recommend-list li a {
	color: #333;
	text-decoration: none;
	font-size: 1rem;
	display: block;
}

.news-list li a:hover, .ranking-list li a:hover, .recommend-list li a:hover {
	color: #007BFF;
	text-decoration: underline;
}


.category-1::first-line {
	color: #FF5733;
}

.title-theme {
	position: relative;
	padding-left: 12px;
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: #222;
}

.title-theme::before {
	content: '';
	position: absolute;
	width: 4px;
	background: #e91e63;
	top: 10%;
	left: 0;
	bottom: 10%;
	border-radius: 5px;
	box-shadow: 1px 1px 3px -1px #e91e63;
}

.video-recommend {
	margin: 2rem 0;
}

.recommend-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.recommend-item {
	position: relative;
}

.recommend-item a {
	text-decoration: none;
	color: inherit;
}

.recommend-item a:hover p {
	color: #007BFF;
}

.image-container {
	position: relative;
	display: inline-block;
}

.category-badge {
	position: absolute;
	top: 5px;
	left: 5px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
	z-index: 1;
}

.recommend-item img {
	display: block;
	width: 100%;
	height: auto;
}

.recommend-item:hover {
	transform: translateY(-4px);
}

.recommend-item p {
	padding: 0.5rem;
	font-size: 0.9rem;
	text-align: center;
	color: #666;
	text-decoration: none;
}

.related-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.related-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s;
}

.related-item:hover {
	transform: translateY(-4px);
}

.related-item a {
	text-decoration: none;
	color: inherit;
}

.related-item a:hover .related-info h4 {
	color: #007BFF;
}

.image-container {
	position: relative;
}

.related-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.category-badge {
	position: absolute;
	top: 5px;
	left: 5px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
	z-index: 1;
}

.related-info {
	padding: 0.5rem;
}

.related-info h4 {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	color: inherit;
}

.related-info p {
	font-size: 0.8rem;
	color: #777;
	margin: 0;
}

footer {
	background-color: #111;
	color: #fff;
	padding: 2rem 0;
	font-size: 0.9rem;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-section {
	flex: 1;
	min-width: 250px;
	margin-bottom: 1rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.footer-section.about p {
	margin-bottom: 1rem;
}

.contact-info p {
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
}

.contact-info i {
	margin-right: 0.5rem;
}

.footer-section.links ul {
	list-style: none;
	padding: 0;
}

.footer-section.links ul li {
	margin-bottom: 0.5rem;
}

.footer-section.links ul li a {
	color: #fff;
	text-decoration: none;
}

.footer-section.links ul li a:hover {
	text-decoration: underline;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icons a {
	color: #fff;
	font-size: 1.2rem;
}

.footer-bottom {
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid #333;
	margin-top: 1rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: #fff;
	text-decoration: none;
}

.footer-bottom a:hover {
	text-decoration: underline;
}

#backToTopBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: #e91e63;
	color: white;
	cursor: pointer;
	padding: 10px;
	border-radius: 50%;
	font-size: 18px;
	width: 40px;
	height: 40px;
}

#backToTopBtn:hover {
	background-color: #555;
}

.article-list {
	padding: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.article-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border-bottom: 1px solid #eee;
	padding-bottom: 1.5rem;
}

.article-link {
	text-decoration: none;
	color: inherit;
}

.article-link:hover .article-title {
	color: #007BFF;
}

.article-thumb {
	width: 160px;
	height: 100px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.image-container {
	position: relative;
}

.category-badge {
	position: absolute;
	top: 5px;
	left: 5px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
	z-index: 1;
}

.article-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.article-title {
	font-size: 1.1rem;
	font-weight: bold;
	color: #222;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

.article-desc {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.article-time {
	font-size: 0.8rem;
	color: #999;
}

.update-item {
	display: flex;
	background: #f9f9f9;
	padding: 1rem;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1rem;
	align-items: flex-start;
}

.update-thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	margin-right: 1rem;
}

.update-info {
	flex: 1;
	min-width: 0;
}

.update-link {
	text-decoration: none;
	color: inherit;
}

.update-title {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: bold;
	color: #007BFF;
	text-decoration: underline;
}

.update-desc {
	font-size: 0.8rem;
	color: #666;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow-wrap: break-word;
	word-break: break-all;
}

@media (max-width: 768px) {
	.header-container {
		position: relative;
		padding: 0.5rem 1rem;
		height: 3rem;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.menu-toggle {
		display: block;
		position: absolute;
		left: 1rem;
		top: 0.8rem;
	}

	.logo {
		position: absolute;
		left: 3rem;
		top: 0.8rem;
	}

	.search-wrapper {
		position: absolute;
		right: 1rem;
		top: 0.8rem;
	}

	nav {
		display: none;
		position: static;
		width: 100%;
		margin-top: 3rem;
	}

	nav.show {
		display: flex;
	}

	.content-wrapper {
		flex-direction: column;
	}

	.article-item {
		flex-direction: column;
	}

	.article-thumb {
		width: 100%;
		height: auto;
	}
}

.featured-videos-card {
	margin-bottom: 1rem;
}

.featured-video {
	margin-bottom: 1rem;
}

.video-link {
	text-decoration: none;
	color: inherit;
}

.video-link:hover .video-title {
	color: #007BFF;
}

.video-thumbnail {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
	border-radius: 8px;
}

.video-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	padding: 0.5rem;
	font-size: 1rem;
	text-align: center;
	transition: color 0.3s;
}

body, html {
	margin: 0;
	padding: 0;
	height: 100%;
}

.content {
	min-height: 100vh;
	padding-bottom: 80px;
}

.bottom-ad {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	background-color: #fff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	text-align: center;
	transition: transform 0.3s ease;
}

@media (max-width: 768px) {
	.bottom-ad {
		display: block;
	}

	.bottom-ad.hide {
		transform: translateY(100%);
	}
}

.bottom-ad img {
	max-width: 100%;
	height: auto;
	display: block;
}

.breadcrumb {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.breadcrumb span {
	margin: 0 5px;
}

.breadcrumb a {
	text-decoration: underline;
	color: inherit;
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: blue;
}

.separator {
	color: #999;
	font-weight: normal;
}

.episode-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.episode-button {
	background: linear-gradient(145deg, #4facfe, #00f2fe);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.episode-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.show-more-button {
	background: linear-gradient(145deg, #4facfe, #00f2fe);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: none;
	margin: 10px auto;
}

.show-more-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
