@charset "utf-8";
/* CSS Document */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body,h1,h2,h3,h4,h5,h6,input,form,dd,dt,dl,ul,li,img,p,em,span,a,tr,td,th,select{font-family: "微软雅黑";padding:0; margin:0;-webkit-font-smoothing: subpixel-antialiased}
ul,li{ list-style:none;}
em{font-style: inherit;}
a{ text-decoration:none;}
a:hover{color:#3e7ced;}
fieldset,img{ border: 0;}
img{ vertical-align:middle;}
button{border: none;background: none;}
html{

	background: linear-gradient(to right, #41305a, #2c0b59);

  }
body{
	font-size:12px;
	font-family:msyh,"微软雅黑";
	background: #200045 url(../image/banner.jpg?v6) no-repeat top center;
	background-size: 100% auto;
}





 .news-section .container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 15px;
	 
}


.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	 
}

/* Banner 占位区：1920 下固定 600px，随窗口等比缩小；完整背景在 body 上 */
.banner {
	width: 100%;
	max-width: 100%;
	height: 35.25vw; /* 600 / 1920 */
	max-height: 650px;
	margin: 0 auto;
	overflow: hidden;
	background: none;
}

.banner img {
	width: 100%;
	height: auto;
	display: block;
}

/* 新闻部分 */
.news-section {
	background-color: #fff;
	padding: 30px 0;
	margin: 20px auto;
	max-width: 1200px;
	height: 540px;
	background: url(../image/news.png) no-repeat top center;
	background-size: 100% auto;
}

.news-section h2{
	text-align: center;
    padding-top: 18px;
}

.news-section h2 img{
	width: 300px;
}
.news-list h2 {
	font-size: 20px;
}


.back-button::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid #9800be;
    border-bottom: 2px solid #9800be;
    transform: rotate(45deg);
    margin-left: 4px;
 
}



.news-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	padding-top: 38px;
}

.news-image {
	flex: 0 0 450px;
}

.news-image img {
	width: 450px;
	height: 240px;
	object-fit: cover;
	border-radius: 8px;
}

.news-list {
	flex: 1;
}

.news-list h2 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #333;
}

.news-loading{
	color: #fff;
}

.news-item {
	padding: 13px 0;
	border-bottom: 1px solid #9800be;
	cursor: pointer;
	transition: all 0.3s;
}

.news-item:hover {
	background-color: #9800be;
	padding-left: 10px;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item-title {
	font-size: 16px;
	color: #333;
}

.news-item-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}

.news-item-title a:hover {
	color: #fff;
}

.news-more-wrapper {
	text-align: right;
	margin-top: 15px;
}

.news-more-link {
	display: inline-block;
	padding: 5px 8px;
	border-radius: 16px;
	font-size: 12px;
	color: #fff;
	
	text-decoration: none;
	transition: opacity 0.3s;
}

.news-more-link:hover {
	opacity: 0.85;
	color: #dbdbdb;

}

/* 内容区 */
.content-section {
	
	padding: 30px 0;
	margin: 20px auto;
	max-width: 1200px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e47aff;
    justify-content: flex-start;
}

.tab-btn {
	padding: 12px 30px;
	background: none;
	border: none;
	font-size: 18px;
	color: #e47aff;
	cursor: pointer;
	position: relative;
	transition: all 0.3s;
	font-size: 32px;
    font-weight: bold;
}

