/* 弹窗 */

/* 弹窗容器 */
.share-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

/* 关闭按钮 */
.close-btn {
	position: absolute;
	bottom: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: none;
	border: none;
	font-size: 0.5rem;
	cursor: pointer;
	color: #fff;
}

/* 二维码区域 */
.qrcode-section {
	text-align: center;
}

.qrcode-image {
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

/* 分享按钮组 */
.share-buttons {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 12px 0;
	justify-content: center;
}

.share-btn:active {
	transform: scale(0.95);
}

.share-btn:hover {
	transform: scale(1.5);
}

/* 平台特定样式 */
.fb-btn {
	background: #1877f2;
	color: white;
}

.x-btn {
	background: #000;
	color: white;
}

.whatsapp-btn {
	background: #25d366;
	color: white;
}

/* 官网地址 */
.official-url {
	margin-top: 0.2rem;
	display: flex;
}

.url-input {
	color: #fff;
	flex: 1;
	padding: 0.12rem;
	background: #dfdfdf;
	color: #666666;
	border-radius: 12px;
}

.copy-btn {
	min-width: 101px;
	min-height: 38px;
	color: white;
	border: none;
	padding: 12px;
	cursor: pointer;
	background: #da7919;
	border-radius: 9px 9px 9px 9px;
	margin-left: -0.2rem;
}

.copy-btn:active {
	background: #a5a19f;
}

/* 弹窗容器样式 */
.share-container {
	position: relative;
	padding: 0.18rem;
	width: 450px;
	/* background: linear-gradient(180deg, #f1ca5e 0%, #f5a158 100%); */
	background: url(../img/share-bg.png) no-repeat center / cover;

	border-radius: 0.24rem;
}

.share-content {
	background: #ffffff;
	padding: 12px;
	border-radius: 12px;
}

/* 二维码区域 */
.qrcode-section {
	/* margin: 0.2rem 0; */
}

.qrcode-section h3 {
	color: #4d3627;
	margin-bottom: 12px;
}

.url-tip {
	color: #666;
	font-size: 12px;
	margin-top: 10px;
}

.share-btn {
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.share-btn img {
	width: 100%;
}

/* 底部链接 */
.footer-links {
	color: #b8a495;
	font-size: 12px;
	margin-top: 20px;
}

.footer-links a {
	color: #b8a495;
}

.divider {
	margin: 0 10px;
	opacity: 0.6;
}

.share-title {
	font-size: 20px;
	margin-bottom: 14px;
	color: #773e05;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.share-title img {
	margin: 0 8px;
	width: 50px;
	height: 50px;
	border-radius: 17px 17px 17px 17px;
	border: 3px solid #ffea00;
}

.showShareModal2-content {
	background: #ffffff;
	border-radius: 0.12rem;
	padding: 0.24rem;
	font-family: PingFang SC, PingFang SC;
	font-weight: 500;
	font-size: 0.14rem;
	color: #773e05;
	background: #fff;
	line-height: 0.28rem;
	margin-top: 0.12rem;
	min-height: 200px;
}

@media screen and (max-width: 750px) {
	.share-title {
		font-size: 0.32rem;
	}
	.share-title img {
		margin: 0 8px;
		width: 0.8rem;
		height: 0.8rem;
		border-radius: 10px;
		border: 1px solid #ffea00;
	}
	.share-container {
		width: 70%;
		/* height: 5rem; */
		padding: 0.2rem;
		/* background: linear-gradient(180deg, #f1ca5e 0%, #f5a158 100%); */
		background: url(../img/share-bg.png) no-repeat center / cover;

		border-radius: 0.2rem;
		padding-bottom: 0.2rem;
	}

	.share-buttons {
		gap: 0.7rem;
	}

	.share-btn {
		width: 1.4rem;
		height: 1.4rem;
	}

	/* 关闭按钮 */
	.close-btn {
		position: absolute;
		bottom: -1rem;
		left: 50%;
		transform: translateX(-50%);
		background: none;
		border: none;
		font-size: 0.5rem;
		cursor: pointer;
		color: #fff;
	}

	.official-url {
		margin-top: 0.6rem;
	}

	.qrcode-section {
		margin: 0.4rem 0;
	}

	.showShareModal2-content {
		border-radius: 0.24rem;
		padding: 0.3rem;
		font-size: 0.24rem;
		line-height: 0.64rem;
		/* height: 100%; */
		padding-bottom: 1rem;
	}
}

@media screen and (min-width: 2000px) {
	.contentArea {
		transform: scale(1.15);

	}
	.share-overlay {
		transform: scale(1.3);
	}
}
