@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;900&family=Outfit:wght@300;500;700&display=swap');

:root { interpolate-size: allow-keywords; }
html {
	min-height: 100vh;
}
body {
	padding: 0;
	margin: 0;
	font-family: "Outfit", sans-serif;
	font-weight: 400;
  font-style: normal;
  color: #8b9294;
  min-height: 100vh;
  background-color: #050508;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(188, 19, 254, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
}
	a {
		text-decoration: none;
	}
	header { 
		text-align: center; 
		margin-bottom: 3rem; 
		z-index: 10; 
		width: 100%; 
		margin-top: 40px;
	}
	header .header-logo { 
		max-width: 400px; 
		width: 100%; 
		height: auto; 
		margin-bottom: 1rem; 
		filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3)); 
	}
	header .subtitle { 
		font-size: 1.1rem; 
		color: #b0b0c0; 
		font-weight: 300; 
		letter-spacing: 1px; 
		margin-top: -10px; 
	}




/* ASIDE NAVBAR */
#game-nav {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	max-width: 70px;
	z-index: 999;
	font-family: "Lato", sans-serif;
}
	#game-nav .nav-burger-btn {
		display: none;
	}
	#game-nav #game-nav-content {
		padding: 20px;
	}

	/* ITEM SIMPLE */
	#game-nav .nav-item {
		position: relative;
		border: 1px solid #ccc;
		border-radius: 25px;
		width: 50px;
		text-align: center;		
		margin-bottom: 10px;
		margin-top: 10px;
		transition: all 200ms ease; 

		box-shadow: 0 0 15px 5px rgba(0, 0, 0, .1);
		backdrop-filter: blur(10px) saturate(130%);
    background-color: rgba(0, 0, 0, 0.3); 
	}
	#game-nav .nav-item > a {
		display: inline-block;
		width: 100%;
		height: 50px;
		line-height: 48px;				
		color: #ccc;
		box-shadow: none;			
		transition: all 200ms ease;  
	}
	#game-nav .nav-item > a span {
		display: none;
	}
		
		/* ITEM HOVER */
		#game-nav .nav-item:hover {
			box-shadow: 0 0 15px 5px rgba(255, 255, 255, .1);
			backdrop-filter: blur(10px) saturate(130%);
	    -webkit-backdrop-filter: blur(10px) saturate(130%);
	    background-color: rgba(255, 255, 255, 0.3);
	    border: 1px solid rgba(209, 213, 219, 0.3);
	    transform: scale(1.5);		
	    z-index: 99999;    
		}
		#game-nav .nav-item:hover > a {
			color: #fff;
		}

	/* ITEM COMPLEX */
	#game-nav .nav-item-complex {
		border: 1px solid #ccc;
		border-radius: 25px;
		width: 50px;
		text-align: center;		
		margin-bottom: 10px;
		margin-top: 10px;
		position: relative;

		box-shadow: 0 0 15px 5px rgba(0, 0, 0, .1);
    background-color: rgba(0, 0, 0, 0.3);
	}
		#game-nav .nav-item-complex:hover {
			z-index: 99999;
		}
		#game-nav .nav-item-complex.nav-item-game {

		}
		#game-nav .nav-item-complex.nav-item-with-options {
			padding-top: 60px;
			padding-bottom: 10px;
		}
			#game-nav .nav-item-complex.nav-item-with-options.nav-item-game {
				padding-top: 70px;
				margin-top: 20px;
			}
		#game-nav .nav-item-complex.nav-item-no-options {
			padding-top: 0;
		  position: relative;
		  margin-bottom: 10px;
		  margin-top: 10px;
		  height: 50px;
		  border: none;
		  margin-top: 0;
		}			
			#game-nav .nav-item-complex.nav-item-no-options.nav-item-game {
				height: 70px;
			}
	#game-nav .nav-item-complex-content {

	}
		#game-nav .nav-item-complex-header {
			position: absolute;		
			top: -1px;
			left: -1px;
		}
		#game-nav .nav-item-game .nav-item-complex-header {
			position: absolute;		
			top: -10px;
			left: -10px;
		}
			#game-nav .nav-item-complex.nav-item-no-options .nav-item-complex-header {
				position: absolute;		
				top: 0;
				left: 0;
			}
			#game-nav .nav-item-complex.nav-item-no-options.nav-item-game .nav-item-complex-header {
				left: -10px;
			}
			#game-nav .nav-item-complex-btn {
				border-radius: 25px;			
				backdrop-filter: blur(10px) saturate(130%);
		    -webkit-backdrop-filter: blur(10px) saturate(130%);
		    background-color: rgba(255, 255, 255, 0.3);
		    border: 1px solid rgba(209, 213, 219, 0.3);
		    width: 50px;
		    height: 50px;
		    padding: 0;
		    overflow: hidden;
		    display: flex;
		    transition: all 400ms ease;    
			}
				#game-nav .nav-item-game .nav-item-complex-btn {
					width: 70px;
		    	height: 70px;
		    	border-radius: 35px;			
				}
				#game-nav .nav-item-complex-btn > a > span {
					display: none;
				}
				#game-nav .nav-item-complex-btn img.nav-game-current {
					width: 48px;
					height: 48px;
					border-radius: 25px;
					cursor: pointer;
					position: absolute;
					top: 0;
					left: 0;
					transition: all 400ms ease;
					/*transform: scale(0.8);  */
				}
				#game-nav .nav-item-complex-btn > span{
					display: none;
				}
				#game-nav .nav-item-game .nav-item-complex-header > span.me-scoring {
					position: absolute;
					bottom: -5px;
					right: -5px;
					width: 25px;
					height: 25px;
					text-align: center;
					line-height: 23px;
					border-radius: 50%;
					display: block;
					background: #efefef;
					border: 1px solid #ddd;
					color: #111;	
				}
					#game-nav .nav-item-game .nav-item-complex-header:hover > span.me-scoring {
						opacity: 0;
					}
					#game-nav .nav-item-game .nav-item-complex-header > span.me-scoring-0 {
						font-size: 13px;
						background: #dccb10;
  					border-color: #f1e238;
  					font-weight: bold;
					}
					#game-nav .nav-item-game .nav-item-complex-header > span.me-scoring-1 {
						font-size: 13px;
						background: #c1cacf;
  					border-color: #e2e8eb;
  					font-weight: bold;
					}
					#game-nav .nav-item-game .nav-item-complex-header > span.me-scoring-2 {
						font-size: 13px;
						background: #c1cacf;
  					border-color: #e2e8eb;
  					font-weight: bold;
					}
				#game-nav .nav-item-game .nav-item-complex-btn img.nav-game-current {
					width: 68px;
					height: 68px;
					border-radius: 35px;
				}				
			#game-nav .nav-item-complex-hide { /* content showed on hover */
				min-width: 360px;		
				width: 360px;
				padding-left: 80px;
				text-align: left;		
			}
				#game-nav .nav-item-game .nav-item-complex-hide a {
					display: inline-block;
					margin: 8px;
					border-radius: 50%;
					border: 1px solid #ccc;
					position: relative;
				}
				#game-nav .nav-item-game .nav-item-complex-hide a > img {
					max-width: 46px;
					border-radius: 50%;
					transition: all 200ms ease;  
				}
				#game-nav .nav-item-game .nav-item-complex-hide a:hover > img {
					transform: scale(.8);
				}
				#game-nav .nav-item-game .nav-item-complex-hide span {
					display: none;
				}
				#game-nav .nav-item-game .nav-item-complex-hide span.me-scoring {
					position: absolute;
					bottom: -5px;
					right: -5px;
					width: 16px;
					height: 16px;
					text-align: center;
					line-height: 14px;
					border-radius: 50%;
					display: block;
					background: #efefef;
					border: 1px solid #ddd;
					color: #111;	
					opacity: .9;				
				}
					#game-nav .nav-item-game .nav-item-complex-hide span.me-scoring-0 {
						font-size: 10px;
						background: #dccb10;
  					border-color: #f1e238;
  					font-weight: bold;
					}
					#game-nav .nav-item-game .nav-item-complex-hide span.me-scoring-1 {
						font-size: 10px;
						background: #c1cacf;
  					border-color: #e2e8eb;
  					font-weight: bold;
					}
					#game-nav .nav-item-game .nav-item-complex-hide span.me-scoring-2 {
						font-size: 10px;
						background: #c1cacf;
  					border-color: #e2e8eb;
  					font-weight: bold;
					}

				#game-nav .nav-item-complex-header-with-hide:hover {
					/*position: relative;*/
					z-index: 9999;
				}
				#game-nav .nav-item-complex-header-with-hide:hover .nav-item-complex-btn img.nav-game-current {
					border: 1px solid #fff;
					transform: scale(.9);
				}
				#game-nav .nav-item-complex-header-with-hide:hover .nav-item-complex-btn {
					width: 360px;			
					height: auto;		
					padding: 2px;
					transform: translate(-2px, -2px);
					box-sizing: content-box;		
					border-radius: 25px 25px 10px 25px;			
				}
					#game-nav .nav-item-game .nav-item-complex-header-with-hide:hover .nav-item-complex-btn {
						border-radius: 35px;			
					}
				#game-nav .nav-item-game .nav-item-complex-header-with-hide:hover .nav-item-complex-btn {
					height: 198px;					
				}

		#game-nav .nav-item-complex-body {
			position: relative;
			z-index: 9999;
		}

		#game-nav .nav-subitem {
			margin-bottom: 10px;
		}
		#game-nav .nav-subitem > a {
			color: #ccc;
			cursor: pointer;
			transition: all 200ms ease;  
			display: inline-block;
		}
			#game-nav .nav-subitem > a:hover, 
			#game-nav .nav-subitem > a.active {
				transform: scale(1.8);
				color: #fff;
			}
		#game-nav .nav-subitem > a span {
			display: none;
		}

		.nav-form-login {
			padding: 10px 15px;
			color: #fff;
			font-size: 1rem;
		}
			.nav-form-login h2 {
				font-size: 20px;
			}
			.nav-form-login form {

			}
			.nav-form-login .btn-primary {
				padding: 0.35rem 0.5rem;
			}
			.nav-form-login p {

			}
			.nav-form-login p a {
				color: #fff;
			}


