*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

*::-webkit-scrollbar {
	display: none;
}

body {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: "Inter", sans-serif;
	margin: 0;
	padding: 20px 0 0 0;
	background-color: #1a1a1a;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-image: url("images/world_img.webp");
	filter: brightness(0.9) contrast(1.5) saturate(1.8);
	background-color: rgba(73, 73, 68, 0.141);
	background-blend-mode: multiply;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	pointer-events: none;
}

.main-title {
	margin-top: 8rem;
}

.bento-grid {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	position: relative;
	padding: 50px 0;
	z-index: 10;
}

.bento-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(15px) saturate(180%);
	-webkit-backdrop-filter: blur(15px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition:
		transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.4s ease,
		box-shadow 0.5s ease;
	border-left: 3px solid rgba(255, 255, 255, 0.8);
	border-radius: 12px;
	will-change: transform;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	color: #000000;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	line-height: 1.2;
}

.bento-card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(255, 255, 255, 0.99);
}

/* Country Cards */

.country-card {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 12px auto !important;
	padding: 10px !important;
	border-radius: 15px !important;
	text-decoration: none !important;
	min-height: 70px !important;
	border: none !important;
	color: #ffffff !important;
	width: 100% !important;
	padding: 12px 5px !important;
	border-radius: 10px !important;
	text-align: center !important;
	font-size: 1.2rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.country-card.green {
	background-color: rgba(0, 180, 0, 0.9) !important;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.country-card.amber {
	background-color: rgba(223, 157, 16, 0.9) !important;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.country-card.red {
	background-color: rgba(200, 0, 0, 0.9) !important;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.country-card.ice {
	background-color: rgba(102, 207, 241, 0.966) !important;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.country-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.country-card:hover span {
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.country-card.red:hover {
	box-shadow: 0 0 20px rgb(247, 1, 1);
}

.country-card:active {
	transform: scale(0.97);
	filter: brightness(0.9);
}

/* --- RESPONSIVE BREAKPOINTS --- */

@media screen and (max-width: 480px) {
	body::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		background: url("images/world_img_mobile.webp") center/cover no-repeat;
		background-size: 100% 100%;
		filter: brightness(0.7) contrast(1.6) saturate(1.8);
		background-color: rgba(25, 1, 241, 0.281);
		background-blend-mode: multiply;
	}

	/* .master-grid-container {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		width: 100%;
		padding: 10px;
		gap: 15px;
		z-index: 10;
	} */

	.main-title {
		margin-top: 4rem;
		font-size: 2.8rem;
		letter-spacing: 6px;
	}

	.bento-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		width: 100% !important;
		gap: 15px;
		position: relative;
		z-index: 10;
	}

	.master-grid-container > *,
	.country-card,
	#manual-news-portal,
	.u-u-link,
	.main-header,
	#info-display-area {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		box-sizing: border-box;
	}
}

/* --- MOBILE & TABLET BACKGROUND --- */

@media screen and (max-width: 1100px) {
	body::before {
		background: url("images/world_img_mobile.webp") center/cover no-repeat !important;
		background-size: 100% 100% !important;
		filter: brightness(0.9) contrast(1.5) saturate(1.8) !important;
		background-color: rgba(73, 73, 68, 0.141) !important;
		background-blend-mode: multiply !important;
	}
}

@media (min-width: 481px) and (max-width: 1100px) {
	body::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		background: url("images/world_img_mobile.webp") center/cover no-repeat;
		background-size: 100% 100%;
		filter: brightness(0.9) contrast(1.5) saturate(1.8);
		background-color: rgba(73, 73, 68, 0.141);
		background-blend-mode: multiply;
	}

	.master-grid-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 0 30px 40px 30px;
	}

	.bento-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 20px !important;
		gap: 20px !important;
	}
}

/* 27" Monitor "Studio Mode" */
@media (min-width: 1700px) {
	.home-hero {
		margin-top: 6vh !important;
		text-align: center;
	}

	.home-hero .main-title {
		font-size: 5rem !important;
	}
}

/* 30" Monitor "Studio Mode" */
@media (min-width: 2000px) {
	.home-hero {
		margin-top: 17vh !important;
		text-align: center;
	}

	.home-hero .main-title {
		font-size: 5rem !important;
	}
}
