.content {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.content h1 {
	color: #333;
	margin-bottom: 20px;
}

.content p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}

/* Modal Overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 1;
	transition: opacity 1s ease-in-out;
}

.modal-overlay.fade-out {
	opacity: 0;
	pointer-events: none;
}

/* Modal Container */
.modal-container {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: white;
	border-radius: 15px;
	max-width: 700px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	position: relative;
	animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Close Button */
.close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	z-index: 10;
}

.close-btn:hover {
	background: rgba(0, 0, 0, 0.8);
}

/* Modal Content Layout */
.modal-content {
	padding: 30px;
}

.modal-header {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.modal-image {
	flex-shrink: 0;
}

.modal-image img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-text-side {
	flex: 1;
	min-width: 250px;
}

.modal-text-side h2 {
	color: #333;
	margin-bottom: 10px;
	font-size: 28px;
}

.modal-text-side h3 {
	color: #667eea;
	margin-bottom: 15px;
	font-size: 18px;
	font-weight: normal;
}

.modal-text-side p {
	color: #666;
	line-height: 1.6;
}

.modal-text-bottom {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}

.modal-text-bottom h3 {
	color: #333;
	margin-bottom: 5px;
	font-size: 20px;
}

.modal-text-bottom p {
	color: #666;
	line-height: 1.4;
}

/* Timer indicator */
.timer-bar {
	position: sticky;
	bottom: 0;
	left: 0;
	height: 16px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	width: 100%;
	animation: shrinkTimer 20s linear;
	border-radius: 0 0 15px 15px;
}

@keyframes shrinkTimer {
	from {
		width: 100%;
	}
	to {
		width: 0%;
	}
}

/* Responsive */
@media (max-width: 600px) {
	.modal-header {
		flex-direction: column;
		align-items: center;
	}

	.modal-image img {
		width: 150px;
		height: 150px;
	}

	.modal-text-side {
		text-align: center;
	}
}

