/* Модальное окно */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
.modal-overlay.active {
	display: flex;
}
.modal-content {
	background: white;
	border-radius: 12px;
	max-width: 600px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
	animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #ff4444;
	color: white;
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	font-size: 32px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 10;
	animation: fadeIn 0.3s ease-out;
}
.modal-close.visible {
	display: flex;
}
@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.8); }
	to { opacity: 1; transform: scale(1); }
}
.modal-close:hover {
	background: #cc0000;
}
.modal-body {
	padding: 40px 30px;
}
.ad-banner {
	/*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 40px;*/
	border-radius: 8px;
	text-align: center;
	margin-bottom: 20px;
}
.timer-info {
	text-align: center;
	color: #666;
	font-size: 14px;
	margin-top: 15px;
}
.timer-bar {
	width: 100%;
	height: 4px;
	background: #e0e0e0;
	border-radius: 2px;
	overflow: hidden;
	margin-top: 10px;
}
.timer-progress {
	height: 100%;
	background: #667eea;
	width: 100%;
	transition: width linear;
}