/* General styles for the spinning wheel container */
#spinning-wheel-container {
	display: flex;
	width: 100%;
	max-width: 100%;
	justify-content: center;
	gap: 70px;
	height: 100%;
	align-items: center;
}
#wheel-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

a.term-condition {
	display: block;
	margin-bottom: 15px;
	font-family: "Bliss", Sans-serif;
	color: #000000;
	text-decoration: underline!important;
}

/* Spinning animation */
@keyframes spin-wheel {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Styles for the spinner (pointer) */
#wheel-pointer {
	position: absolute;
	top: 50%;
	right: -30px;
	width: 40px;
	height: 60px;
	background: #000000;
	transform: translate(-50%, -50%) rotate(270deg);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	z-index: 2;
	border-radius: 20px;
}

/* Form container styling */
#wheel-form-container {
	padding: 20px;
	max-width: 400px;
	background: #ffffffc9;
}

/* Form field styling */
#wheel-form-container input[type="text"],
#wheel-form-container input[type="email"],
#wheel-form-container input[type="tel"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Submit button styling */
#wheel-form-container button[type="submit"] {
	width: 100%;
	padding: 10px;
	background-color: #ac1124;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s, box-shadow 0.3s;
}

#wheel-form-container button[type="submit"]:hover {
	background-color: #ac1124;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#wheel-form-container button[type="submit"] {
	font-family: "Cinzel Decorative", Sans-serif;
}

/* Popup styling */
#wheel-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	width: 80%;
	max-width: 300px;
	background: white;
	border: 2px solid #2980b9;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: none; /* Hidden by default */
	z-index: 9999;
}

#wheel-popup h3 {
	margin: 0;
	font-size: 18px;
	text-align: center;
	color: #2980b9;
	margin-bottom: 10px;
}

#wheel-popup p {
	font-size: 14px;
	text-align: center;
}

#wheel-popup button {
	display: block;
	margin: 10px auto 0;
	padding: 10px 20px;
	background-color: #ac1124;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

#wheel-popup button:hover {
	background-color: #ac1124;
}
div#wheel-container:after {
	content: "";
	width: 50px;
	height: 50px;
	background: #dc7344;
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	border: solid 5px #3e2722;
}
div#winning-prize-popup {
	background: #fffffff2;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: fixed;
	max-width: 800px;
	max-height: 400px;
	width: 100%;
	height: 100%;
	top: 50%;
	right: 50%;
	display: flex;
	z-index: 2;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: #ffffff;
	transform: translate(50%, -50%);
	padding: 20px;
}

div#winning-prize-popup p {
	color: #000000;
	font-family: "Bliss", Sans-serif;
	max-width: 600px;
	text-align: center;
	font-size: 22px;
}

.bold-text {
	font-weight: bold;
}

div#winning-prize-popup button {
	padding: 10px 40px;
	background-color: #ac1124;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s, box-shadow 0.3s;
	font-family: "Cinzel Decorative", Sans-serif;
}
div#winning-prize-popup button:hover {
	background-color: #ac1124;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form-desc{
	color: #000000;
	margin-bottom: 30px;
	font-family: "Bliss", Sans-serif;
}

@media(max-width: 1024px){ 
	canvas#spinning-wheel {
		width: 500px;
		height: 500px;
	}
}

@media(max-width: 912px){ 
	#spinning-wheel-container{
		flex-direction: column;
		gap: 30px;
	}
}

@media(max-width: 768px){
	canvas#spinning-wheel {
		width: 350px;
		height: 350px;
	}
}