/* MODAL */
.modal-dialog {
  background: transparent;
  border-radius: 1rem;
  font-family: "Lato", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: normal;
  text-align: left;
}
.modal-dialog .modal-content {
  /* From https://css.glass */
  /*background: rgba(0, 51, 102, 0.7);
  border-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px) saturate(180%);
  -webkit-backdrop-filter: blur(6px) saturate(180%);
  border: 1px solid rgba(0, 51, 102, 0.8);*/

  background: /*rgba(255, 255, 255, 0.25)*/rgba(49, 35, 60, 0.5); 
  backdrop-filter: blur(16px);           
  -webkit-backdrop-filter: blur(16px);   
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 20px;                   
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.modal-dialog .modal-content .modal-header {
  background: transparent;
  border: none;
}
.modal-dialog .modal-content .modal-header .modal-title {
  color: #fafafa;
}
.modal-dialog .modal-content .modal-body {
  color: #fafafa;
  text-shadow: 0 0 4px rgba(0,0,0,5);
}
.modal-dialog .modal-content .modal-footer {
  background: transparent;
  border: none;
}

.modal-dialog .modal-content h1 {
	text-align: center;
	font-size: 2rem;
}

	/* GAME OPTIONS */

	/* WINNER ILLU (3 firsts) */
	.modal-dialog .winners {
	  position: relative;
	  height: 200px;
	  margin-bottom: 20px;
	}
	  
		.modal-dialog .winner {
			width: 260px;
			max-width: 30%;
		  text-align: center;
		  padding: 20px 15px;
		  position: relative;
		  transition: transform 0.3s;
		  border-radius: 20px;
		  height: 120px;
		  z-index: 2;
		  position: absolute;
		  bottom: 0;
		  left: 50%;
		  transform: translateX(-50%);
		  text-align: center;
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		}
			.modal-dialog .winner-1 {
				height: 170px;
				background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(49, 35, 60, 0.5) 100%);
			  border: 1px solid rgba(255, 215, 0, 0.4);
			  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
			}
			.modal-dialog .winner-2 {
				height: 150px;
				background: linear-gradient(180deg, rgba(224, 224, 224, 0.1) 0%, rgba(49, 35, 60, 0.5) 100%);
		  	border: 1px solid rgba(224, 224, 224, 0.3);
				transform: translateX(-160%);
			}
			.modal-dialog .winner-3 {
				background: linear-gradient(180deg, rgba(205, 127, 50, 0.1) 0%, rgba(49, 35, 60, 0.5) 100%);
  			border: 1px solid rgba(205, 127, 50, 0.3);
				height: 130px;
				transform: translateX(60%);
			}

		.modal-dialog .winner > div {

		}
		.modal-dialog .winner .winner-avatar {
			position: absolute;
		  top: -35px;
		  left: 50%;
		  transform: translateX(-50%);
		  border: 2px solid #efefef;
		  border-radius: 50%;
		}
		.modal-dialog .winner .winner-avatar img {
			max-width: 70px;
			height: auto;
		}
		.modal-dialog .winner .winner-score-1,
		.modal-dialog .winner .winner-score-2,
		.modal-dialog .winner .winner-score-3 {
			position: absolute;
			bottom: 10px;
			left: 50%;
			transform: translateX(-50%);
			display: inline-block;
			padding: 4px 12px;
			border: 1px solid #efefef;
			border-radius: 6px;
			text-align: center;
			font-size: 1.2rem;
			background: rgba(255,255,255,.1);
		}

	  /* SCORE BOARD */
	.modal-dialog .scoreboard {
	  width: 100%;
	  overflow-x: auto;
	  border-radius: 12px;
	  background: rgba(0,0,0,0.25);
	  border: 1px solid rgba(139, 92, 246, 0.1);
	  border: 2px solid rgba(139, 92, 246, 0.3);
	  margin-bottom: 20px;
	}
	  .modal-dialog .scoreboard table {
	    width: 100%;    
		  border-collapse: collapse;
		  text-align: center;
		  color: #e0e0e0;
		  min-width: 600px;
	  }
	  .modal-dialog .scoreboard table thead {
	    
	  }
	  .modal-dialog .scoreboard table tbody {

	  }

	  .modal-dialog .scoreboard table th {
	  	padding: 12px;
		  background: rgba(139, 92, 246, 0.08);
		  color: #bbb;
		  text-transform: uppercase;
		  font-size: 0.8rem;
		  letter-spacing: 1px;
		  border-bottom: 2px solid rgba(139, 92, 246, 0.15);
	  }
	  .modal-dialog .scoreboard table th.scoreboard-day {
	  	width: 100px;
	  }
	  .modal-dialog .scoreboard table th.scoreboard-average {
	  	width: 150px;
	  }
	  .modal-dialog .scoreboard table th.scoreboard-result {
	  	width: 150px;
	  }
	  .modal-dialog .scoreboard table td {
	    padding: 10px 15px;
		  border-bottom: 1px solid rgba(255,255,255,0.03);
		  vertical-align: middle;
		  font-size: 0.95rem;
	  }

	  .modal-dialog .scoreboard .scoreboard-medal {
	    width: 25px;
	  }
	  .modal-dialog .scoreboard .scoreboard-medal img {
	    max-width: 24px;
	  }

	  .modal-dialog .scoreboard .scoreboard-pseudo {
	    width: auto;
	    text-align: left;
	  }

	  .modal-dialog .scoreboard .scoreboard-day {

	  }
	  .modal-dialog .scoreboard .scoreboard-day-win {
	    color: yellow;
	    font-weight: bold;
	  }
	  .modal-dialog .scoreboard .scoreboard-day:nth-child(even) {
	  
	  }
	  .modal-dialog .scoreboard-me {
	    background: rgba(255,255,255,.2);
	  }
	  .modal-dialog .scoreboard .scoreboard-result {
	    text-align: right;
	    font-weight: bold;
	  }

	  /* STATS */
	.modal .stats {
	  font-size: .9rem;
	  margin-top: 30px;
	}
	  .modal .score-grid {
	  	font-size: .9rem;
	    margin-bottom: 25px;
	    /*min-height: 200px;*/
	  }
	  .modal .score-grid:last-child {
	    margin-bottom: 0;
	  }
	    .modal .score-grid h3 {
	      font-size: 1.1rem;
	    }
	  .modal .score-item {
	    padding: 0px 0;
	    margin: 5px 0;
	    display: flex;
	    justify-content: start;
	    /*border-bottom: 1px dotted #ccc;*/
	  }
	    .modal .score-item em {
	      font-style: normal;
	      padding: 2px 4px;
	    }
	      .modal .score-item em:after {
	        content: '.';
	      }
	    .modal .score-item img {
	      width: 24px;
	      height: 24px;
	    }
	    .modal .score-item strong {
	    	font-weight: normal;
	    	margin-left: 5px;
	    	padding: 2px 4px;
	    }
	    .modal .score-item span {
	      margin-left: auto;

	      display: inline-block;
			  padding: 2px 6px;
			  border-radius: 5px;
			  font-weight: 700;
			  font-size: 0.9rem;
			  text-align: right;
			  background: rgba(139, 92, 246, 0.05);
			  color: #ccc;
			  border: 1px solid rgba(139, 92, 246, 0.1);
	    }
	  .modal .score-item-me span { 
	    background: rgba(255, 215, 0, 0.15);
		  color: var(--gold);
		  border: 1px solid rgba(255, 215, 0, 0.3);
	  }
	  .modal .score-item-me > * { 
	  	color: #fff;
	  }

