:root {
	--popup-text-primary: #ffffff;
	--popup-color-primary: #fc634f;
	--popup-color-primary-hover: #ef8c26;
	--popup-color-primary-active: #ef8c26;
	--popup-color-primary-alt: #ef8c26;
	--popup-color-accent: #000000;
	--popup-color-gradient-end: #fc634f;
	--popup-bg: #080c15;
}

.casino-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 5px;
	visibility: hidden;
	opacity: 0;
	background: var(--popup-bg);
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 1100;
}

.casino-popup.show {
	visibility: visible;
	opacity: 1;
}

.redirect-notice {
	text-align: center;
	color: #fff;
	padding: 15px;
	animation: fadeIn 0.5s ease-in-out;
}

.notice-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
	color: white;
}

.roulette-wheel {
	position: relative;
	width: 120px;
	height: 120px;
	animation: spin 3s linear infinite;
}

.wheel-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border: 3px solid var(--popup-text-primary);
	border-radius: 50%;
	background: conic-gradient(from 0deg,
			var(--popup-color-primary) 0deg 45deg,
			var(--popup-color-accent) 45deg 90deg,
			var(--popup-color-primary) 90deg 135deg,
			var(--popup-color-accent) 135deg 180deg,
			var(--popup-color-primary) 180deg 225deg,
			var(--popup-color-accent) 225deg 270deg,
			var(--popup-color-primary) 270deg 315deg,
			var(--popup-color-accent) 315deg 360deg);
	box-shadow: 0 0 30px rgba(32, 153, 255, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.wheel-center {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--popup-text-primary);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.ball {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--popup-color-accent);
	box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
	animation: ballBounce 0.6s ease-in-out infinite alternate;
}

.progress-container {
	width: 280px;
	text-align: center;
}

.progress-bar {
	position: relative;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #9a68d1;
	box-shadow: 0 0 10px rgba(32, 153, 255, 0.6);
}

.progress-fill {
	width: 0%;
	height: 100%;
	overflow: hidden;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--popup-color-primary), var(--popup-color-gradient-end), var(--popup-color-primary));
	background-size: 200% 100%;
	transition: width 0.3s linear;
	animation: progressShine 2s ease-in-out infinite;
}

.progress-text {
	margin-top: 12px;
	font-size: 14px;
	font-weight: bold;
	color: var(--popup-color-primary);
}