.tab-btn.active {
	color: #eef42c;
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #eef42c;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

/* 比赛公告 */
.announcement-box {
	background-color: #fff;
	border-radius: 8px;
	padding: 30px 40px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	line-height: 1.8;
	color: #333;
}

.announcement-main-title {
	font-size: 24px;
	color: #7c3e91;
	text-align: center;
	margin-bottom: 20px;
	font-weight: bold;
	line-height: 1.5;
}

.announcement-intro {
	font-size: 16px;
	color: #555;
	text-indent: 2em;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #e47aff;
}

.announcement-section {
	margin-bottom: 24px;
}

.announcement-tag {
	display: inline-block;
	background: linear-gradient(135deg, #9800be, #e47aff);
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	padding: 6px 18px;
	border-radius: 4px;
	margin-bottom: 12px;
}

.announcement-subtag {
	display: inline-block;
	background-color: #f3e5f9;
	color: #7c3e91;
	font-size: 16px;
	font-weight: bold;
	padding: 4px 14px;
	border-radius: 4px;
	border-left: 4px solid #9800be;
	margin-bottom: 10px;
}

.announcement-section p,
.announcement-subsection p {
	font-size: 15px;
	color: #444;
	margin-bottom: 8px;
	text-indent: 2em;
}

.announcement-section ol,
.announcement-section ul,
.announcement-subsection ol {
	font-size: 15px;
	color: #444;
	padding-left: 2em;
	margin-bottom: 8px;
}

.announcement-section li,
.announcement-subsection li {
	margin-bottom: 6px;
	line-height: 1.8;
}

.announcement-subsection {
	margin-top: 16px;
	margin-left: 0;
}

.announcement-note {
	color: #9800be !important;
	font-size: 14px !important;
}

.announcement-box a {
	color: #9800be;
	text-decoration: underline;
}

.announcement-box a:hover {
	color: #7c3e91;
}

.announcement-img-wrap {
	text-align: center;
	margin: 16px 0;
}

.announcement-img {
    display: block;
    max-width: 100%;
    width: 15%;
    height: auto;
 
}

/* 素材下载 */
.material-search-bar {
	display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
}

.material-search-wrapper {
	position: relative;
	flex: 0.3;
	display: flex;
	align-items: center;
}

.material-search-input {
	width: 100%;
	padding: 10px 45px 10px 15px;
	border: 2px solid #e47aff;
	border-radius: 4px;
	font-size: 16px;
	color: #333;
	outline: none;
	transition: border-color 0.3s;
}

.material-search-input:focus {
	border-color: #9800be;
}

.material-search-icon-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	color: #9800be;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s;
}

.material-search-icon-btn:hover {
	color: #7c3e91;
}

.material-search-icon-btn svg {
	width: 20px;
	height: 20px;
}

.material-show-all-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: bold;
}

.material-show-all-btn {
	background-color: #e47aff;
	color: #fff;
}

.material-show-all-btn:hover {
	background-color: #d633ff;
}

.material-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.material-item {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s;
}

.material-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.material-image-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3; /* 固定比例，PC和移动端保持一致 */
	overflow: hidden;
}

.material-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s;
}

.material-item:hover .material-image {
	opacity: 0.5;
}

.material-buttons {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.material-item:hover .material-buttons {
	opacity: 1;
	visibility: visible;
}

/* 移动设备点击后显示按钮 */
.material-item.active .material-buttons {
	opacity: 1;
	visibility: visible;
}

.material-item.active .material-image {
	opacity: 0.5;
}

.material-info {
	padding: 15px;
}

.material-name {
	font-size: 16px;
	color: #333;
	margin-bottom: 0;
	height: 40px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

.btn {
	flex: 1;
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s;
}

.btn-preview {
	background-color: #007bff;
	color: #fff;
	white-space: nowrap;
}

.btn-preview:hover {
	background-color: #0056b3;
}

.btn-download {
	background-color: #28a745;
	color: #fff;
	white-space: nowrap;
}

.btn-download:hover {
	background-color: #218838;
}

/* 作品展示 */
.works-search-filter-wrapper {
	margin-bottom: 30px;
	display: flex;
    justify-content: space-between;
}

.works-search-bar {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	align-items: center;
}

.works-search-wrapper {
	position: relative;
	flex: 1;
	max-width: 400px;
	display: flex;
	align-items: center;
}

.works-search-input {
	width: 100%;
	padding: 10px 45px 10px 15px;
	border: 2px solid #e47aff;
	border-radius: 4px;
	font-size: 16px;
	color: #333;
	outline: none;
	transition: border-color 0.3s;
}

.works-search-input:focus {
	border-color: #9800be;
}

.works-search-icon-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	color: #9800be;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s;
}

.works-search-icon-btn:hover {
	color: #7c3e91;
}

.works-search-icon-btn svg {
	width: 20px;
	height: 20px;
}

.works-filter {
	display: flex;
	gap: 15px;
	flex-direction: row-reverse;
}

.filter-btn {
	padding: 10px 10px;
	/* background-color: #f5f5f5; */
	/* border: 1px solid #ddd; */
	border-radius: 20px;
	cursor: pointer;
	font-size: 20px;
	color: #9867dd;
	transition: all 0.3s;
}

.filter-btn:hover {
	/* background-color: #e9e9e9; */
	border-color: #007bff;
}

.filter-btn.active {
	/* background-color: #007bff; */
	color: #fff;
	/* border-color: #007bff; */
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.work-item.hidden {
	display: none;
}

.work-item {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: transform 0.3s;
	display: flex;
	flex-direction: column;
}

.work-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.work-item img.work-image,
.work-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 2;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}

.work-info {
	padding: 10px 10px;
}

.work-name {
	font-size: 18px;
	color: #333;
	margin-bottom:5px;
	font-weight: bold;
}

.work-author {
	font-size: 14px;
	color: #666;
	margin-bottom: 2px;
}

.work-country {
	font-size: 14px;
	color: #999;
	margin-bottom: 2px;
}

.work-tickets {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}

/* 视频弹窗 */
.video-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.video-modal.active {
	display: flex;
}

.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1000px;
	background-color: #000;
	border-radius: 8px;
	overflow: hidden;
}