/* GLASS CARD */

.glass-card {
  background: rgba(255, 255, 255, 0.10); 
  backdrop-filter: blur(16px);           
  -webkit-backdrop-filter: blur(16px);   
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 20px;                   
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.30);
}

.form-control {
	background: #212729;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 15px;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
  font-weight: normal;
  color: #ccc;
}
.form-control:focus {
  background: #262229;
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  color: #fff;
}
	.form-floating > label {
	  color: #aaa;
	}
	.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
		color: #aaa;
	}
	.form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
		background: transparent;
	}

	/*.btn-primary {
		background: linear-gradient(135deg, rgba(255,0,127,0.8), rgba(112,0,255,0.8));
  	border: none;  	
  	transition: transform 0.2s, background 0.3s;
  	padding: 0.75rem 1.5rem;
  	font-size: 1.2rem;
	}
	.btn-primary:hover { 
		filter: brightness(1.1); 
		transform: translateY(-5px); 
	}*/

	.btn-primary {
	  background: linear-gradient(45deg, #ec4899, #8b5cf6, #3b82f6); 
	  background-size: 200% auto;
	  border: none;
	  border-radius: 50px;
	  color: #fff;
	  font-weight: 700;
	  font-size: 1.1rem;
	  padding: 16px 20px;
	  text-transform: uppercase;
	  letter-spacing: 1px;
	  transition: 0.5s;
	  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
	  width: 100%;
	  cursor: pointer;
	  display: block;
	  text-align: center;
	}
	.btn-primary:hover {
	  background-position: right center; 
	  transform: translateY(-5px);
	  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.6);
	  color: #fff;
	}

