/* Styles spécifiques pour la page d'accueil */

#home_page {
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 100vh;
}

/* Barre de jeux partenaires */
#home_page #gamebar {
	width: 100%;
	background: linear-gradient(180deg, #1a2a4a 0%, #0d1a2e 100%);
	border-bottom: 1px solid #2a3f5f;
	font-size: 13px;
	position: relative;
	z-index: 100;
}

#home_page .gamebar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

#home_page .gamebar-links {
	display: flex;
	align-items: center;
	gap: 0;
}

#home_page .gamebar-item {
	padding: 8px 16px;
	color: #8ba4c4;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 11px;
	transition: color 0.2s, background 0.2s;
	border-right: 1px solid #2a3f5f;
}

#home_page .gamebar-item:first-child {
	border-left: 1px solid #2a3f5f;
}

#home_page .gamebar-item:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

#home_page .gamebar-item.disabled {
	color: #4a5a70;
	cursor: default;
	pointer-events: none;
}

#home_page .gamebar-item.active {
	color: #fff;
	background: rgba(100, 160, 255, 0.15);
	border-bottom: 2px solid #5a9fff;
}

#home_page .gamebar-dropdown {
	position: relative;
}

#home_page .gamebar-dropdown-toggle {
	background: none;
	border: 1px solid #2a3f5f;
	color: #8ba4c4;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: color 0.2s, background 0.2s;
}

#home_page .gamebar-dropdown-toggle:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

#home_page .gamebar-dropdown-toggle i {
	margin-left: 4px;
	font-size: 10px;
}

#home_page .gamebar-dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: #0d1a2e;
	border: 1px solid #2a3f5f;
	min-width: 180px;
	padding: 8px;
	z-index: 200;
}

#home_page .gamebar-dropdown:hover .gamebar-dropdown-menu {
	display: block;
}

#home_page .gamebar-dropdown-item {
	display: block;
	transition: opacity 0.2s;
}

#home_page .gamebar-dropdown-item:hover {
	opacity: 0.8;
}

#home_page .gamebar-dropdown-item img {
	width: 100%;
	height: auto;
	display: block;
}

#home_page main {
	display: flex;
	background-color: var(--main-bg-color);
	text-align: center;
	width: 1100px;
	padding: 20px;
}

#home_page .home_page_main_div1 {
	width: 65%;
	padding-right: 20px;
}

#home_page .home_page_main_div2 {
	width: 35%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#home_page.register_page main {
	width: 1000px;
}

#home_page #logo {
	text-align: center;
	width: 70%;
}

#home_page input[type="email"],
#home_page input[type="password"],
#home_page input[type="text"],
#home_page select {
	padding: 10px 15px;
	display: block;
	margin: 10px auto;
}

#home_page select {
	width: 220px;
	text-align: center;
}

#home_page footer {
	text-align: center;
	background-color: #2d2d2d;
	color: var(--font-color);
	padding: 5px;
	width: 100%;
	font-size: 11px;
}

.home_page_error {
	color: var(--font-color);
	background-color: var(--red-color);
	font-weight: bold;
	padding: 10px;
	width: 95%;
	margin: auto;
}

.home_page_success {
	color: var(--font-color);
	background-color: #3B9712;
	font-weight: bold;
	padding: 10px;
	width: 95%;
	margin: auto;
}

#home_page .race_description div {
	margin-bottom: 3px;
}

#home_page .game-description {
	background: rgba(8, 8, 32, 0.8);
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
	line-height: 1.6;
}

#home_page .game-description p {
	text-align: justify;
	margin-bottom: 15px;
}

#home_page .features-container {
	background: rgba(24, 12, 36, 0.8);
	padding: 10px 20px 20px;
	border-radius: 5px;
	margin: 20px 0;
}

#home_page .features-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
	list-style-type: none;
	padding-left: 0;
}

#home_page .features-list li {
	padding: 10px;
	border: 1px solid var(--border-color-3);
	border-radius: 4px;
	background: rgba(8, 8, 32, 0.5);
	transition: transform 0.3s, box-shadow 0.3s;
}

#home_page .features-list li:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(148, 195, 255, 0.2);
}

#home_page .features-list li i {
	margin-right: 8px;
	color: var(--border-color-1);
}

#home_page .call-to-action {
	text-align: center;
	padding: 15px;
	background: rgba(8, 8, 32, 0.8);
	border-radius: 5px;
	margin: 25px 0;
	font-size: 16px;
}

#home_page .social-links {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

#home_page .social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: rgba(114, 137, 218, 0.8);
	border-radius: 5px;
	transition: all 0.3s;
	color: white;
	font-weight: bold;
}

#home_page .social-btn:hover {
	background: rgba(114, 137, 218, 1);
	transform: scale(1.05);
}

#home_page .social-btn i {
	font-size: 24px;
	margin-right: 10px;
}

/* Animation pour le logo */
#home_page .pulse-glow {
	animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
	0% {
		filter: drop-shadow(0 0 5px rgba(148, 195, 255, 0.4));
	}

	50% {
		filter: drop-shadow(0 0 15px rgba(148, 195, 255, 0.7));
	}

	100% {
		filter: drop-shadow(0 0 5px rgba(148, 195, 255, 0.4));
	}
}

@media (max-width: 768px) {
	#home_page .gamebar-item {
		font-size: 9px;
		padding: 6px 8px;
		letter-spacing: 0;
	}

	#home_page .gamebar-dropdown-toggle {
		font-size: 9px;
		padding: 4px 8px;
	}

	#home_page #gamebar {
		margin-bottom: 30px;
	}

	#home_page .gamebar-container {
		padding: 0;
	}
}