.video-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background-color: rgba(255,255,255,0.8);
	border: none;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.video-modal-close:hover {
	background-color: #fff;
}

.video-modal iframe {
	width: 100%;
	height: 600px;
	border: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.announcement-img {
		display: block;
		max-width: 100%;
		width: 50%;
		height: auto;
		/* margin: 0 auto; */
	}

}

@media (max-width: 768px) {
	.new=s-content { 

		flex-direction: column;
	}

	.news-image {
		flex: none;
		width: 100%;
	}
	.video-header-content {
		display: flex;
		flex-direction: column;
	}
	.works-search-filter-wrapper {
		margin-bottom: 30px;
		display: flex;
    justify-content: space-between;
    flex-direction: column;
	}

	.material-search-wrapper{
		width: 100%;

	}

	.announcement-img {
		display: block;
		max-width: 100%;
		width: 50%;
		height: auto;
		/* margin: 0 auto; */
	}

	.news-image img {
		width: 100%;
		height: auto;
		max-width: 450px;
	}
	.video-title{
		width: 91%;
	}

	.back-button {
 
position: absolute;
left: 6%;
top: 112px;
	}



.news-image{
	display: none;
}
	.material-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.works-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.banner {
		width: 100%;
		max-width: 100%;
		height: 31.25vw;
		max-height: none;
		margin: 0 auto;
		overflow: hidden;
		background: none;
	}
	.header{

		display: none!important;

	}
	.tab-btn {
		flex: 1;
		padding: 8px 4px;
		font-size: 18px;
		font-weight: bold;
		text-align: center;
		white-space: nowrap;
	}

	.tab-buttons {
		flex-wrap: nowrap;
		gap: 4px;
		justify-content: space-between;
	}

	.container {
		padding: 0 10px;
		margin: 0 auto;
	}
	.news-section{
		height: auto;
		background: linear-gradient(to bottom, #7c3e91, #361c5a);
	}
	.news-list{
		width: 100%;
	}
	.news-section .container {
		max-width: 1100px;
		margin: 0 auto;
		padding: 0 15px;
		margin-top: 0px;
	}
	.news-section h2 img {
		width: 170px;
	}
	.works-search-filter-wrapper {
		margin-bottom: 20px;
	}

	.works-search-bar {
		flex-direction: column;
		margin-bottom: 15px;
	}

	.works-search-wrapper {
		max-width: 100%;
		width: 100%;
	}

	.works-search-input {
		max-width: 100%;
		width: 100%;
	}

	.works-filter {
		display: flex;
		gap: 15px;
		flex-direction: row-reverse;
		justify-content: center;
	}
	.filter-btn {
		padding: 5px 2px;
		/* background-color: #f5f5f5; */
		/* border: 1px solid #ddd; */
		border-radius: 20px;
		cursor: pointer;
		font-size: 16px;
		color: #9867dd;
		transition: all 0.3s;
	}
	.news-section h2 {
		text-align: center;
		padding-top: 0px;
	}
	.news-section,
	.content-section {
		padding: 20px 0;
		margin: 10px auto;
		
	}

	.news-content {
		display: flex;
		gap: 31px;
		align-items: flex-start;
		padding-top: 4px;
	}
	.material-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.material-search-bar {
		flex-direction: column;
		gap: 10px;
	}

	.material-search-wrapper {
		width: 100%;
		flex: 1;
	}

	.material-search-input {
		width: 100%;
	}

	.material-show-all-btn {
		width: 100%;
		padding: 12px 20px;
	}

	.works-grid {
		grid-template-columns: repeat(2, 1fr);
	}

    .announcement-box {
        padding: 20px 16px;
    }

    .announcement-main-title {
        font-size: 18px;
    }

    .announcement-tag {
        font-size: 16px;
        padding: 5px 12px;
    }

    .announcement-subtag {
        font-size: 14px;
    }

	.video-modal-content {
		width: 95%;
	}

	.video-modal iframe {
		height: 400px;
	}
}
