/* Games hub + game pages. Site design; each game supplies --accent/--accent2. */

/* ---- hub ---- */
.jg-games-hub { max-width: 1000px; margin: 0 auto; padding: 26px 16px 50px; }
.jg-games-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.jg-game-choice {
	--accent: #A946B4;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none !important;
	background: #fff;
	border: 2px solid transparent;
	box-shadow: 0 8px 24px rgba(39, 16, 58, .12);
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.jg-game-choice:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 36px rgba(39, 16, 58, .22); }
.jg-game-choice-img { height: 210px; background-size: cover; background-position: center; }
.jg-game-choice-body { padding: 18px 20px 20px; }
.jg-game-choice-name { display: block; font-size: 22px; font-weight: 800; color: var(--accent); }
.jg-game-choice-sub { display: block; font-size: 14px; color: #6b5580; margin: 2px 0 10px; }
.jg-game-choice-cta {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	font-weight: 800;
	padding: 8px 22px;
	border-radius: 999px;
}
@media (max-width: 720px) { .jg-games-choices { grid-template-columns: 1fr; } }

/* ---- game page ---- */
.jg-game { --accent: #A946B4; --accent2: #F674FF; --ink: #27103A; }
.jg-game-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
}
.jg-game-banner::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, var(--ink) 5%, transparent 70%);
}
.jg-game-banner-inner { position: relative; z-index: 1; padding: 30px 24px; max-width: 1100px; margin: 0 auto; width: 100%; color: #fff; }
.jg-game-back { color: #fff !important; opacity: .85; font-weight: 700; text-decoration: none !important; font-size: 13px; }
.jg-game-banner-inner h1 { margin: 8px 0 0; font-size: clamp(28px, 5vw, 46px); font-weight: 800; }
.jg-game-sub { margin: 2px 0 0; opacity: .9; }
.jg-game-headline {
	display: inline-block;
	margin: 12px 0 0;
	background: var(--accent2);
	color: #fff;
	font-weight: 800;
	padding: 7px 18px;
	border-radius: 999px;
}

.jg-game-body { max-width: 1000px; margin: 0 auto; padding: 24px 16px 50px; }
.jg-game-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jg-game-feat {
	background: #fff;
	border: 1px solid #eee;
	border-left: 4px solid var(--accent);
	border-radius: 10px;
	padding: 12px 14px;
	font-weight: 700;
	color: var(--ink);
	font-size: 14px;
}
.jg-game-platforms { text-align: center; font-weight: 700; color: #6b5580; margin: 16px 0 0; }

.jg-game-downloads { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.jg-game-dl {
	flex: 1 1 300px;
	max-width: 460px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 18px;
	text-align: center;
}
.jg-game-dl.is-primary { border: 2px solid var(--accent); box-shadow: 0 8px 22px rgba(0, 0, 0, .1); }
.jg-game-dl-btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent), var(--accent2));
	color: #fff !important;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 26px;
	border-radius: 999px;
	text-decoration: none !important;
}
.jg-game-dl-note { font-size: 13px; color: #6b5580; margin: 10px 0 0; }

.jg-game-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.jg-game-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 18px 20px; color: var(--ink); }
.jg-game-card h3 { margin: 0 0 8px; }
.jg-game-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a3a5c; }
.jg-game-link { display: inline-block; margin-top: 10px; color: var(--accent) !important; font-weight: 800; text-decoration: none !important; }
.jg-game-legal { margin-top: 18px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 0 16px; }
.jg-game-legal summary { cursor: pointer; font-weight: 700; padding: 13px 0; color: var(--ink); }
.jg-game-legal p { font-size: 13px; color: #6b5580; margin: 0 0 14px; }

@media (max-width: 720px) {
	.jg-game-feats { grid-template-columns: 1fr 1fr; }
	.jg-game-cards { grid-template-columns: 1fr; }
}

/* solid-color banner (ST2): no image, no dark gradient overlay needed */
.jg-game-banner.is-solid::after { display: none; }
.jg-game-banner.is-solid { min-height: 260px; }

/* ---- download pages ---- */
.jg-dlpage .jg-game-banner.is-solid { background: linear-gradient(135deg, var(--ink), var(--accent)); }
.jg-dl-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 26px; }
.jg-dl-group h3 { margin-top: 0; }
.jg-dl-list { display: flex; flex-direction: column; gap: 8px; }
.jg-dl-btn {
	display: block;
	text-align: center;
	background: #fff;
	border: 2px solid var(--accent);
	color: var(--accent) !important;
	font-weight: 800;
	padding: 9px 14px;
	border-radius: 999px;
	text-decoration: none !important;
	transition: background .12s, color .12s, transform .1s;
}
.jg-dl-btn:hover { background: var(--accent); color: #fff !important; transform: translateY(-1px); }
.jg-dl-btn.is-latest { background: var(--accent); color: #fff !important; }
.jg-dl-btn.is-latest:hover { filter: brightness(1.1); }
.jg-dl-h2 { text-align: center; color: #fff; margin: 30px 0 14px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.jg-dlpage .jg-dl-faq summary { cursor: pointer; font-weight: 800; font-size: 16px; }
.jg-dlpage .jg-dl-faq img { max-width: 100%; border-radius: 10px; margin-top: 10px; }
