body {
	margin: 0;
	padding: 0;
	background: linear-gradient(to bottom right, #6554f6e6, #21042d);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: white;
	text-align: center;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
 }

 .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
 }
 
 .main-title {
	margin: 0 auto 20px auto;
	font-family: monospace;
      font-size: 42px;
      white-space: nowrap;
      overflow: hidden;
      border-right: 2px solid rgb(248, 5, 248);
      width: 0;
      animation:
        typing 3s steps(12) forwards,
        blink 0.7s step-end infinite;
		
 }

 @keyframes typing {
	from { width: 0 }
	to { width: 12ch } 
 }

 @keyframes blink {
	0%, 100% { border-color: transparent; }
	50% { border-color: black; }
 }
 
 input, button {
	padding: 12px;
	margin: 10px;
	border-radius: 8px;
	border: none;
	font-size: 16px;
	outline: none;
 }
 
 input {
	width: 250px;
 }
 
 button {
	background-color: #6c2bff;
	color: white;
	cursor: pointer;
	transition: background-color 0.3s;
 }
 
 button:hover {
	background-color: #8c4dff;
 }
 
 .ball {
	margin-top: 30px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle at center, #000 60%, #111 100%);
	border-radius: 50%;
	position: relative;
	box-shadow: 0 0 60px rgba(253, 3, 253, 0.915), inset 0 0 40px #ac10af;
	display: flex;
	align-items: center;
	justify-content: center;	
 }
 
 .window {
	width: 120px;
	height: 120px;
	background: radial-gradient(circle at center, #6c2bff, #3a0d99);	
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	box-shadow: inset 0 0 20px #a366ff;
 }
 
 .answer {
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	opacity: 0;
	transition: opacity 0.6s ease-in;
	text-shadow: 0 0 6px #fff;
 }
 
 /* Shake animation */
 @keyframes shake {
	0%   { transform: translateX(0) rotate(0deg); }
	10%  { transform: translateX(-10px) rotate(-2deg); }
	20%  { transform: translateX(10px) rotate(2deg); }
	30%  { transform: translateX(-10px) rotate(-3deg); }
	40%  { transform: translateX(10px) rotate(3deg); }
	50%  { transform: translateX(-8px) rotate(-2deg); }
	60%  { transform: translateX(8px) rotate(2deg); }
	70%  { transform: translateX(-5px) rotate(-1deg); }
	80%  { transform: translateX(5px) rotate(1deg); }
	90%  { transform: translateX(-2px) rotate(0deg); }
	100% { transform: translateX(0) rotate(0deg); }
 }
 
 .shake {
	animation: shake 0.8s ease-in-out;
 }
 .show-answer .answer {
	opacity: 1;
 }

 