.fps-page-loader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	transition: opacity .4s ease, visibility .4s ease;
}

.fps-page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.fps-page-loader-inner {
	position: relative;
	width: 140px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fps-page-loader-inner::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid rgba(3, 65, 121, .15);
	border-top-color: #034179;
	animation: fpsLoaderSpin 1s linear infinite;
}

.fps-page-loader-logo {
	width: 84px;
	height: auto;
	animation: fpsLoaderPulse 1.3s ease-in-out infinite;
}

@keyframes fpsLoaderSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes fpsLoaderPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.07); }
}

/* Birthday Section */
@keyframes bdFloatUp {
	0%   { transform: translateY(0) rotate(-4deg); opacity: .9; }
	50%  { transform: translateY(-18px) rotate(4deg); opacity: 1; }
	100% { transform: translateY(0) rotate(-4deg); opacity: .9; }
}
@keyframes bdPulse {
	0%, 100% { transform: scale(1); }
	50%       { transform: scale(1.06); }
}
@keyframes bdShimmer {
	0%   { background-position: -400px 0; }
	100% { background-position: 400px 0; }
}
@keyframes bdCardIn {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes bdRing {
	0%   { box-shadow: 0 0 0 0 rgba(173,20,87,.35); }
	70%  { box-shadow: 0 0 0 12px rgba(173,20,87,0); }
	100% { box-shadow: 0 0 0 0 rgba(173,20,87,0); }
}
@keyframes bdSpin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.fps-birthday-section {
	position: relative;
	overflow: hidden;
	padding: 60px 0 70px;
	background: linear-gradient(160deg, #2d0050 0%, #7b1a6e 35%, #c0005a 65%, #e8600a 100%);
}
/* floating balloon decorations */
.fps-birthday-section::before,
.fps-birthday-section::after {
	content: '🎈';
	position: absolute;
	z-index: 0;
	font-size: 52px;
	animation: bdFloatUp 4s ease-in-out infinite;
	pointer-events: none;
	opacity: .55;
}
.fps-birthday-section::before { left: 3%; top: 10%; animation-delay: 0s; }
.fps-birthday-section::after  { right: 3%; top: 6%; animation-delay: 1.8s; font-size: 40px; }

/* header block */
.fps-bd-header {
	text-align: center;
	margin-bottom: 36px;
	position: relative;
	z-index: 2;
}
.fps-bd-header-icon {
	font-size: 52px;
	display: block;
	margin-bottom: 8px;
	animation: bdPulse 2s ease-in-out infinite;
}
.fps-birthday-title {
	font-size: 34px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 4px;
	text-shadow: 0 2px 12px rgba(0,0,0,.4);
	/* shimmer sweep */
	background: linear-gradient(90deg, #fff 30%, #ffd6f0 50%, #fff 70%);
	background-size: 400px 100%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: bdShimmer 3s linear infinite;
}
.fps-birthday-sub {
	margin: 0 0 0;
	color: rgba(255,255,255,.80);
	font-size: 15px;
	letter-spacing: .3px;
}
/* divider */
.fps-bd-divider {
	width: 60px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 4px;
	background: linear-gradient(90deg,#ff8ecb,#ffe06e,#ff8ecb);
	background-size: 200% 100%;
	animation: bdShimmer 2s linear infinite;
}

/* cards row */
.fps-bd-cards-row {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.fps-bd-cards-row > [class*="col-"] {
	float: none;
}
.fps-birthday-card {
	position: relative;
	background: rgba(255,255,255,.10);
	border-radius: 20px;
	padding: 28px 16px 20px;
	text-align: center;
	margin-bottom: 24px;
	border: 1px solid rgba(255,255,255,.22);
	box-shadow: 0 8px 32px rgba(0,0,0,.28);
	opacity: 0;
	animation: bdCardIn .55s ease forwards;
	overflow: hidden;
}
/* staggered card entry */
.fps-birthday-card:nth-child(1)  { animation-delay: .05s; }
.fps-birthday-card:nth-child(2)  { animation-delay: .15s; }
.fps-birthday-card:nth-child(3)  { animation-delay: .25s; }
.fps-birthday-card:nth-child(4)  { animation-delay: .35s; }
.fps-birthday-card:nth-child(5)  { animation-delay: .45s; }
.fps-birthday-card:nth-child(6)  { animation-delay: .55s; }
.fps-birthday-card:nth-child(7)  { animation-delay: .65s; }
.fps-birthday-card:nth-child(8)  { animation-delay: .75s; }
/* top colour bar */
.fps-birthday-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #ff6bcb, #ffd700, #ff6bcb);
}
.fps-birthday-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0,0,0,.38);
	border-color: rgba(255,255,255,.4);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* photo */
.fps-birthday-photo-wrap {
	position: relative;
	width: 100px;
	height: 100px;
	margin: 0 auto 14px;
}
.fps-birthday-photo,
.fps-birthday-photo-placeholder {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 4px solid rgba(255,255,255,.55);
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.fps-birthday-photo {
	object-fit: cover;
	display: block;
}
.fps-birthday-photo-placeholder {
	display: block;
	line-height: 92px;
	text-align: center;
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(145deg, #c0005a 0%, #6a0572 100%);
	overflow: hidden;
}
/* small cake badge on photo */
.fps-birthday-badge {
	position: absolute;
	bottom: 0; right: 0;
	background: #ffd700;
	border-radius: 50%;
	width: 28px; height: 28px;
	line-height: 28px;
	text-align: center;
	font-size: 15px;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* text */
.fps-birthday-name {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 5px;
	letter-spacing: .2px;
}
.fps-birthday-class {
	font-size: 12px;
	color: rgba(255,255,255,.75);
	margin: 0 0 8px;
}
.fps-birthday-date-badge {
	display: inline-block;
	background: rgba(255,215,0,.18);
	border: 1px solid rgba(255,215,0,.45);
	color: #ffd700;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	border-radius: 30px;
	padding: 3px 10px;
	margin-bottom: 8px;
}
.fps-birthday-wish {
	font-size: 12px;
	color: rgba(255,255,255,.70);
	margin: 0;
	line-height: 1.5;
	font-style: italic;
}

/* empty state */
.fps-birthday-empty {
	text-align: center;
	padding: 40px 10px;
	font-size: 17px;
	color: rgba(255,255,255,.70);
}
.fps-birthday-empty span { font-size: 40px; display: block; margin-bottom: 12px; }

/* responsive */
@media (max-width: 767px) {
	.fps-birthday-title { font-size: 26px; }
	.fps-bd-header-icon { font-size: 40px; }
	.fps-birthday-section::before,
	.fps-birthday-section::after { display: none; }
}

/* Birthday Poster Modal */
.fps-bd-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,.80);
	overflow-y: auto;
	padding: 20px 12px;
	align-items: flex-start;
	justify-content: center;
}
.fps-bd-modal-overlay.active { display: flex; }
.fps-bd-modal-inner {
	max-width: 420px;
	width: 100%;
	margin: auto;
}
.fps-bd-poster {
	width: 100%;
	background:
		radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px),
		linear-gradient(160deg, #2d0050 0%, #7b1a6e 40%, #c0005a 70%, #e8600a 100%);
	background-size: 22px 22px, cover;
	border-radius: 20px;
	padding: 32px 26px 28px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid rgba(255,255,255,.15);
}
.fps-bd-poster::before {
	content: '';
	position: absolute;
	top: -70px; left: 50%;
	transform: translateX(-50%);
	width: 320px; height: 180px;
	background: rgba(255,255,255,.07);
	border-radius: 50%;
}
.fps-bd-poster::after {
	content: '';
	position: absolute;
	bottom: -70px; left: 50%;
	transform: translateX(-50%);
	width: 320px; height: 180px;
	background: rgba(255,255,255,.05);
	border-radius: 50%;
}
.fps-bd-poster > * { position: relative; z-index: 1; }
.fps-bd-poster-logo {
	height: 62px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	margin-bottom: 8px;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.fps-bd-poster-school-name {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255,255,255,.95);
	margin: 0 0 12px;
}
.fps-bd-poster-hr {
	width: 60px; height: 2px;
	background: linear-gradient(90deg, transparent, rgba(255,215,0,.7), transparent);
	margin: 0 auto 14px;
	border: none;
}
.fps-bd-poster-decor { font-size: 22px; letter-spacing: 8px; margin-bottom: 14px; }
.fps-bd-poster-photo-wrap {
	width: 130px; height: 130px;
	margin: 0 auto 18px;
	border-radius: 50%;
	border: 5px solid rgba(255,215,0,.7);
	box-shadow: 0 0 0 4px rgba(255,215,0,.25), 0 0 28px rgba(255,215,0,.3), 0 8px 24px rgba(0,0,0,.5);
	overflow: hidden;
	background: linear-gradient(145deg,#c0005a,#6a0572);
}
.fps-bd-poster-photo-wrap img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.fps-bd-poster-initials {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 46px; font-weight: 800; color: #fff;
}
.fps-bd-poster-wishes {
	font-size: 13px;
	font-weight: 700;
	color: rgba(255,255,255,.75);
	margin: 0 0 4px;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.fps-bd-poster-name {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 4px;
	line-height: 1.2;
	text-shadow: 0 2px 14px rgba(0,0,0,.5);
	padding: 6px 16px 8px;
	background: rgba(255,255,255,.08);
	border-radius: 8px;
	display: inline-block;
}
.fps-bd-poster-class {
	font-size: 12px;
	color: rgba(255,255,255,.70);
	margin: 6px 0 10px;
	letter-spacing: .5px;
}
.fps-bd-poster-date-badge {
	display: inline-block;
	background: rgba(255,215,0,.15);
	border: 1px solid rgba(255,215,0,.55);
	color: #ffd700;
	font-size: 13px;
	font-weight: 700;
	border-radius: 30px;
	padding: 5px 18px;
	margin-bottom: 16px;
	letter-spacing: .5px;
}
.fps-bd-poster-message {
	font-size: 12px;
	color: rgba(255,255,255,.75);
	font-style: italic;
	line-height: 1.8;
	margin: 0 0 18px;
	padding: 12px 14px;
	background: rgba(255,255,255,.06);
	border-radius: 10px;
	border-left: 3px solid rgba(255,215,0,.5);
	text-align: left;
}
.fps-bd-poster-footer {
	border-top: 1px solid rgba(255,255,255,.15);
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 11px;
	color: rgba(255,255,255,.55);
	letter-spacing: .5px;
}
.fps-bd-poster-footer-logo {
	height: 28px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
}
.fps-bd-poster-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.fps-bd-poster-actions button,
.fps-bd-poster-actions a {
	flex: 1;
	min-width: 110px;
	padding: 11px 8px;
	border-radius: 10px;
	border: none;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	display: inline-block;
}
.fps-bd-btn-download { background: #ffd700; color: #333; }
.fps-bd-btn-whatsapp { background: #25D366; color: #fff; }
.fps-bd-btn-close    { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3) !important; }
.fps-slider-fit-img {
	display: block;
	width: 100%;
	height: auto;
}
