

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.5s ease;
	z-index: 1000;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top::before {
	content: '';
	width: 20px;
	height: 20px;
	border-top: 3px solid #ff0000;
	border-right: 3px solid #ff0000;
	transform: rotate(-45deg);
	margin-top: 5px;
}

.back-to-top::after {
	content: '回到顶部';
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 0.9rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	background: rgba(0, 0, 0, 0.7);
	padding: 4px 8px;
	border-radius: 4px;
}

.back-to-top:hover::after {
	opacity: 1;
}

.progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(to right, #ff8a00, #da1b60);
	z-index: 1001;
	transition: width 0.2s ease;
}

@media (max-width: 768px) {
	.back-to-top {
		bottom: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
	}
}