/* Kartu unduhan PDF Al-Qur'an per bahasa — dipindah dari <style> inline views/home.php
 * (PRD-GSC-ADSENSE R-PERF-06) supaya dipakai bersama halaman /unduh-quran. */
/* Card utama */
.quran-card {
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Scroll area */
.quran-scroll {
	height: 400px;
	overflow-y: auto;
	padding-right: 5px;
}

/* Item bahasa */
.bahasa-box {
	background: #f4f9fb;
	border: 1px solid #d5e7ec;
	border-radius: 10px;
	padding: 6px 8px;
	transition: all 0.25s ease;
	gap: 10px;
}

/* Hover modern biru */
.bahasa-box:hover {
	background: #e6f3f7;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(79, 150, 166, 0.25);
}

/* Tombol utama biru */
.btn-islami {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	min-width: 64px;
	height: 44px;
	padding: 0 !important;
	border: 2px solid rgba(236, 242, 247, 0.95);
	border-radius: 999px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 34%),
		radial-gradient(circle at 50% 34%, #1d82ff 0, #0756bd 58%, #04347d 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow:
		inset 0 2px 5px rgba(255, 255, 255, 0.36),
		inset 0 -5px 10px rgba(0, 0, 0, 0.22),
		0 3px 8px rgba(18, 80, 135, 0.28);
	overflow: hidden;
}

.btn-islami:hover {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow:
		inset 0 2px 5px rgba(255, 255, 255, 0.38),
		inset 0 -5px 10px rgba(0, 0, 0, 0.22),
		0 5px 12px rgba(18, 80, 135, 0.34);
}

/* Tombol outline biru */
.btn-outline-islami {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 54px;
	min-width: 54px;
	height: 44px;
	padding: 0 !important;
	border: 2px solid rgba(152, 225, 244, 0.9);
	border-radius: 999px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 34%),
		radial-gradient(circle at 50% 35%, #20c5e5 0, #0878bc 60%, #044778 100%);
	color: #ffffff;
	font-weight: 900;
	line-height: 1;
	box-shadow:
		inset 0 2px 5px rgba(255, 255, 255, 0.32),
		inset 0 -5px 10px rgba(0, 0, 0, 0.2),
		0 3px 8px rgba(18, 80, 135, 0.25);
	overflow: hidden;
}

.btn-outline-islami:hover {
	color: white;
	transform: translateY(-1px);
	box-shadow:
		inset 0 2px 5px rgba(255, 255, 255, 0.34),
		inset 0 -5px 10px rgba(0, 0, 0, 0.2),
		0 5px 12px rgba(18, 80, 135, 0.32);
}

.download-language-focus .bahasa-box {
	background: #fff8dc;
	border-color: #e1b640;
	box-shadow: 0 4px 16px rgba(200, 148, 24, 0.28);
}

.download-button-focus {
	background: #f7d867 !important;
	border-color: #c89418 !important;
	color: #1f4b54 !important;
	box-shadow: 0 0 0 4px rgba(247, 216, 103, 0.38), 0 6px 16px rgba(200, 148, 24, 0.28);
	transform: scale(1.08);
	animation: download-target-pulse 0.9s ease-in-out 0s 3;
}

.js-download-target {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	font-size: 11px;
}

.js-download-target::before {
	content: none;
}

.pdf-icon-arrow {
	display: block;
	margin-top: -1px;
	font-size: 15px;
	line-height: 12px;
}

.pdf-icon-text {
	display: block;
	font-size: 11px;
	line-height: 12px;
	letter-spacing: 0.02em;
}

.btn-islami,
.btn-outline-islami {
	width: 46px;
	min-width: 46px;
	height: 46px;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.btn-islami:hover,
.btn-outline-islami:hover {
	background: transparent;
	box-shadow: none;
	transform: translateY(-1px);
}

.pdf-action-image {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.bahasa-box > span:last-child {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
}

@keyframes download-target-pulse {
	0%, 100% {
		box-shadow: 0 0 0 4px rgba(247, 216, 103, 0.34), 0 6px 16px rgba(200, 148, 24, 0.24);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(247, 216, 103, 0.16), 0 8px 20px rgba(200, 148, 24, 0.36);
	}
}

/* Nama bahasa */
.nama-bahasa {
	color: #2f6f7c;
	font-weight: 600;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Scrollbar biru elegan */
.quran-scroll::-webkit-scrollbar {
	width: 6px;
}
.quran-scroll::-webkit-scrollbar-thumb {
	background: #4f96a6;
	border-radius: 10px;
}
html {
	scroll-behavior: smooth;
}
