.landing-page-cta {
	max-width: 100vw;
	height: auto;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 10px;
	padding-bottom: 1rem;
}

.landing-page-cta h1 {
	font-size: 3rem;
	font-weight: 700;
	color: #fff;
}

.landing-page-cta p {
	color: white;
}

.user-setup-form {
	max-width: 800px;
	width: 800px;
	padding: 2rem;
	border-radius: 1rem;

	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 8px;

	background-color: #fff;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.user-setup-form label {
	font-weight: bold;
}

.user-setup-form input[type="text"] {
	padding: 0.75rem;

	border: 1px solid #ccc;
	border-radius: 0.5rem;
}

.profile-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	justify-content: center;
}

.profile-pic {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s, border 0.2s;
	border: 2px solid transparent;
	justify-self: center;
}

.profile-pic:hover {
	transform: scale(1.05);
	border-color: #ff4e98;
}

.profile-pic.selected {
	transform: scale(1.05);
	border-color: #ff4e98;
}

.button-group {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.start-button {
	width: 100%;
	background-color: #ec4899;
	color: white;
}

.start-button:hover {
	background-color: #f472b6;
}

.join-button {
	background-color: #facc15;
	color: black;
}

.join-button:hover {
	background-color: #fde047;
}

.lobby-code-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 8px;
}

.g-recaptcha {
	align-items: center;
	align-self: center;
}

.user-setup-form p {
	text-align: center;
	font-weight: bold;
	color: #111827;
}

.user-setup-form a {
	font-weight: bold;
	color: #111827;
}

.how-to-play {
	background: white;
	color: #222;
	padding: 4rem 2rem;
}

.how-to-play h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
}

.how-to-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
	text-align: center;
}

.how-to-grid div {
	font-size: 1rem;
}

.how-to-grid div .emoji {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.testimonials-section {
	width: 100%;
	padding: 3rem 0;
	color: #8e44ad;
	text-align: center;
}

.testimonials-section h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: #ffffff;
}

.testimonials-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.testimonial-card {
	background-color: #fff;
	color: #8e44ad;
	border-radius: 1.5rem;
	padding: 1.5rem;
	width: 280px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.testimonial-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 1rem;
	object-fit: cover;
}

.testimonial-text {
	font-size: 1rem;
	font-style: italic;
	color: #555;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
	.landing-page-cta {
		padding: 1rem;
		text-align: center;
	}

	.landing-page-cta .logo {
		max-width: 80%;
		height: auto;
	}

	.user-setup-form {
		width: 100%;
		max-width: 100%;
		padding: 1.5rem;
		box-sizing: border-box;
	}

	.profile-grid {
    	grid-template-columns: repeat(3, 1fr);
		gap: 0.75rem;
	}

	.profile-pic {
		width: 70px;
		height: 70px;
	}

	.pill-button,
	.rectangle-button,
	.start-button,
	.join-button {
		font-size: 1rem;
		padding: 0.75rem;
	}

	.how-to-play {
		padding: 2rem 1rem;
	}

	.how-to-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.testimonials-container {
		display: flex;
		flex-wrap: wrap;
		gap: 1.5rem;
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
		padding: 0 1rem;
	}

	.testimonial-card {
		width: 100%;
		max-width: 320px;
		box-sizing: border-box;
		word-wrap: break-word;
	}

	.testimonial-card {
		width: 100%;
		max-width: 90%;
	}

	footer {
		padding: 1rem;
		font-size: 0.9rem;
		text-align: center;
	}

	footer div {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}
}
