.cld-lucky-draw-container {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 40px auto;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.cld-wheel-wrapper {
	position: relative;
	width: 500px;
	height: 500px;
	margin: 0 auto;
	border-radius: 50%;
	border: 12px solid #fff;
	box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 0 0 12px #2c3e50 inset;
	overflow: hidden;
	background: #fff;
	box-sizing: border-box; /* Ensure border is included in size */
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
	.cld-wheel-wrapper {
		width: 320px;
		height: 320px;
		border-width: 8px;
		box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 0 0 8px #2c3e50 inset;
	}
}

.cld-wheel {
	width: 100%;
	height: 100%;
	transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
	transform-origin: center center;
	will-change: transform; /* Optimize rendering */
}

#cld-spin-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #ff4e50, #f9d423);
	color: #fff;
	border: 5px solid #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	cursor: pointer;
	font-weight: 800;
	font-size: 18px;
	z-index: 20;
	outline: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	transition: transform 0.2s, box-shadow 0.2s;
}

#cld-spin-btn:hover {
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

#cld-spin-btn:active {
	transform: translate(-50%, -50%) scale(0.95);
}

.cld-pointer {
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 35px solid transparent;
	border-right: 35px solid transparent;
	border-top: 60px solid #2c3e50;
	filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4));
	z-index: 25;
}

#cld-result-message {
	margin-top: 30px;
	font-size: 1.5em;
	font-weight: bold;
	color: #333;
	min-height: 1.5em;
	padding: 15px;
	border-radius: 8px;
	background: #f0f2f5;
	opacity: 0;
	transition: opacity 0.5s;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#cld-result-message.show {
	opacity: 1;
}
