:root {
	--primary-green: #2ae700;
	--primary-blue: #303f9f;
	--light-gray-bg: #f0f0f0;
	--light-gray-text: #9e9e9e;
	--border-color: #c0c0c0;
	--label-color: #888;
	--card-bg: #ffffff;
	--body-bg: #f0f2f5;
}

/* General & Mobile-First Styles */
body {
	font-family: 'Noto Sans Thai', sans-serif;
	background-color: #f4f7f9;
	margin: 0;
	padding: 0;
	color: #333;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	margin-bottom: 1rem;
}

.video-container2 {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	margin-bottom: 1rem;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-container2 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.popup-overlay {
	/* Start with overlay being invisible and not interactive */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.popup-content {
	/* Start with popup translated below its final centered position */
	transform: translateY(100vh); /* Start from bottom of the viewport */
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease-in-out;
}
.popup-overlay.active {
	/* Make overlay visible and interactive */
	opacity: 1;
	visibility: visible;
}
.popup-overlay.active .popup-content {
	/* Slide the popup into the center and fade it in */
	transform: translateY(0);
	opacity: 1;
}
