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

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	min-height: 100dvh;
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	font-family: 'Plus Jakarta Sans', Arial, sans-serif;
	background-color: #8ccbc2;
	text-align: center;
	position: relative;
	overflow-x: hidden;
	color: #173b70;
}

/* Main layout container with dynamic height & dynamic padding */
main {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: clamp(12px, 3vh, 30px) clamp(12px, 4vw, 24px);
	max-width: 900px;
	margin-inline: auto;
}

/* Dynamic Hero Card */
#head-index {
	padding: clamp(14px, 3vh, 30px) clamp(16px, 4vw, 25px);
	width: 100%;
	max-width: 600px;
}

/* Dynamic Logo */
#logo-unj {
	width: clamp(90px, 18vh, 180px);
	height: auto;
	margin-top: 0;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
	transition: transform 0.3s ease;
}

#logo-unj:hover {
	transform: scale(1.05) rotate(-2deg);
}

/* Dynamic Heading */
h1 {
	color: #173b70;
	font-size: clamp(22px, 5vh, 42px);
	margin: clamp(6px, 1.5vh, 15px) 0 clamp(4px, 1vh, 8px);
	font-weight: 900;
	letter-spacing: 1.5px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Dynamic Description */
p {
	color: #1a437e;
	font-size: clamp(12px, 2vh, 17px);
	font-weight: 500;
	margin: 0;
	line-height: 1.4;
}

/* Main CTA Button Wrapper */
#start-wrapper {
	margin-top: auto;
	margin-bottom: auto;
	padding: clamp(10px, 2vh, 24px) 0;
}

#start {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1.5vw, 15px);
	background: #173b70;
	color: #ffffff;
	border: clamp(2px, 0.4vh, 3px) solid #0d2446;
	border-radius: 50px;
	padding: clamp(8px, 1.8vh, 16px) clamp(24px, 5vw, 56px);
	font-size: clamp(18px, 3.2vh, 28px);
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(23, 59, 112, 0.3);
	transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-decoration: none;
}

#start i {
	font-size: clamp(20px, 3.5vh, 30px);
}

#start:hover {
	background: #0d2446;
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 14px 28px rgba(23, 59, 112, 0.4);
}

#start:active {
	transform: translateY(-1px) scale(0.99);
}

/* Footer Buttons Grid */
.grid-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(8px, 2.5vw, 24px);
	width: 100%;
	max-width: 600px;
	margin-inline: auto;
	margin-bottom: clamp(10px, 2vh, 20px);
}

/* Dynamic Footer Links Styled as Buttons */
#foot-index a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(4px, 1vh, 10px);
	padding: clamp(8px, 1.8vh, 18px) clamp(4px, 1vw, 10px);
	min-width: 0;
	background: #ffffff;
	color: #173b70;
	border: 2px solid #173b70;
	border-radius: clamp(10px, 2vh, 16px);
	font-weight: 700;
	font-size: clamp(11px, 1.8vh, 15px);
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease;
	overflow-wrap: anywhere;
	text-decoration: none;
}

#foot-index a i {
	font-size: clamp(18px, 3vh, 28px);
	transition: transform 0.2s ease;
}

#foot-index a:hover {
	background: #173b70;
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(23, 59, 112, 0.25);
}

#foot-index a:hover i {
	transform: scale(1.15);
}

/* Styling Khusus untuk Tombol Informasi dengan Gambar Ikon */
.renumera-icon {
	width: clamp(18px, 3vh, 28px);
	height: clamp(18px, 3vh, 28px);
	object-fit: contain;
	vertical-align: middle;
	transition: transform 0.2s ease;
}

#info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

#info:hover .renumera-icon {
	transform: scale(1.15);
}

/* Short height screens scale adjustments (Landscape phones, small laptop screens) */
@media (max-height: 600px) {
	main {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	#head-index {
		padding: 10px 16px;
	}

	#logo-unj {
		width: 70px;
	}

	h1 {
		font-size: 20px;
		margin: 4px 0;
	}

	p {
		font-size: 11px;
	}

	#start-wrapper {
		padding: 8px 0;
	}

	#start {
		padding: 8px 24px;
		font-size: 18px;
	}

	#foot-index a {
		padding: 6px 4px;
		font-size: 10px;
	}

	#foot-index a i,
	.renumera-icon {
		font-size: 16px;
		width: 16px;
		height: 16px;
	}
}