.interstitial-dialog,
.rewarded-dialog {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1001;
	/* backdrop-filter: blur(5px); */
	/* -webkit-backdrop-filter: blur(5px); */
}

.interstitial-content,
.rewarded-content {
	background-color: white;
	padding: 24px;
	border-radius: 12px;
	min-width: 320px;
	max-width: 90%;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	animation: dialog-appear 0.3s ease-out;
}

@keyframes dialog-appear {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.interstitial-header,
.rewarded-header {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.interstitial-header h2,
.rewarded-header h2 {
	margin: 0;
	font-size: 1.5em;
	color: #333;
	font-weight: 600;
}

.close-button {
	background-color: white;
	border: none;
	font-size: 16px;
	cursor: pointer;
	padding: 10px 24px;
	transition: all 0.2s ease;
	border-radius: 8px;
}

.close-button:hover {
	background-color: #f5f5f5;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#countdown-timer,
#rewarded-countdown-timer {
	text-align: center;
	padding: 16px 0;
}

.timer-label {
	color: #666;
	font-size: 1em;
	margin-bottom: 8px;
}

.timer-value {
	font-size: 2em;
	font-weight: 600;
	color: #333;
}

.reward-note {
	text-align: center;
	color: #666;
	font-size: 0.9em;
	margin-top: 16px;
	padding: 12px;
	background-color: #f5f5f5;
	border-radius: 6px;
}

.outside-button {
	min-width: 160px;
	background-color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.outside-button:hover {
	background-color: #f5f5f5;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.button-container {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}
