/*reset*/
html,
body {
	height: 100%;
}

body {
	font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #F4C430;
	font-size: 0.28rem;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
	background: #1a1a1a;
	/* 与项目背景色一致 */
	overflow-x: hidden;
}

input {
	font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

p {
	font-size: 0.28rem;
	margin-bottom: 0.3rem;
	color: rgba(244, 196, 48, 0.8);
	/* 使用项目主题色 */
}

a {
	color: #F4C430;
	/* 项目主题色 */
	text-decoration: none;
}

.flex-box {
	display: flex;
	align-items: center;
}

/* 完全重新设计的背景 */
.bg {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
	position: relative;
}

/* 添加复杂的几何背景图案 */
.bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
		repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.05) 0px, rgba(212, 175, 55, 0.05) 1px, transparent 1px, transparent 60px),
		repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0px, rgba(212, 175, 55, 0.05) 1px, transparent 1px, transparent 60px);
	z-index: 0;
}

/* 添加装饰性几何图形 */
.bg::after {
	content: "";
	position: absolute;
	top: 15%;
	left: 10%;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 50%;
	transform: rotate(15deg);
	z-index: 1;
	animation: float 15s infinite ease-in-out;
}

@keyframes float {

	0%,
	100% {
		transform: rotate(15deg) translate(0, 0);
	}

	25% {
		transform: rotate(15deg) translate(20px, 20px);
	}

	50% {
		transform: rotate(15deg) translate(0, 40px);
	}

	75% {
		transform: rotate(15deg) translate(-20px, 20px);
	}
}

/* 添加另一个装饰元素 */
.bg::backdrop {
	/* 不支持backdrop */
}

/* 为整个容器添加额外的装饰元素 */
.bg {
	position: relative;
}

.bg .additional-deco-1 {
	content: "";
	position: absolute;
	bottom: 20%;
	right: 12%;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(212, 175, 55, 0.2);
	transform: rotate(-25deg);
	z-index: 1;
	animation: float-reverse 18s infinite ease-in-out;
}

.additional-deco-1 {
	content: "";
	position: absolute;
	bottom: 20%;
	right: 12%;
	width: 180px;
	height: 180px;
	border: 1px solid rgba(212, 175, 55, 0.1);
	transform: rotate(-25deg);
	z-index: 1;
	animation: float-reverse 18s infinite ease-in-out;
}

@keyframes float-reverse {

	0%,
	100% {
		transform: rotate(-25deg) translate(0, 0);
	}

	25% {
		transform: rotate(-25deg) translate(-15px, -15px);
	}

	50% {
		transform: rotate(-25deg) translate(0, -30px);
	}

	75% {
		transform: rotate(-25deg) translate(15px, -15px);
	}
}

/* 主要内容容器 */
.main-content {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
}

.logo {
	width: 3.5rem;
	/* height: 2.5rem; */
	margin: 0 auto 2.5rem;
	border-radius: 0.2rem;
	background: linear-gradient(135deg, #F4C430 0%, #D4AF37 100%);
	/* 使用项目主题渐变色 */
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
	font-weight: bold;
	font-size: 26px;
	box-shadow: 0 0 30px rgba(244, 196, 48, 0.4);
	border: 2px solid #D4AF37;
	position: relative;
	z-index: 20;
	transition: all 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
	box-shadow: 0 0 40px rgba(244, 196, 48, 0.6);
}

.logo img {
	/* width: 3.5rem; */
	width: 100%;
	border-radius: 0.2rem;
}

.download-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
	width: 100%;
	max-width: 500px;
	padding: 0 20px;
	box-sizing: border-box;
}

.download-box {
	width: 100%;
	line-height: 3.5em;
	color: #fff;
	margin: 0 auto;
	border-radius: 50px;
	padding: 0 0.2rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	transform: scale(1);
	background: linear-gradient(45deg, #F4C430, #D4AF37);
	/* 使用项目主题渐变色 */
	border: 1px solid #D4AF37;
	box-shadow: 0 6px 20px rgba(244, 196, 48, 0.3);
	position: relative;
	z-index: 20;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	overflow: hidden;
}

.download-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.2),
			transparent);
	transition: 0.5s;
}

.download-box:hover::before {
	left: 100%;
}

.download-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(244, 196, 48, 0.5);
}

.download-box:active {
	transform: translateY(0);
}

.title {
	margin-left: 0.2rem;
	font-size: 18px;
	color: #fff;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.zhezhao {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: url(../images/bgzz.png) center center;
	background-size: 100% 100%;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999999;
}

/* 移除旧的ios类样式覆盖 */
.download-box {
	margin: 0 0 25px 0;
	/* 统一的下边距 */
}

/* 添加响应式设计 */
@media (max-width: 768px) {
	.download-section {
		max-width: 90%;
	}



	.download-box {
		font-size: 16px;
	}
}

/* 添加微交互效果 */
.download-box:nth-child(3) {
	animation: slideInUp 0.6s ease-out 0.2s both;
}

.download-box:nth-child(4) {
	animation: slideInUp 0.6s ease-out 0.4s both;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 添加光泽效果 */
.download-box::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -60%;
	width: 20px;
	height: 200%;
	background: rgba(255, 255, 255, 0.15);
	transform: rotate(25deg);
	transition: all 0.8s;
}

.download-box:hover::after {
	left: 120%;
}

/* 添加装饰性图标 */
.download-box svg {
	margin-right: 10px;
}