/* GAME NO USABLE RESPONSIVE */
#game-responsive-error {
	display: none;

	position: fixed;
  top: 15px;
  left: 15px;
  bottom: 15px;
  right: 15px;  
  background: rgba(128, 71, 71, 0.5);
  backdrop-filter: blur(20px);           
  -webkit-backdrop-filter: blur(20px);   
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 15px;                   
  padding: 15px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);  
  align-items: center;
  justify-content: center;
  z-index: 991;
}
	#game-responsive-error a {
		color: #fff;
	}
	#game-responsive-error .game-responsive-error-wrapper {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 40px 20px;
		text-align: center;
		color: #fff;
		height: 100%;
	}
	#game-responsive-error .game-responsive-error-utopik {
		max-width: 100%;
	}
	#game-responsive-error .game-responsive-error-logo {
		width: 60px;
		height: 60px;
		margin-bottom: 20px;
	}
	#game-responsive-error .game-responsive-error-content {
		font-size: 1.6rem;
	}

/* RESPONSIVE */	
@media (max-width: 1500px) {
	body {
		padding-left: 80px;
	}
}

@media only screen and (max-width: 992px) { /* TABLET */

	body {
		padding: 20px 0 !important;
	}

	body[data-tablet='0'] main {
		display: none;
	}
	#game-responsive-error[data-tablet='0'] {
		display: flex;
	}

	body {
		padding: 20px 0 !important;
		/*padding-left: 0 !important;*/
	}
  #game-nav {
    display: block !important;
    position: fixed;
    top: 10px;
    left: 10px;
    /*right: 15px;
    bottom: 20px;*/
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10); 
	  backdrop-filter: blur(16px);           
	  -webkit-backdrop-filter: blur(16px);   
	  border: 1px solid rgba(255, 255, 255, 0.2); 
	  border-radius: 26px;                   
	  padding: 20px;
	  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
	  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	  display: flex;
	  flex-direction: column;
	  max-width: none;
	  transform: translateY(0);
	  transition: all 300ms ease;
  }
  #game-nav #game-nav-content {
  	width: calc(100vw - 60px);
   	height: calc(100vh - 70px);
   	padding: 0;
  }


  .nav-burger-btn {
    position: relative;
    display: inline-block; 
    width: 35px; 
    height: 24px; 
    cursor: pointer;
    z-index: 100;
    margin: 10px auto; 
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
	}
	.nav-burger-btn .burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px; 
    background-color: #ffffff;
    border-radius: 4px; 
    transition: all 0.3s ease-in-out;
	}
	#game-nav {		
		height: 52px;
	}
	#game-nav.active .nav-burger-btn {
		top: 0;
		height: 40px;
		width: 35px;
	}
	#game-nav .nav-burger-btn{
		display: block;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    position: absolute;
    top: -16px !important;
    left: -11px !important;
    cursor: pointer;
    transition: all 400ms ease;
	}

	.nav-burger-btn .burger-line:nth-child(1) { top: 0px; }
	.nav-burger-btn .burger-line:nth-child(2) { top: 10px; } 
	.nav-burger-btn .burger-line:nth-child(3) { top: 20px; }

	#game-nav.active .nav-burger-btn .burger-line:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
	}
	#game-nav.active .nav-burger-btn .burger-line:nth-child(2) {
    opacity: 0;
	}
	#game-nav.active .nav-burger-btn .burger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
	}
	.nav-burger-btn span,
	.nav-burger-btn::before,
	.nav-burger-btn::after {
    background: linear-gradient(90deg, #FF66CC, #66CCFF, #CC66FF) !important;
	}


	.nav-burger-btn {	   
    width: 40px !important;  
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
	}

	/* (Optionnel) Sécurité supplémentaire pour bien centrer les lignes si elles utilisent une position absolue */
	.nav-burger-btn span {
    margin: 0 auto !important;
	}
	#game-nav.active .nav-burger-btn {
    position: fixed !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    top: 15px !important; 
    background: #fff;
    z-index: 9999 !important; /* S'assure que la croix passe toujours au-dessus du fond du menu */
	}


  #game-nav .nav-burger-btn {
		display: block;
		width: 52px;
		height: 52px;
		border-radius: 50%;
		position: absolute;
		top: 0;
		left: 0;
		cursor: pointer;
		transition: all 300ms ease;
	}
		#game-nav .nav-burger-btn img {
			display: block;
			width: 50px;
			height: 50px;
			border-radius: 50%;
		}
		#game-nav.active {
			width: calc(100vw - 20px);
    	height: calc(100vh - 20px);
		}
		#game-nav.active .nav-burger-btn {
			left: 50%;
			top: 20px;
			transform: translateX(-50%);
		}
  
  #game-nav .nav-item {
  	width: 100%;
  	border: none;
  	color: #fff;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: rgba(0, 0, 0, 0.3);
	  border: none;
  }
  	#game-nav .nav-item:first-child {
  		margin-top: 60px;
  	}
  	#game-nav .nav-item:hover,
  	#game-nav .nav-subitem > a:hover, 
		#game-nav .nav-subitem > a.active {
			transform: scale(1);
			border: none;
		}
  	#game-nav .nav-item > a span {
  		display: inline-block;
  		margin-left: 8px;
  	}
  #game-nav .nav-item-complex.nav-item-no-options .nav-item-complex-header,
  #game-nav .nav-item-complex-header {
  	position: static;
  }
  #game-nav .nav-item-complex {
  	width: 100%;
  	border: none;
  	color: #fff;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: rgba(0, 0, 0, 0.3);
  }
  #game-nav .nav-item-game .nav-item-complex-header,
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game .nav-item-complex-header {
  	position: static;
  }
  #game-nav .nav-item-game .nav-item-complex-btn img.nav-game-current,
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game .nav-item-complex-header img.nav-game-current {
  	display: none;
  }
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game {
  	height: auto;
  }
  #game-nav .nav-item-complex-btn,
  #game-nav .nav-item-game .nav-item-complex-btn {
  	width: auto;
  	height: auto;
  	overflow: none;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: transparent;
	  border: none;
  }
  #game-nav .nav-item-complex-hide {
  	min-width: 100%;
  	width: 100%;
  	padding: 20px;
  	text-align: center;
  }
  #game-nav .nav-item-complex.nav-item-with-options.nav-item-game,
  #game-nav .nav-item-complex.nav-item-with-options {
  	padding-top: 10px;
  }

  #game-nav .nav-subitem > a span {
  	margin-left: 8px;
  	display: inline-block;
  }
  #game-nav .nav-item-complex-btn {
  	text-align: center;
  	justify-content: center;
  	margin-bottom: 15px;
  }
  #game-nav .nav-item-complex.nav-item-no-options .nav-item-complex-btn {
  	margin: 0;
  	padding: 10px 0;
  }
  #game-nav .nav-item-complex-btn > a {
  	display: block;
  	text-align: center;
  	color: #ccc;
  }
  #game-nav .nav-item-complex-btn img.nav-game-current {
  	position: static;
  	width: 24px;
  	height: 24px;
  }
  #game-nav .nav-subitem > a.active {
  	transform: scale(1);
  }
  #game-nav .nav-item-complex-btn > span,
  #game-nav .nav-item-complex-btn > a > span {
  	display: inline-block;
  	margin-left: 8px;
  }
  #game-nav .nav-form-login {
  	display: none;
  }

  #game-nav .nav-item-complex-header-with-hide:hover .nav-item-complex-btn,
  #game-nav .nav-item-game .nav-item-complex-header-with-hide:hover .nav-item-complex-btn {
  	width: auto;
    height: auto;
    padding: 0;
    transform: none;
  }

}

