/*
*
{
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
*/
*:not(input, textarea){
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


*{
    border: none;
    /*overflow: auto;*/
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    resize: none;
}

/* Màn hình chào m?ng */
#welcomeScreen {
	position: fixed;
	top:0; left:0; right:0; bottom:0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: linear-gradient(135deg, #74ebd5, #ACB6E5);
	font-family: "Poppins", sans-serif;
	text-align: center;
	color: #fff;
	transition: opacity 1s ease;
	z-index: 1000;
	overflow: hidden;
}

/* Logo góc trên ph?i */
#welcomeScreen .logo {
	position: absolute;
	top: 15px;
	right: 25px;
	flex-direction: column; /* thêm dòng này d? xu?ng dòng */
	align-items: flex-end;  /* can ph?i */
	align-items: center;
	gap: 10px;
	animation: slideInRight 1.2s ease;
}

#welcomeScreen .logo img {
	width: 50px;
	height: 50px;
}

#welcomeScreen .logo span {
	font-size: 1.4em;
	font-weight: bold;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Tiêu d? */
#welcomeScreen .title {
	font-size: 2.5em;
	font-weight: 700;
	margin-bottom: 30px;
	animation: slideDown 1.2s ease;
	text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

/* Nút b?t d?u */
#welcomeScreen button {
	padding: 15px 40px;
	font-size: 1.2em;
	font-weight: bold;
	border: none;
	border-radius: 50px;
	background: #ff9800;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 6px 15px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
	animation: fadeIn 2s ease;
}

#welcomeScreen button:hover {
	background: #ffb84d;
	transform: scale(1.05);
	box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

/* Hi?u ?ng khi bi?n m?t */
#welcomeScreen.fadeOut {
	opacity: 0;
	pointer-events: none;
}

/* Keyframes */
@keyframes slideDown {
	from {transform: translateY(-100px); opacity: 0;}
	to {transform: translateY(0); opacity: 1;}
}

@keyframes slideInRight {
	from {transform: translateX(100px); opacity: 0;}
	to {transform: translateX(0); opacity: 1;}
}

@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}
/* Gradient d?ng cho welcome screen */
#welcomeScreen {
	background: linear-gradient(135deg, #74ebd5, #ACB6E5, #fbc2eb, #a6c1ee);
	background-size: 400% 400%;
	animation: gradientMove 10s ease infinite;
}

/* Hi?u ?ng gradient ch?y */
@keyframes gradientMove {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Tiêu d? ánh sáng ch?y qua */
#welcomeScreen .title {
	position: relative;
	overflow: hidden;
}
#welcomeScreen .title::after {
	content: "";
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
	animation: shine 3s infinite;
}
@keyframes shine {
	0% { left: -100%; }
	50% { left: 100%; }
	100% { left: 100%; }
}

/* Nút Start rung nh? */
#welcomeScreen button {
	animation: bounce 2s infinite;
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-6px); }
	60% { transform: translateY(-3px); }
}

/* Khi bi?n m?t: zoom out + fade */
#welcomeScreen.fadeOut {
	opacity: 0;
	transform: scale(1.2);
	transition: opacity 1s ease, transform 1s ease;
}



canvas
{
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  position:absolute;
  margin:auto;
  left:0;right:0;
  top:0;bottom:0;
  display: block;
  background-color:rgba(255, 255, 255, 1.00);
  display:none;

}
body,html
{
	text-align:center;
	padding:0;
	margin:0;
	background-color:#FFF;
}
#loader,#loader2
{
	position: fixed;
	width: 100%;
	height: 100%;
	display: block;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 8vh;
	line-height: 18;
	text-align: center;
	font-weight: bold;
	z-index: 0;
	background-color: #FFF;
}
#loader a,#loader a:visited,#loader2 a,#loader2 a:visited
{
	color: #000;
	text-decoration: none;
}


#animation_container
{
	position:absolute;
	margin:auto;
	left:0;right:0;
	top:0;bottom:0;
}

