
body {
    margin:0 auto;
    overflow-x:hidden;
    overflow-y:auto;
    background-image: url(img/in_top_bj.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}  

/*=============第一页=============*/	
.header{
	margin:0 auto;
	width:100%;
	height:640px;
	background-color:#000;
	position:relative;
	}
.header canvas {
	width:100%;height:auto/*默认全屏显示 可自己设置高度640px*/;
	display:inline-block;vertical-align:baseline
	position:absolute;
	z-index:-1;
	}
.header .canvaszz{  /*用来解决视频右键菜单，用于视频上面的遮罩层*/
	width:100%;
	background-image: url(img/in_top_bj.jpg);
	height:640px;
	position:absolute;
	z-index:10;
		filter:alpha(opacity=40);  
      	-moz-opacity:0.4;  
      	-khtml-opacity: 0.4;  
      	opacity: 0.4;
	}

.audio{ 
/*设置音乐显示位置*/
	width:45px;
	position:fixed;top:65px;left:94%;
	z-index:100;
	filter:alpha(opacity=30);  
      -moz-opacity:0.3;  
      -khtml-opacity: 0.3;  
      opacity: 0.3;
	}
.header .top_logo{
	background-image: url(img/top_logo.png);
	margin:0 auto;
	width:750px;
	height:200px;
	position:absolute;
	z-index:30;
	top:180px;
	left: 50%;
	transform: translateX(-50%);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	/* 文字内部高亮效果 */
	filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
	animation: logoGlow 3s ease-in-out infinite;
	transition: all 0.3s ease;
	}	

	.header .nav{
	width:900px;
	height:auto;
	position:absolute;
	z-index:30;
	top:590px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 15px;
	}
.header .nav a.gv { 
	text-decoration:none; 
	background:url(img/nav_gv.png) no-repeat 0px 0px; 
	background-size: 100% 200%;
	width: 140px; 
	height: 43px; 
	display: inline-block; 
	text-align:center;		/*水平居中*/
	line-height:43px;  /*上下居中*/
	cursor:pointer;
	margin: 0;
	font:18px/43px 'microsoft yahei'; color:#066197;
	border-radius: 3px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	}
.header .nav a.gv span {
	 display: none;
	 	
}
.header .nav a.gv:hover { 
	background: url(img/nav_gv.png) no-repeat 0px -43px; 
	background-size: 100% 200%;
	color:#1d7eb8;
	-webkit-box-shadow: 0 0 6px #1d7eb8;
	transition-duration: 0.5s;
	}
	
	.header	.topcn{
	width: 980px;
	top:370px;
	left: 50%;
	transform: translateX(-50%);
	position:absolute;
	z-index:20;
	text-align: center;
	}

/* Logo悬停效果 */
.header .top_logo:hover {
	transform: translateX(-50%) scale(1.05);
	filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.9));
	animation-play-state: paused;
}

/* 旋转头像样式 */
.rotating-avatar {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 40;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
	border: 3px solid rgba(0, 255, 255, 0.8);
	animation: rotate 8s linear infinite, borderPulse 4s ease-in-out infinite;
	/* 确保完美居中 */
	left: calc(50% - 75px);
}

.avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.rotating-avatar:hover {
	animation-play-state: paused;
	transform: scale(1.1);
	box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.rotating-avatar:hover .avatar-img {
	filter: brightness(1.2) contrast(1.1);
}

/* 旋转动画 */
@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* 边框跳动动画 - 多色呼吸效果 */
@keyframes borderPulse {
	0% {
		border-color: rgba(255, 165, 0, 0.8); /* 橙色系 */
		box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
	}
	16.66% {
		border-color: rgba(255, 0, 0, 0.8); /* 红色系 */
		box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
	}
	33.33% {
		border-color: rgba(0, 255, 255, 0.8); /* 青色系 */
		box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
	}
	50% {
		border-color: rgba(255, 192, 203, 0.8); /* 粉色系 */
		box-shadow: 0 0 30px rgba(255, 192, 203, 0.8);
	}
	66.66% {
		border-color: rgba(128, 0, 128, 0.8); /* 紫色系 */
		box-shadow: 0 0 25px rgba(128, 0, 128, 0.7);
	}
	83.33% {
		border-color: rgba(255, 69, 0, 0.8); /* 橙红色系 */
		box-shadow: 0 0 28px rgba(255, 69, 0, 0.75);
	}
	100% {
		border-color: rgba(255, 165, 0, 0.8); /* 回到橙色系 */
		box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
	}
}

/* Logo文字内部高亮动画 */
@keyframes logoGlow {
	0% {
		filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
	}
	50% {
		filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
	}
	100% {
		filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
	}
}

/* 二维码弹窗样式 */
.qr-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.qr-content {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
	margin: 5% auto;
	padding: 30px;
	border: 2px solid rgba(0, 255, 255, 0.6);
	border-radius: 15px;
	width: 350px;
	text-align: center;
	position: relative;
	box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
	animation: modalFadeIn 0.3s ease-out;
}

.qr-content h3 {
	color: #0FF;
	font-size: 24px;
	margin-bottom: 20px;
	font-family: 'microsoft yahei';
	text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.qr-code {
	width: 200px;
	height: 200px;
	border-radius: 10px;
	margin: 20px auto;
	display: block;
	border: 2px solid rgba(0, 255, 255, 0.4);
	box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.qr-content p {
	color: #0FF;
	font-size: 16px;
	margin-top: 15px;
	font-family: 'microsoft yahei';
	opacity: 0.8;
}

/* 联系我们信息样式 */
.contact-info {
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: rgba(0, 255, 255, 0.1);
	border: 1px solid rgba(0, 255, 255, 0.3);
	border-radius: 10px;
	transition: all 0.3s ease;
}

.contact-item:hover {
	background: rgba(0, 255, 255, 0.15);
	border-color: rgba(0, 255, 255, 0.5);
	transform: translateY(-2px);
}

.contact-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #0FF, #00b3b3);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
	font-family: 'microsoft yahei';
}

.contact-details {
	flex: 1;
}

.contact-label {
	color: #0FF;
	font-size: 12px;
	margin-bottom: 5px;
	opacity: 0.8;
	font-family: 'microsoft yahei';
}

.contact-value {
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	font-family: 'microsoft yahei';
}

.qr-section {
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.qr-section h4 {
	color: #0FF;
	font-size: 18px;
	margin-bottom: 15px;
	font-family: 'microsoft yahei';
	text-align: center;
}

.close-btn {
	color: #0FF;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 15px;
	transition: all 0.3s ease;
}

.close-btn:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
	transform: scale(1.1);
}

/* 弹窗动画 */
@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.7) translateY(-50px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* 联系我们按钮特殊样式 */
.contact-btn {
	transition: all 0.3s ease;
}

.contact-btn:hover {
	background: url(img/nav_gv.png) repeat 0px -43px !important;
	color: #1d7eb8 !important;
	-webkit-box-shadow: 0 0 6px #1d7eb8 !important;
	transform: scale(1.05);
}

/* 充值中心按钮样式 */
.recharge-btn {
	transition: all 0.3s ease;
}

.recharge-btn:hover {
	background: url(img/nav_gv.png) repeat 0px -43px !important;
	color: #1d7eb8 !important;
	-webkit-box-shadow: 0 0 6px #1d7eb8 !important;
	transform: scale(1.05);
}

/* 充值中心弹窗样式 */
.recharge-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.recharge-content {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
	margin: 5% auto;
	padding: 30px;
	border: 2px solid rgba(0, 255, 255, 0.6);
	border-radius: 15px;
	width: 600px;
	position: relative;
	box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
	max-height: 80vh;
	overflow-y: auto;
	animation: modalFadeIn 0.3s ease-out;
}

.recharge-close {
	color: #0FF;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 15px;
	transition: all 0.3s ease;
}

.recharge-close:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
	transform: scale(1.1);
}

.recharge-title {
	text-align: center;
	margin-bottom: 25px;
}

.recharge-title h2 {
	color: #0FF;
	font-size: 28px;
	margin-bottom: 8px;
	font-family: 'microsoft yahei';
	text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.recharge-title p {
	color: #0FF;
	font-size: 16px;
	opacity: 0.8;
	font-family: 'microsoft yahei';
}

.recharge-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}

.recharge-method {
	background: rgba(0, 255, 255, 0.1);
	border: 1px solid rgba(0, 255, 255, 0.3);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: all 0.3s ease;
}

.recharge-method:hover {
	background: rgba(0, 255, 255, 0.15);
	border-color: rgba(0, 255, 255, 0.5);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.method-icon {
	font-size: 40px;
	margin-bottom: 15px;
}

.method-info h3 {
	color: #0FF;
	font-size: 18px;
	margin-bottom: 8px;
	font-family: 'microsoft yahei';
}

.method-info p {
	color: #fff;
	font-size: 14px;
	opacity: 0.8;
	margin-bottom: 15px;
	font-family: 'microsoft yahei';
}

.recharge-btn-primary {
	background: linear-gradient(135deg, #0FF, #00b3b3);
	color: #000;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'microsoft yahei';
}

.recharge-btn-primary:hover {
	background: linear-gradient(135deg, #00b3b3, #0FF);
	transform: scale(1.05);
	box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.recharge-notice {
	background: rgba(0, 255, 255, 0.05);
	border: 1px solid rgba(0, 255, 255, 0.2);
	border-radius: 10px;
	padding: 20px;
	margin-top: 20px;
}

.recharge-notice h4 {
	color: #0FF;
	font-size: 18px;
	margin-bottom: 15px;
	font-family: 'microsoft yahei';
}

.recharge-notice ul {
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	font-family: 'microsoft yahei';
}

.recharge-notice li {
	margin-bottom: 8px;
	opacity: 0.9;
}

.recharge-notice span {
	color: #0FF;
	font-weight: bold;
}

/* 桌面端样式确保一排显示 */
@media screen and (min-width: 769px) {
	.header .nav {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	
	.header .nav a.gv {
		width: 130px;
		height: 43px;
		line-height: 43px;
		font-size: 18px;
		margin: 0;
	}
}

/* 移动端响应式设计 */
@media screen and (max-width: 768px) {
	.header {
		height: 100vh;
		min-height: 600px;
	}
	
	.header .canvaszz {
		height: 100vh;
		min-height: 600px;
		background-size: cover;
		background-position: center;
	}
	
	.header .top_logo {
		width: 90%;
		max-width: 400px;
		height: auto;
		aspect-ratio: 3.75/1;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		top: 12%;
	}
	
	.header .nav {
		width: 90%;
		max-width: 400px;
		top: 65%;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	
	.header .nav a.gv {
		width: 100%;
		min-width: 200px;
		font-size: 16px;
		margin: 0;
		height: 45px;
		line-height: 45px;
		background-size: 100% 200%;
		background-repeat: no-repeat;
	}
	
	.header .topcn {
		width: 90%;
		max-width: 600px;
		top: 40%;
		font-size: 16px;
	}
	
	.header .topcn p {
		font-size: 16px !important;
		line-height: 1.4 !important;
	}
	
	.rotating-avatar {
		width: 100px;
		height: 100px;
		top: 3%;
		left: calc(50% - 50px);
	}
	
	.audio {
		width: 35px;
		top: 10px;
		left: 85%;
	}
	
	.qr-content {
		width: 90%;
		max-width: 300px;
		margin: 5% auto;
		padding: 20px;
	}
	
	.contact-info {
		margin: 15px 0;
		gap: 10px;
	}
	
	.contact-item {
		padding: 12px;
		gap: 12px;
	}
	
	.contact-icon {
		width: 35px;
		height: 35px;
		font-size: 12px;
	}
	
	.contact-value {
		font-size: 14px;
	}
	
	.recharge-content {
		width: 95%;
		max-width: 500px;
		margin: 10% auto;
		padding: 20px;
	}
	
	.recharge-methods {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.recharge-method {
		padding: 15px;
	}
	
	.method-icon {
		font-size: 30px;
	}
	
	.method-info h3 {
		font-size: 16px;
	}
	
	.method-info p {
		font-size: 12px;
	}
	
	.qr-code {
		width: 150px;
		height: 150px;
	}
	
	.qr-content h3 {
		font-size: 20px;
	}
	
	.qr-content p {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.header .nav {
		width: 95%;
		max-width: 350px;
		top: 55%;
		gap: 8px;
	}
	
	.header .nav a.gv {
		width: 100%;
		font-size: 14px;
		height: 40px;
		line-height: 40px;
		min-width: 180px;
		background-size: 100% 200%;
		background-repeat: no-repeat;
	}
	
	.header .topcn {
		top: 30%;
	}
	
	.header .topcn p {
		font-size: 14px !important;
	}
	
	.rotating-avatar {
		width: 80px;
		height: 80px;
		top: 2%;
		left: calc(50% - 40px);
	}
	
	.audio {
		width: 30px;
		left: 80%;
	}
}

@media screen and (max-width: 360px) {
	.header .nav {
		width: 98%;
		max-width: 300px;
		top: 50%;
		gap: 6px;
	}
	
	.header .nav a.gv {
		width: 100%;
		font-size: 13px;
		height: 38px;
		line-height: 38px;
		min-width: 160px;
		background-size: 100% 200%;
		background-repeat: no-repeat;
	}
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
	.header .nav a.gv:hover {
		background: url(img/nav_gv.png) repeat 0px 0px;
		color: #066197;
		-webkit-box-shadow: none;
	}
	
	.header .nav a.gv {
		background-size: 100% 200%;
		background-repeat: no-repeat;
	}
	
	.rotating-avatar:hover {
		animation-play-state: running;
		transform: none;
		box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
	}
	
	.rotating-avatar:hover .avatar-img {
		filter: none;
	}
	
	.contact-btn:hover {
		background: url(img/nav_gv.png) repeat 0px 0px !important;
		color: #066197 !important;
		-webkit-box-shadow: none !important;
		transform: none;
	}
}