/* Back to Top Button */
.gotop {
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
	border: none;
}

.gotop.show {
	opacity: 1;
	visibility: visible;
}

.gotop:hover {
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.gotop:active {
	transform: translateY(-2px) scale(1.05);
}

.gotop::before {
	content: '↑';
	font-size: 24px;
	color: #fff;
	font-weight: bold;
}

.gotop::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
	z-index: -1;
	opacity: 0;
	transition: opacity 0.3s;
}

.gotop:hover::after {
	opacity: 1;
	animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.3;
	}
	100% {
		transform: scale(1);
		opacity: 0.5;
	}
}

/* Mobile */
@media (max-width: 1000px) {
	.gotop {
		width: 44px;
		height: 44px;
		bottom: 20px;
		right: 20px;
	}

	.gotop::before {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.gotop {
		width: 40px;
		height: 40px;
		bottom: 15px;
		right: 15px;
	}
}
