/* контейнер */
.fortune-wheel-container {
	font-family: "Roboto", sans-serif;
	width: 100%;
	margin: 40px auto;
	background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
	border-radius: 20px;
	padding: 30px 15px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,.3);
	position: relative;
	overflow: hidden;
}

.fortune-wheel-container * {
	font-family: "Roboto", sans-serif !important;
}

.fortune-wheel-container h2 {
	color: #fff;
	font-size: 28px;
	margin-bottom: 12px;
}

.fortune-wheel-container p {
	color: rgba(255,255,255,.9);
	font-size: 18px;
	margin-bottom: 25px;
}

/* обертка для колеса */
.wheel-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 481px;
}

#wheel-img {
	width: 100%;
	height: auto;
	transition: transform 4s cubic-bezier(.25,.1,.25,1);
	filter: drop-shadow(0 0 20px rgba(0,0,0,.3));
}

/* кнопка в центре */
.spin-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 90px;
	height: 90px;
	background: linear-gradient(135deg,#ff6b6b 0%,#ff8787 100%);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0,0,0,.3);
	transition: .3s;
	z-index: 10;
}

.spin-button:hover {
	transform: translate(-50%,-50%) scale(1.1);
}

.spin-button:active {
	transform: translate(-50%,-50%) scale(.95);
}

/* стрелка на кнопке */
.arrow {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 18px solid #fff;
	filter: drop-shadow(0 2px 3px rgba(0,0,0,.4));
	z-index: 11;
}

/* popup */
.popup {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.8);
	z-index: 100;
	justify-content: center;
	align-items: center;
}

.popup-content {
	font-family: "Roboto", sans-serif;
	background: #fff;
	padding: 35px;
	border-radius: 20px;
	text-align: center;
	max-width: 350px;
	animation: popupSlide .5s ease;
	box-shadow: 0 10px 40px rgba(0,0,0,.3);
}

.popup-content * {
	font-family: "Roboto", sans-serif !important;
}

@keyframes popupSlide {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.popup h3 {
	font-size: 26px;
	margin-bottom: 10px;
}

.popup p {
	font-size: 18px;
	margin-bottom: 20px;
}

.apply-discount {
	background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
	color: #fff;
	border: none;
	padding: 12px 35px;
	font-size: 18px;
	border-radius: 30px;
	cursor: pointer;
}

/* блок заказа */
.order-block {
	display: none;
	background: #fff;
	padding: 25px 15px;
	border-radius: 20px;
	margin-top: 25px;
}

.warning {
	font-weight: 700;
	color: #ff4444;
	margin-bottom: 20px;
	font-size: 18px;
	line-height: 1.4;
	padding: 15px;
	background: #ffe6e6;
	border-radius: 10px;
	border-left: 4px solid #ff4444;
}

.product-image {
	width: 260px;
	height: 260px;
	margin: 0 auto 15px;
	background: #f0f0f0 url(../ruletka/prostalis.png) no-repeat center center / contain;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #666;
}

.price {
	margin: 15px 0;
}

.old-price {
	color: #999;
	text-decoration: line-through;
	font-size: 22px;
}

.new-price {
	color: #ff4444;
	font-size: 34px;
	font-weight: 700;
	margin-left: 10px;
}

.timer {
	margin: 20px 0;
	padding: 15px;
	background: #f8f8f8;
	border-radius: 10px;
}

.timer-label {
	font-size: 15px;
	color: #666;
}

.countdown {
	font-size: 26px;
	font-weight: 700;
	color: #ff4444;
	font-family: Courier,monospace;
}

.order-form {
	margin: 20px 0;
}

.order-form input {
	width: 100%;
	padding: 14px;
	margin: 8px 0;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 18px;
}

.order-form input:focus {
	border-color: #667eea;
	outline: none;
}

.order-button {
	width: 100%;
	background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
	color: #fff;
	border: none;
	padding: 15px;
	font-size: 18px;
	border-radius: 10px;
	cursor: pointer;
}

.features {
	display: flex;
	justify-content: space-around;
	margin-top: 20px;
	font-size: 16px;
	color: #666;
}

.feature {
	display: flex;
	align-items: center;
}

.feature-icon {
	margin-right: 5px;
	font-size: 20px;
}

@media (max-width:600px) {
	.fortune-wheel-container {
		padding: 20px 10px;
	}

	.spin-button {
		width: 70px;
		height: 70px;
		font-size: 16px;
	}

	.arrow {
		top: -12px;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 14px solid #fff;
	}
}

@media (max-width:515px) {
 .features {
    flex-direction: column;
 }
}