@media only screen and (max-width: 768px) { /* MOBILE */

	body[data-mobile='0'] main,
	body[data-tablet='0'] main {
		display: none;
	}

	#game-responsive-error[data-mobile='0'],
	#game-responsive-error[data-tablet='0'] {
		display: flex;
	}

	/*body {
		padding: 20px 0 !important;
	}
  #game-nav {
    display: block !important;
    position: fixed;
    top: 10px;
    left: 10px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10); 
	  backdrop-filter: blur(16px);           
	  -webkit-backdrop-filter: blur(16px);   
	  border: 1px solid rgba(255, 255, 255, 0.2); 
	  border-radius: 26px;                   
	  padding: 20px;
	  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
	  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	  display: flex;
	  flex-direction: column;
	  max-width: none;
	  transform: translateY(0);
	  transition: all 300ms ease;
  }
  #game-nav #game-nav-content {
  	width: calc(100vw - 60px);
   	height: calc(100vh - 70px);
   	padding: 0;
  }


  .nav-burger-btn {
    position: relative;
    display: inline-block; 
    width: 35px; 
    height: 24px; 
    cursor: pointer;
    z-index: 100;
    margin: 10px auto; 
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
	}
	.nav-burger-btn .burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px; 
    background-color: #ffffff;
    border-radius: 4px; 
    transition: all 0.3s ease-in-out;
	}
	#game-nav {		
		height: 52px;
	}
	#game-nav.active .nav-burger-btn {
		top: 0;
		height: 40px;
		width: 35px;
	}
	#game-nav .nav-burger-btn{
		display: block;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    position: absolute;
    top: -16px !important;
    left: -11px !important;
    cursor: pointer;
    transition: all 400ms ease;
	}

	.nav-burger-btn .burger-line:nth-child(1) { top: 0px; }
	.nav-burger-btn .burger-line:nth-child(2) { top: 10px; } 
	.nav-burger-btn .burger-line:nth-child(3) { top: 20px; }

	#game-nav.active .nav-burger-btn .burger-line:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
	}
	#game-nav.active .nav-burger-btn .burger-line:nth-child(2) {
    opacity: 0;
	}
	#game-nav.active .nav-burger-btn .burger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
	}
	.nav-burger-btn span,
	.nav-burger-btn::before,
	.nav-burger-btn::after {
    background: linear-gradient(90deg, #FF66CC, #66CCFF, #CC66FF) !important;
	}


	.nav-burger-btn {	   
    width: 40px !important;  
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
	}

	.nav-burger-btn span {
    margin: 0 auto !important;
	}
	#game-nav.active .nav-burger-btn {
    position: fixed !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    top: 15px !important; 
    background: #fff;
    z-index: 9999 !important; 
	}
  #game-nav .nav-burger-btn {
		display: block;
		width: 52px;
		height: 52px;
		border-radius: 50%;
		position: absolute;
		top: 0;
		left: 0;
		cursor: pointer;
		transition: all 300ms ease;
	}
		#game-nav .nav-burger-btn img {
			display: block;
			width: 50px;
			height: 50px;
			border-radius: 50%;
		}
		#game-nav.active {
			width: calc(100vw - 20px);
    	height: calc(100vh - 20px);
		}
		#game-nav.active .nav-burger-btn {
			left: 50%;
			top: 20px;
			transform: translateX(-50%);
		}
  
  #game-nav .nav-item {
  	width: 100%;
  	border: none;
  	color: #fff;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: rgba(0, 0, 0, 0.3);
	  border: none;
  }
  	#game-nav .nav-item:first-child {
  		margin-top: 60px;
  	}
  	#game-nav .nav-item:hover,
  	#game-nav .nav-subitem > a:hover, 
		#game-nav .nav-subitem > a.active {
			transform: scale(1);
			border: none;
		}
  	#game-nav .nav-item > a span {
  		display: inline-block;
  		margin-left: 8px;
  	}
  #game-nav .nav-item-complex.nav-item-no-options .nav-item-complex-header,
  #game-nav .nav-item-complex-header {
  	position: static;
  }
  #game-nav .nav-item-complex {
  	width: 100%;
  	border: none;
  	color: #fff;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: rgba(0, 0, 0, 0.3);
  }
  #game-nav .nav-item-game .nav-item-complex-header,
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game .nav-item-complex-header {
  	position: static;
  }
  #game-nav .nav-item-game .nav-item-complex-btn img.nav-game-current,
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game .nav-item-complex-header img.nav-game-current {
  	display: none;
  }
  #game-nav .nav-item-complex.nav-item-no-options.nav-item-game {
  	height: auto;
  }
  #game-nav .nav-item-complex-btn,
  #game-nav .nav-item-game .nav-item-complex-btn {
  	width: auto;
  	height: auto;
  	overflow: none;
  	box-shadow: none;
	  backdrop-filter: none;
	  background-color: transparent;
	  border: none;
  }
  #game-nav .nav-item-complex-hide {
  	min-width: 100%;
  	width: 100%;
  	padding: 20px;
  	text-align: center;
  }
  #game-nav .nav-item-complex.nav-item-with-options.nav-item-game,
  #game-nav .nav-item-complex.nav-item-with-options {
  	padding-top: 10px;
  }

  #game-nav .nav-subitem > a span {
  	margin-left: 8px;
  	display: inline-block;
  }
  #game-nav .nav-item-complex-btn {
  	text-align: center;
  	justify-content: center;
  	margin-bottom: 15px;
  }
  #game-nav .nav-item-complex.nav-item-no-options .nav-item-complex-btn {
  	margin: 0;
  	padding: 10px 0;
  }
  #game-nav .nav-item-complex-btn > a {
  	display: block;
  	text-align: center;
  	color: #ccc;
  }
  #game-nav .nav-item-complex-btn img.nav-game-current {
  	position: static;
  	width: 24px;
  	height: 24px;
  }
  #game-nav .nav-subitem > a.active {
  	transform: scale(1);
  }
  #game-nav .nav-item-complex-btn > span,
  #game-nav .nav-item-complex-btn > a > span {
  	display: inline-block;
  	margin-left: 8px;
  }
  #game-nav .nav-form-login {
  	display: none;
  }

  #game-nav .nav-item-complex-header-with-hide:hover .nav-item-complex-btn,
  #game-nav .nav-item-game .nav-item-complex-header-with-hide:hover .nav-item-complex-btn {
  	width: auto;
    height: auto;
    padding: 0;
    transform: none;
  }*/

}

