/* Gaya Animasi Fade In untuk Area Tombol */
.animate-fade-in {
	animation: fadeInEffect 0.5s ease-in-out forwards;
}

@keyframes fadeInEffect {
	from {
		opacity: 0;
		transform: translateY(15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hacker Overlay Screen */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	backdrop-filter: blur(5px);
}

.hacker-box {
	width: 100%;
	max-width: 400px;
}

/* Teks Efek Glitch Hacker */
.glitch {
	animation: glitch 0.3s infinite;
	letter-spacing: 5px;
}

@keyframes glitch {
	0% {
		transform: translate(0);
		text-shadow: 2px 2px #ff0000;
	}
	20% {
		transform: translate(-3px, 2px);
		text-shadow: -2px -2px #00f2ff;
	}
	40% {
		transform: translate(-3px, -2px);
		text-shadow: 2px -2px #ff0000;
	}
	60% {
		transform: translate(3px, 2px);
		text-shadow: -2px 2px #00f2ff;
	}
	80% {
		transform: translate(3px, -2px);
		text-shadow: 2px 2px #ff0000;
	}
	100% {
		transform: translate(0);
	}
}

/* Efek Guncang Layar */
.shake {
	animation: shakeBody 0.1s infinite;
}

@keyframes shakeBody {
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}
	50% {
		transform: translate(-1px, -2px) rotate(-1deg);
	}
	100% {
		transform: translate(1px, -1px) rotate(1deg);
	}
}

/* Hasil Style Kotak Edukasi */
.safe-result {
	background-color: #d1e7dd;
	color: #0f5132;
	border-left: 10px solid #198754;
}

.danger-result {
	background-color: #f8d7da;
	color: #842029;
	border-left: 10px solid #dc3545;
}

.safe-box {
	animation: fadeInEffect 0.6s ease;
}
