/* Landing pages (/livejoi, /benefactor, /one-on-one) — brand palette. */
.jg-landing { max-width: 1100px; margin: 0 auto; padding: 26px 16px 50px; color: #27103A; }
.jg-landing .jg-hero { padding-bottom: 14px; }

.jg-l-h2 { text-align: center; font-size: 26px; font-weight: 800; margin: 36px 0 16px; }

.jg-l-cta {
	display: inline-block;
	background: linear-gradient(135deg, #A946B4, #F674FF);
	color: #fff !important;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 28px;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(246, 116, 255, .35);
	transition: transform .15s, box-shadow .15s;
	white-space: nowrap;
}
.jg-l-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(246, 116, 255, .5); }
.jg-l-cta-ghost { background: #fff; color: #A946B4 !important; border: 2px solid #F674FF; box-shadow: none; }
.jg-l-ctarow { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.jg-l-ctarow-hero { margin: 4px 0 10px; }

.jg-l-banner {
	background: linear-gradient(135deg, #27103A, #4a1d63);
	color: #fff;
	border-radius: 18px;
	text-align: center;
	padding: 26px 28px;
	margin: 22px auto 0;
	max-width: 860px;
	font-size: 17px;
	line-height: 1.5;
}
.jg-l-banner h3 { color: #FFC2FD; margin: 0 0 6px; font-size: 20px; }
.jg-l-banner p { margin: 0; font-size: 15px; }
.jg-l-banner strong { color: #FFC2FD; }
.jg-l-upsell { margin-top: 34px; }

.jg-l-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.jg-l-step {
	background: #fff;
	border: 1px solid #f3d9f7;
	border-radius: 16px;
	padding: 20px 18px;
	text-align: center;
	box-shadow: 0 6px 18px rgba(169, 70, 180, .08);
}
.jg-l-step-icon { font-size: 30px; display: block; margin-bottom: 6px; }
.jg-l-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.jg-l-step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #4a3a5c; }

.jg-l-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.jg-l-feature {
	background: #fff;
	border: 1px solid #f3d9f7;
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 6px 18px rgba(169, 70, 180, .08);
}
.jg-l-feature h3 { margin: 0 0 8px; font-size: 17px; }
.jg-l-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a3a5c; }
.jg-l-feature a { color: #A946B4 !important; font-weight: 700; }

.jg-l-join {
	background: #fff;
	border: 1px solid #f3d9f7;
	border-radius: 16px;
	padding: 20px 26px;
	max-width: 760px;
	margin: 0 auto;
	box-shadow: 0 6px 18px rgba(169, 70, 180, .08);
}
.jg-l-join ol { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.9; }
.jg-l-join a { color: #A946B4 !important; font-weight: 700; }
.jg-l-note { text-align: center; color: #6b5580; font-size: 13px; margin: 12px 0 0; }

.jg-l-final { text-align: center; margin-top: 40px; }
.jg-l-final h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }

/* waifu grid: 8 per row */
.jg-waifus {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 10px;
}
.jg-waifu { margin: 0; text-align: center; display: block; text-decoration: none !important; }
.jg-waifu img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	transition: transform .15s, box-shadow .15s;
}
.jg-waifu:hover img { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(169, 70, 180, .3); }
.jg-waifu figcaption { font-size: 11.5px; font-weight: 700; margin-top: 3px; color: #4a3a5c; }
.jg-waifu:hover figcaption { color: #A946B4; }

/* landing countdown card sits centered */
.jg-landing .jg-ljc-full { margin-bottom: 6px; }

@media (max-width: 900px) {
	.jg-l-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jg-l-cols { grid-template-columns: 1fr; }
	.jg-waifus { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.jg-l-steps { grid-template-columns: 1fr; }
	.jg-waifus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* one-on-one slot counter */
.jg-ooo-slots {
	text-align: center;
	font-size: 19px;
	font-weight: 700;
	color: #27103A;
	background: #fff;
	border: 2px solid #F674FF;
	border-radius: 14px;
	padding: 14px 20px;
	max-width: 420px;
	margin: 0 auto;
}
.jg-ooo-count {
	font-size: 34px;
	font-weight: 800;
	background: linear-gradient(135deg, #A946B4, #F674FF);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-right: 4px;
}
.jg-ooo-slots.is-full .jg-ooo-count { -webkit-text-fill-color: #c0392b; }
.jg-ooo-note { display: block; font-size: 13px; color: #6b5580; margin-top: 4px; font-weight: 400; }

.jg-l-note-big { font-size: 15.5px; font-weight: 600; color: #27103A; }
.jg-l-cta-disabled { background: #cfc3d8; color: #6b5580 !important; box-shadow: none; pointer-events: none; }
.jg-ooo-closed { text-align: center; color: #c0392b; font-weight: 700; margin-top: 10px; }
/* waifu thumbs: natural aspect (art was made for this ratio) */
.jg-waifu img { aspect-ratio: auto; height: auto; }

/* waifu grid spans wider than the reading column so thumbs are bigger */
.jg-landing .jg-waifus {
	max-width: 1600px;
	width: min(96vw, 1600px);
	margin-left: 50%;
	transform: translateX(-50%);
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 12px;
}
@media (max-width: 1100px) { .jg-landing .jg-waifus { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .jg-landing .jg-waifus { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .jg-landing .jg-waifus { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- waifu DB grid: franchise filter chips + personality tooltip ---- */
.jg-waifu-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 0 16px;
}
.jg-waifu-chip {
	border: 1px solid #e2c7ea;
	background: #fff;
	color: #4a3a5c;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all .12s;
}
.jg-waifu-chip span { font-weight: 400; opacity: .6; font-size: 11.5px; }
.jg-waifu-chip:hover { border-color: #F674FF; }
.jg-waifu-chip.is-active { background: linear-gradient(135deg, #A946B4, #F674FF); color: #fff; border-color: #F674FF; }
.jg-waifu-imgwrap { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.jg-waifu-imgwrap img { border-radius: 0; }
.jg-waifu-noimg { display: grid; place-items: center; aspect-ratio: 3/4; background: linear-gradient(135deg, #f2e2f7, #ffe4fd); font-size: 34px; }
.jg-waifu-tip {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: rgba(24, 8, 30, .88);
	color: #fff;
	font-size: 11px;
	line-height: 1.45;
	font-weight: 600;
	padding: 7px 8px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s;
	pointer-events: none;
	text-align: center;
}
.jg-waifu:hover .jg-waifu-tip { opacity: 1; transform: translateY(0); }
.jg-waifu figcaption small { display: block; font-weight: 400; font-size: 10px; color: #8a76a0; }

/* waifu grid search */
.jg-waifu-tools { display: flex; justify-content: center; margin: 0 0 12px; }
.jg-waifu-search {
	flex: 0 1 360px;
	border: 1px solid #e2c7ea;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 14px;
	background: #fff;
	color: #27103A;
}
.jg-waifu-search:focus { outline: none; border-color: #F674FF; }