.card.is-mobile::after,
.slide.is-mobile::after {
    content: '\f3cd'; /* Code de l'icône téléphone (fa-mobile-screen) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    width: 28px;
    height: 28px;
    border-radius: 8px; /* Style raccord avec l'icône du jeu */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 5;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none; /* N'interfère pas avec le clic sur la carte */
}

/* Positionnement pour les cartes classiques de la grille */
.card.is-mobile::after {
    left: 90px; /* 24px (padding) + 56px (taille de l'icône) + 10px (marge) */
}

/* Positionnement ajusté si tu mets un jeu mobile dans le Slider tout en haut */
.slide.is-mobile::after {
    left: 115px; /* L'icône étant plus grande (80px), on décale un peu plus */
}

/* Effet lumineux au survol de la carte entière */
.card.is-mobile:hover::after,
.slide.is-mobile:hover::after {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
    transform: scale(1.1) rotate(5deg);
}

/* --- INDICATEUR DE COMPATIBILITÉ TABLETTE --- */
.card.is-tablet::before,
.slide.is-tablet::before {
    content: '\f3fa'; /* Nouvelle icône plus lisible (fa-tablet-button) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--neon-purple); /* Couleur Violette */
    color: var(--neon-purple);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem; /* Légèrement grossie pour mieux la voir */
    z-index: 5;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

/* Positionnement par défaut (si le jeu est UNIQUEMENT tablette) */
.card.is-tablet::before {
    left: 90px;
}
.slide.is-tablet::before {
    left: 115px;
}

/* Effet lumineux au survol de la carte */
.card.is-tablet:hover::before,
.slide.is-tablet:hover::before {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.6);
    transform: scale(1.1) rotate(-5deg);
}

/* --- GESTION COMBINÉE : MOBILE + TABLETTE --- */
/* Si les deux classes sont présentes, on décale la tablette à droite du téléphone */
.card.is-mobile.is-tablet::before {
    left: 126px; /* 90 (base) + 28 (largeur icône) + 8 (marge) */
}
.slide.is-mobile.is-tablet::before {
    left: 151px; /* 115 (base) + 28 (largeur icône) + 8 (marge) */
}


/* A LA FIN */
input:autofill,
select:autofill,
textarea:autofill {
  transition:
    background-color calc(infinity * 1s) step-end,
    background-image calc(infinity * 1s) step-end allow-discrete,
    color calc(infinity * 1s) step-end;
  }
}