#home h1 { 
	text-align: center;
	font-size: 78px;
}

#player-name-container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.9);
	border-top: 2px solid #ffff00;
	z-index: 1000;
	padding: 10px 0;
}

#player-name-section {
	text-align: center;
	margin: 0;
}

#player-name-section h3 {
	margin: 10px 0;
	font-size: 18px;
	color: #fff;
	position: static;
}

#player-name {
	padding: 8px;
	font-size: 16px;
	width: 180px;
	margin: 0 10px;
	border: 2px solid #ffff00;
	background: #000;
	color: #fff;
	text-align: center;
}

#player-country {
	padding: 8px;
	font-size: 16px;
	width: 200px;
	margin: 10px 10px;
	border: 2px solid #ffff00;
	background: #000;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

#player-country option {
	background: #000;
	color: #fff;
	padding: 4px;
}

#start-game-btn {
	padding: 8px 16px;
	font-size: 16px;
	background: #ffff00;
	color: #000;
	border: none;
	cursor: pointer;
	font-weight: bold;
	margin-left: 10px;
}

#start-game-btn:hover {
	background: #fff200;
}
#home h3 { 
	position: absolute;
	margin: auto;
	left: 0px;
	right: 0px;
	bottom: 5px;
	text-align: center;
}
#home h3 em { 
	font-size: inherit;
	font-style: inherit;
	color: #fff200;
}
#canvas-home-title-pacman { 
	background-color: #000;
	position: absolute;
	top: 10px;
	left: 182px;
	height: 100px;
	width: 118px;
}
#canvas-panel-title-pacman { 
	background-color: #000;
	position: absolute;
	top: 6px;
	left: 47px;
	height: 32px;
	width: 38px;
}

#presentation { 
	position: absolute;
	margin: auto;
	padding: 0px;
	left: 0px;
	right: 0px;
	top: 200px;
	width: 500px;
	height: 250px;
}
#presentation-titles { 
	position: absolute;
	width: 360px;
	height: 28px;
	top: 10px;
	left: 117px;
	letter-spacing: 2px;
	font-size: 20px;
	text-transform: uppercase;
	color: #fff;
}
#canvas-presentation-blinky, #canvas-presentation-pinky, #canvas-presentation-inky, #canvas-presentation-clyde { 
	position: absolute;
	width: 50px;
	height: 50px;
	left: 35px;
}
#canvas-presentation-blinky { 
	top: 40px;
}
#canvas-presentation-pinky { 
	top: 90px;
}
#canvas-presentation-inky { 
	top: 140px;
}
#canvas-presentation-clyde { 
	top: 190px;
}
#presentation-character-blinky, #presentation-character-pinky, #presentation-character-inky, #presentation-character-clyde, 
#presentation-name-blinky, #presentation-name-pinky, #presentation-name-inky, #presentation-name-clyde { 
	position: absolute;
	width: 180px;
	height: 28px;
	left: 120px;
	letter-spacing: 2px;
	font-size: 20px;
	text-transform: uppercase;
}
#presentation-name-blinky, #presentation-name-pinky, #presentation-name-inky, #presentation-name-clyde { 
	left: 310px;
	width: 180px;
}
#presentation-character-blinky, #presentation-name-blinky { 
	top: 50px;
	color: #ed1b24;
}
#presentation-character-pinky, #presentation-name-pinky { 
	top: 100px;
	color: #feaec9;
}
#presentation-character-inky, #presentation-name-inky { 
	top: 150px;
	color: #4adecb;
}
#presentation-character-clyde, #presentation-name-clyde { 
	top: 200px;
	color: #f99c00;
}

#trailer { 
	position: absolute;
	margin: auto;
	padding: 0px;
	left: 0px;
	right: 0px;
	bottom: 100px;
	width: 500px;
	height: 50px;
}

@media screen and (min-height:1200px), screen and (min-device-height : 1200px) { 

}

@media screen and (max-width:1024px), screen and (min-device-width : 768px) and (max-device-width : 1024px) { 

	
	#canvas-panel-title-pacman { 
		left: 49px;
		width: 42px;
	}
}

@media screen and (max-height:640px), screen and (min-device-height : 480px) and (max-device-height : 640px) and (-webkit-device-pixel-ratio: 3) { 

}
@media screen and (max-height:480px), screen and (min-device-height : 320px) and (max-device-height : 480px) { 

}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
	#home {
		width: 100vw;
		max-width: 100vw;
		margin: 0;
		padding: 5px;
		box-sizing: border-box;
		height: 100vh;
		overflow: hidden;
	}
	
	#player-name-container {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: rgba(0, 0, 0, 0.95);
		border-top: 2px solid #ffff00;
		z-index: 1000;
		padding: 15px 0;
		max-height: 220px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	#player-name-section {
		text-align: center;
		margin: 0;
		padding: 0 10px;
	}
	
	#player-name-section h3 {
		margin: 8px 0;
		font-size: 14px;
	}
	
	#player-name {
		width: 150px;
		font-size: 14px;
		padding: 6px;
		margin: 5px;
	}
	
	#player-country {
		width: 150px;
		font-size: 14px;
		padding: 6px;
		margin: 5px;
	}
	
	#start-game-btn {
		font-size: 14px;
		padding: 6px 12px;
		margin: 5px;
	}
	
	#presentation {
		display: none;
	}
	
	#trailer {
		display: none;
	}
	
	#home h1 {
		font-size: 48px;
		margin-bottom: 20px;
	}
	
	#home h3 {
		bottom: 210px;
		font-size: 16px;
	}
}

/* Home Buttons Container */
#home-buttons-container {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.9);
	border-top: 2px solid #ffff00;
	z-index: 1000;
	padding: 20px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.home-action-btn {
	padding: 16px 40px;
	font-size: 20px;
	font-weight: bold;
	background: #ffff00;
	color: #000;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	transition: all 0.3s ease;
	min-width: 250px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.home-action-btn:hover {
	background: #fff200;
	transform: translateY(-2px);
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.home-action-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button Group for Back and Start buttons */
.button-group {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.secondary-btn {
	padding: 8px 16px;
	font-size: 16px;
	background: #333;
	color: #fff;
	border: 2px solid #ffff00;
	cursor: pointer;
	font-weight: bold;
	border-radius: 3px;
	transition: all 0.2s ease;
}

.secondary-btn:hover {
	background: #444;
	border-color: #fff200;
}

/* Mobile styles for new buttons */
@media screen and (max-width: 768px) {
	#home-buttons-container {
		flex-direction: column;
		gap: 15px;
		padding: 15px 10px;
	}

	.home-action-btn {
		min-width: 200px;
		font-size: 18px;
		padding: 14px 30px;
	}

	.button-group {
		flex-direction: column;
		gap: 8px;
		width: 100%;
	}

	.button-group button {
		width: 90%;
		max-width: 200px;
	}

	.secondary-btn {
		font-size: 14px;
		padding: 6px 12px;
	}
}