/*
Theme Name: 82 Lottery
Theme URI: https://www.82lotteryapklogin.com
Author: Local
Description: 82 Lottery gaming theme — red gradient UI, gold accents, glossy nav and sections.
Version: 1.7.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lottery-82
Tags: dark, entertainment, nightlife, one-column, custom-menu, featured-images, threaded-comments
*/

:root {
	/* Brand palette: crimson / burgundy + gold */
	--jc-blue-deep: #5c1018;
	--jc-blue-bright: #ff9aa8;
	--jc-purple-deep: #3d080c;
	--jc-purple-bright: #ff5c6c;
	--jc-gold: #ffd166;
	--jc-gold-dim: #c9a23a;
	--jc-bg-deep: #140508;
	--jc-bg-card: rgba(60, 12, 20, 0.55);
	--jc-bg-elevated: rgba(45, 8, 14, 0.92);
	--jc-text: #fff5f5;
	--jc-text-muted: #e8b8bf;
	--jc-accent: var(--jc-gold);
	--jc-accent-hot: #ff4757;
	--jc-neon: #ff8b98;
	--jc-border: rgba(255, 200, 200, 0.14);
	--jc-glow: rgba(255, 180, 100, 0.35);
	--jc-font-display: "Bebas Neue", system-ui, sans-serif;
	--jc-font-bubble: "Baloo 2", system-ui, sans-serif;
	--jc-font-body: "DM Sans", system-ui, sans-serif;
	--jc-radius: 18px;
	--jc-radius-xl: 24px;
	--jc-max: 1140px;
	--jc-header-h: 80px;
	/* Nav + hero (red family) */
	--jc-nav-red-top: #b01020;
	--jc-nav-red-mid: #8a0a18;
	--jc-nav-red-deep: #4a050c;
	--jc-premium-deep: #2a060c;
	--jc-premium-magenta: #e11d48;
	--jc-premium-royal: #7f0f1a;
	--jc-premium-gold: #ffd700;
	/* Scrollbar (Firefox uses solid thumb + track only) */
	--jc-scrollbar-track: rgba(18, 6, 10, 0.92);
	--jc-scrollbar-thumb: #9a1a28;
	--jc-scrollbar-thumb-hover: #c42838;
}

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

html {
	scroll-behavior: smooth;
}

/* Scrollbar — Firefox + WebKit (page + inner overflow areas) */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--jc-scrollbar-thumb) var(--jc-scrollbar-track);
}

*::-webkit-scrollbar {
	width: 11px;
	height: 11px;
}

*::-webkit-scrollbar-track {
	background: linear-gradient(180deg, rgba(26, 5, 8, 0.98), rgba(10, 2, 4, 0.98));
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(255, 200, 200, 0.06);
}

*::-webkit-scrollbar-thumb {
	background: linear-gradient(
		180deg,
		var(--jc-gold-dim) 0%,
		var(--jc-scrollbar-thumb) 45%,
		#5c0a12 100%
	);
	border-radius: 999px;
	border: 2px solid var(--jc-scrollbar-track);
	box-shadow: 0 0 12px rgba(255, 60, 80, .2);
}

*::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(
		180deg,
		var(--jc-gold) 0%,
		var(--jc-scrollbar-thumb-hover) 50%,
		#7f1018 100%
	);
}

*::-webkit-scrollbar-corner {
	background: var(--jc-scrollbar-track);
}

body {
	margin: 0;
	font-family: var(--jc-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--jc-text);
	background: var(--jc-bg-deep);
	background-image:
		radial-gradient(ellipse 120% 80% at 50% -20%, rgba(220, 38, 38, 0.35), transparent 55%),
		radial-gradient(ellipse 80% 60% at 100% 20%, rgba(180, 20, 40, 0.22), transparent 50%),
		radial-gradient(ellipse 70% 50% at 0% 100%, rgba(90, 10, 18, 0.45), transparent 55%),
		linear-gradient(165deg, #1a0508 0%, #2d0a0e 35%, #140508 70%, #0a0204 100%);
	background-attachment: fixed;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#primary {
	flex: 1 0 auto;
}

/* Blank front page — keeps layout without landing content */
.jc-main--blank {
	min-height: 60vh;
}

a {
	color: var(--jc-accent);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
	color: #ffc9d0;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100000;
	padding: 12px 16px;
	background: var(--jc-accent);
	color: var(--jc-bg-deep);
	font-weight: 700;
	border-radius: 6px;
}

/* Header — crimson bar + gold trim */
.jc-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	isolation: isolate;
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	background:
		linear-gradient(
			180deg,
			#c41e33 0%,
			#a01528 22%,
			var(--jc-nav-red-mid) 55%,
			var(--jc-nav-red-deep) 100%
		);
	border-bottom: 1px solid rgba(255, 200, 120, 0.28);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 -1px 0 rgba(0, 0, 0, 0.2) inset,
		0 12px 36px rgba(0, 0, 0, 0.5),
		0 0 60px rgba(220, 38, 38, 0.25);
}

.jc-site-header::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 220, 160, 0.55) 18%,
		rgba(255, 255, 255, 0.35) 50%,
		rgba(255, 200, 120, 0.45) 82%,
		transparent
	);
	pointer-events: none;
}

.jc-site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 4%,
		rgba(0, 0, 0, 0.35) 50%,
		transparent 96%
	);
	pointer-events: none;
}

/* Header row: mobile = logo + hamburger, nav collapses below */
.jc-header-inner {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding: 0.75rem 1.1rem;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.35rem 0.75rem;
	position: relative;
	z-index: 1;
}

@media (min-width: 781px) {
	.jc-header-inner {
		padding: 0.85rem 1.25rem;
	}
}

.jc-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 14px;
	cursor: pointer;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: linear-gradient(160deg, rgba(0, 0, 0, 0.2), rgba(80, 10, 18, 0.5));
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jc-nav-toggle:hover,
.jc-nav-toggle:focus-visible {
	box-shadow:
		0 6px 22px rgba(0, 0, 0, 0.45),
		0 0 28px rgba(255, 200, 120, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 220, 160, 0.45);
	transform: scale(1.04);
	outline: none;
}

.jc-nav-toggle-bars {
	display: block;
	width: 20px;
	height: 2px;
	background: linear-gradient(90deg, #fff8f0, var(--jc-gold));
	border-radius: 1px;
	position: relative;
	transition: background 0.25s ease;
}

.jc-nav-toggle-bars::before,
.jc-nav-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: linear-gradient(90deg, #fff8f0, var(--jc-gold));
	border-radius: 1px;
	transition: transform 0.25s ease, top 0.25s ease;
}

.jc-nav-toggle-bars::before {
	top: -6px;
}

.jc-nav-toggle-bars::after {
	top: 6px;
}

#jc-header-inner.is-open .jc-nav-toggle-bars {
	background: transparent;
}

#jc-header-inner.is-open .jc-nav-toggle-bars::before {
	top: 0;
	transform: rotate(45deg);
}

#jc-header-inner.is-open .jc-nav-toggle-bars::after {
	top: 0;
	transform: rotate(-45deg);
}

.jc-nav {
	grid-column: 1 / -1;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

#jc-header-inner.is-open .jc-nav {
	max-height: min(20rem, 45vh);
}

/* No-JS: show flex-wrap row like desktop */
@media (max-width: 780px) {
	html:not(.jc-js) .jc-nav {
		max-height: none;
		overflow: visible;
	}
}

.jc-nav ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem 0.5rem;
	width: 100%;
	padding: 0.65rem 0.75rem 0.5rem;
	margin: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(40, 6, 10, 0.35));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jc-nav li {
	width: auto;
	border-bottom: none;
}

.jc-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.65rem;
	font-family: var(--jc-font-bubble);
	font-size: clamp(0.68rem, 2.8vw, 0.82rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 248, 245, 0.95);
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.12);
	transition:
		color 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.jc-nav a:hover,
.jc-nav .current-menu-item > a {
	color: #1a0508;
	background: linear-gradient(145deg, #fff8e8 0%, var(--jc-gold) 45%, #e6a800 100%);
	border-color: rgba(255, 255, 255, 0.5);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.25),
		0 0 24px rgba(255, 215, 100, 0.35);
	text-shadow: none;
}

@media (min-width: 781px) {
	.jc-header-inner {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
	}

	.jc-nav-toggle {
		display: none;
	}

	.jc-nav {
		grid-column: auto;
		width: auto;
		max-height: none !important;
		overflow: visible !important;
		flex-direction: row;
		align-items: center;
		flex: 0 1 auto;
	}

	.jc-nav ul {
		list-style: none;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.25rem;
		padding: 0.45rem 0.6rem;
		width: auto;
		border-top: none;
		border-radius: 999px;
		background: linear-gradient(165deg, rgba(0, 0, 0, 0.35), rgba(60, 8, 14, 0.55));
		border: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow:
			0 8px 28px rgba(0, 0, 0, 0.4),
			inset 0 1px 0 rgba(255, 255, 255, 0.1),
			0 0 32px rgba(200, 30, 40, 0.15);
	}

	.jc-nav li {
		width: auto;
		border-bottom: none;
	}

	.jc-nav a {
		padding: 0.48rem 0.95rem;
		font-size: clamp(0.72rem, 1.05vw, 0.82rem);
	}

	.jc-nav a:hover,
	.jc-nav .current-menu-item > a {
		background: linear-gradient(145deg, #fff6dd 0%, var(--jc-gold) 50%, #d4a20a 100%);
		border-color: rgba(255, 255, 255, 0.45);
		box-shadow:
			0 4px 18px rgba(0, 0, 0, 0.3),
			0 0 28px rgba(255, 220, 120, 0.35);
		transform: translateY(-1px);
	}
}

/* Scrollspy / current section — bold yellow pill */
.jc-nav a.jc-nav-link--active {
	color: #1a0f28 !important;
	background: linear-gradient(
		160deg,
		#fff4b8 0%,
		var(--jc-premium-gold) 38%,
		#e6ac00 100%
	) !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
	box-shadow:
		0 0 0 1px rgba(255, 215, 0, 0.55),
		0 6px 22px rgba(255, 215, 0, 0.45),
		0 0 36px rgba(255, 215, 0, 0.35),
		inset 0 2px 0 rgba(255, 255, 255, 0.45) !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
	font-weight: 800;
	transform: translateY(-1px);
}

.jc-nav a.jc-nav-link--active:hover {
	color: #140a18 !important;
	background: linear-gradient(
		160deg,
		#fff8d0 0%,
		#ffe066 40%,
		#f0b800 100%
	) !important;
	box-shadow:
		0 0 0 1px rgba(255, 230, 120, 0.7),
		0 8px 28px rgba(255, 215, 0, 0.5),
		0 0 48px rgba(255, 215, 0, 0.4),
		inset 0 2px 0 rgba(255, 255, 255, 0.55) !important;
}

.jc-brand {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	align-items: flex-start;
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(200px, 46vw);
}

/* Header logo: capped width — no horizontal stretch */
.jc-brand-logo-shell {
	flex: 0 0 auto;
	max-width: min(200px, 46vw);
	width: 100%;
}

.jc-brand-logo {
	display: block;
	line-height: 0;
	max-width: 100%;
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 20px rgba(255, 220, 160, 0.25));
	transition: transform 0.25s ease, filter 0.25s ease;
}

.jc-brand-logo:hover {
	transform: scale(1.02);
	filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(255, 200, 120, 0.4));
}

.jc-brand-logo-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: clamp(40px, 11vw, 52px);
	object-fit: contain;
	object-position: left center;
}

.jc-logo .custom-logo-link {
	display: block;
	line-height: 0;
	max-width: min(200px, 46vw);
}

.jc-logo .custom-logo {
	display: block;
	width: 100%;
	height: auto;
	max-height: clamp(40px, 11vw, 52px);
	object-fit: contain;
	object-position: left center;
}

.jc-site-title {
	font-family: var(--jc-font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	letter-spacing: 0.12em;
	margin: 0;
	line-height: 1;
	text-transform: uppercase;
}

.jc-site-title a {
	color: var(--jc-text);
	text-shadow: 0 0 40px var(--jc-glow);
}

.jc-site-title a:hover {
	color: var(--jc-accent);
}

.jc-tagline {
	margin: 0;
	font-size: 0.8rem;
	color: var(--jc-text-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Hero */
.jc-hero {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding: 3rem 1.5rem 2rem;
	text-align: center;
}

.jc-hero-badge {
	display: inline-block;
	padding: 0.35rem 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--jc-bg-deep);
	background: linear-gradient(135deg, var(--jc-accent), var(--jc-accent-hot));
	border-radius: 999px;
	margin-bottom: 1.25rem;
}

.jc-hero h1 {
	font-family: var(--jc-font-display);
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	letter-spacing: 0.06em;
	margin: 0 0 0.75rem;
	line-height: 1.05;
	text-transform: uppercase;
	background: linear-gradient(180deg, #fff 0%, var(--jc-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-hero p {
	max-width: 36rem;
	margin: 0 auto;
	color: var(--jc-text-muted);
	font-size: 1.05rem;
}

/* Main layout */
.jc-main-wrap {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

.jc-posts-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.jc-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.jc-posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jc-card {
	background: var(--jc-bg-card);
	border: 1px solid var(--jc-border);
	border-radius: var(--jc-radius);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(244, 193, 78, 0.15);
	border-color: rgba(244, 193, 78, 0.25);
}

.jc-card-thumb {
	aspect-ratio: 16 / 10;
	background: var(--jc-bg-elevated);
	overflow: hidden;
}

.jc-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.jc-card:hover .jc-card-thumb img {
	transform: scale(1.05);
}

.jc-card-body {
	padding: 1.25rem 1.35rem 1.5rem;
}

.jc-meta {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--jc-text-muted);
	margin-bottom: 0.5rem;
}

.jc-card-title {
	font-family: var(--jc-font-display);
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	margin: 0 0 0.5rem;
	line-height: 1.15;
	text-transform: uppercase;
}

.jc-card-title a {
	color: var(--jc-text);
}

.jc-card-title a:hover {
	color: var(--jc-accent);
}

.jc-excerpt {
	margin: 0;
	font-size: 0.92rem;
	color: var(--jc-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Single / Page */
.jc-single {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 0 3rem;
}

.jc-single .entry-header {
	margin-bottom: 2rem;
}

.jc-single .entry-title {
	font-family: var(--jc-font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: 0.06em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	line-height: 1.1;
}

.jc-single .entry-content {
	font-size: 1.05rem;
}

.jc-single .entry-content p:first-child {
	margin-top: 0;
}

.jc-single .entry-content a {
	border-bottom: 1px solid rgba(244, 193, 78, 0.4);
}

.jc-single .entry-content img,
.jc-single .entry-content .wp-block-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.jc-featured {
	margin-bottom: 1.5rem;
	border-radius: var(--jc-radius);
	overflow: hidden;
	border: 1px solid var(--jc-border);
}

.jc-featured img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

/* CMS block (front page Page content from block editor) */
.jc-page-cms {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.jc-page-cms__inner {
	max-width: min(52rem, 100%);
	margin-left: auto;
	margin-right: auto;
}

.jc-page-cms__article {
	margin: 0;
}

.jc-page-cms__content .alignwide {
	max-width: min(72rem, 100vw);
	margin-left: auto;
	margin-right: auto;
}

.jc-page-cms__content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Pagination */
.jc-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--jc-border);
}

.jc-pagination a,
.jc-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 8px;
	background: var(--jc-bg-card);
	border: 1px solid var(--jc-border);
	color: var(--jc-text-muted);
}

.jc-pagination a:hover {
	border-color: var(--jc-accent);
	color: var(--jc-accent);
}

.jc-pagination .current {
	background: linear-gradient(135deg, rgba(244, 193, 78, 0.2), rgba(255, 107, 74, 0.15));
	border-color: rgba(244, 193, 78, 0.4);
	color: var(--jc-accent);
}

/* Comments */
.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--jc-border);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-body {
	background: var(--jc-bg-card);
	border: 1px solid var(--jc-border);
	border-radius: var(--jc-radius);
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--jc-border);
	background: var(--jc-bg-elevated);
	color: var(--jc-text);
	font-family: inherit;
}

.comment-form .submit,
.wp-block-button__link,
button[type="submit"] {
	cursor: pointer;
	font-family: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--jc-accent), var(--jc-accent-hot));
	color: var(--jc-bg-deep);
}

/* Footer — red gradient */
.jc-site-footer {
	margin-top: auto;
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(40, 6, 10, 0.65) 0%, rgba(20, 3, 6, 0.96) 45%, #060102 100%);
	border-top: 1px solid rgba(255, 160, 160, 0.18);
	box-shadow:
		0 -1px 0 rgba(255, 255, 255, 0.06) inset,
		0 -24px 64px rgba(0, 0, 0, 0.55);
}

.jc-footer-premium__glow {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: min(90vw, 720px);
	height: 120px;
	pointer-events: none;
	background: radial-gradient(
		ellipse 80% 100% at 50% 0%,
		rgba(220, 50, 60, 0.28) 0%,
		rgba(120, 20, 30, 0.12) 45%,
		transparent 70%
	);
	opacity: 0.95;
}

.jc-footer-inner {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.jc-footer-premium__grid {
	display: grid;
	gap: 2rem 2.5rem;
	padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem clamp(2rem, 4vw, 2.75rem);
	grid-template-columns: 1fr;
	align-items: start;
	position: relative;
	z-index: 1;
}

@media (min-width: 720px) {
	.jc-footer-premium__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr);
		gap: 2rem 2rem;
	}
}

.jc-footer-kicker {
	margin: 0 0 0.5rem;
	font-family: var(--jc-font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	background: linear-gradient(100deg, #ffc9d0, #ff5c6c 45%, var(--jc-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.jc-footer-tagline {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--jc-text-muted);
	max-width: 22rem;
}

.jc-footer-heading {
	margin: 0 0 1rem;
	font-family: var(--jc-font-bubble);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jc-gold-dim);
}

.jc-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 1.25rem;
	align-items: start;
}

@media (max-width: 380px) {
	.jc-footer-menu {
		grid-template-columns: 1fr;
	}
}

.jc-footer-menu a {
	display: inline-block;
	color: var(--jc-text-muted);
	font-size: 0.95rem;
	padding: 0.15rem 0;
	border-bottom: 1px solid transparent;
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.jc-footer-menu a:hover,
.jc-footer-menu a:focus-visible {
	color: var(--jc-blue-bright);
	border-bottom-color: rgba(255, 140, 150, 0.35);
	transform: translateX(4px);
}

.jc-footer-note {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--jc-text-muted);
}

.jc-footer-anchor {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--jc-font-bubble);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--jc-gold);
}

.jc-footer-anchor::after {
	content: "→";
	font-size: 0.85em;
	transition: transform 0.2s ease;
}

.jc-footer-anchor:hover::after,
.jc-footer-anchor:focus-visible::after {
	transform: translateX(4px);
}

.jc-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.35);
}

.jc-footer-bar__inner {
	padding: 1.15rem 1.5rem;
	text-align: center;
}

.jc-credit {
	margin: 0;
	font-size: 0.82rem;
	color: var(--jc-text-muted);
	line-height: 1.6;
}

.jc-credit-sep {
	opacity: 0.55;
	margin: 0 0.2em;
}

.jc-credit a {
	color: var(--jc-accent);
}

.jc-credit a:hover {
	color: var(--jc-blue-bright);
}

/* 404 */
.jc-404 {
	text-align: center;
	padding: 4rem 1rem;
}

.jc-404 h1 {
	font-family: var(--jc-font-display);
	font-size: clamp(4rem, 15vw, 8rem);
	margin: 0;
	line-height: 1;
	background: linear-gradient(180deg, var(--jc-accent), var(--jc-accent-hot));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* No posts */
.jc-none {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--jc-text-muted);
}

/* ========== 82 Lottery landing (front page) ========== */
.jc-landing .jc-main-wrap {
	max-width: none;
	padding: 0;
}

.jc-section {
	position: relative;
	padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
	scroll-margin-top: calc(var(--jc-header-h) + 12px);
}

.jc-section-inner {
	max-width: var(--jc-max);
	margin: 0 auto;
}

.jc-glow-blue::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 80, 100, 0.12), transparent 55%);
}

.jc-glow-purple::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 70% 50% at 80% 30%, rgba(180, 30, 50, 0.14), transparent 50%);
}

.jc-glow-gold::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 200, 100, 0.08), transparent 45%);
}

/* Hero — left copy / right promo art */
.jc-section--hero-split {
	padding-top: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
	overflow: hidden;
}

.jc-hero-premium {
	background:
		radial-gradient(ellipse 90% 70% at 0% 20%, rgba(220, 50, 60, 0.2), transparent 55%),
		radial-gradient(ellipse 70% 60% at 100% 60%, rgba(100, 12, 22, 0.45), transparent 50%),
		radial-gradient(ellipse 50% 40% at 50% 100%, rgba(40, 6, 10, 0.55), transparent 55%),
		linear-gradient(165deg, #1a0508 0%, var(--jc-premium-deep) 45%, #0d0204 100%);
}

.jc-hero-premium.jc-glow-blue::before {
	background: radial-gradient(ellipse 70% 50% at 85% 25%, rgba(255, 200, 120, 0.08), transparent 55%);
}

.jc-hero-split {
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.75rem);
	align-items: stretch;
	max-width: var(--jc-max);
	margin: 0 auto;
}

/* Phone: DOM order = text block, then image */
@media (min-width: 900px) {
	.jc-hero-split--top {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
		gap: clamp(1.5rem, 3vw, 2.5rem);
		align-items: stretch;
	}

	.jc-hero-col--text {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		min-height: 0;
	}

	.jc-hero-col--visual {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}
}

.jc-hero-col--text {
	text-align: center;
}

@media (min-width: 900px) {
	.jc-hero-col--text {
		text-align: left;
		padding-right: 0.5rem;
	}
}

.jc-hero-col--visual {
	position: relative;
	min-width: 0;
}

.jc-hero-figure {
	position: relative;
	margin: 0;
	padding: 0;
	border-radius: var(--jc-radius-xl);
	overflow: hidden;
	background: linear-gradient(145deg, rgba(46, 13, 84, 0.6), rgba(10, 30, 94, 0.4));
	box-shadow:
		0 4px 0 rgba(255, 215, 0, 0.12) inset,
		0 24px 56px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 215, 0, 0.18),
		0 0 60px rgba(209, 42, 138, 0.15);
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(52vw, 280px);
}

@media (min-width: 900px) {
	.jc-hero-figure {
		min-height: 0;
		height: 100%;
	}
}

.jc-hero-frame {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06) inset,
		0 0 40px rgba(255, 140, 150, 0.08) inset;
	z-index: 1;
}

.jc-hero-promo-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 900px) {
	.jc-hero-promo-img {
		width: auto;
		max-width: 100%;
		max-height: 100%;
		height: auto;
		min-height: 0;
		object-fit: contain;
		background: radial-gradient(circle at 50% 40%, rgba(46, 13, 84, 0.25), transparent 65%);
	}
}

.jc-prose--hero-lead {
	max-width: 52rem;
	margin: 0 auto 1rem;
	text-align: left;
}

.jc-hero-col--text .jc-prose--hero-lead {
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 900px) {
	.jc-hero-col--text .jc-prose--hero-lead {
		margin-left: 0;
		margin-right: 0;
		flex: 1 1 auto;
	}
}

.jc-hero-cta-wrap {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding: 0 1rem;
	margin-top: clamp(1rem, 3vw, 1.5rem);
	padding-top: clamp(1rem, 2.5vw, 1.5rem);
	border-top: 1px solid rgba(255, 140, 150, 0.14);
}

.jc-hero-cta-wrap .jc-cta-row {
	margin-top: 0;
}

/* Phone: row 1 = two buttons, row 2 = third centered */
@media (max-width: 899px) {
	.jc-hero-cta-wrap .jc-cta-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.65rem 0.75rem;
		align-items: stretch;
		justify-items: stretch;
	}

	.jc-hero-cta-wrap .jc-cta-row .jc-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		font-size: clamp(0.72rem, 3.2vw, 0.85rem);
	}

	.jc-hero-cta-wrap .jc-cta-row .jc-btn:nth-child(3) {
		grid-column: 1 / -1;
		justify-self: center;
		width: 100%;
		max-width: min(300px, 92vw);
	}
}

.jc-hero-fullbleed {
	max-width: var(--jc-max);
	margin: 0 auto;
	padding: 0 1rem;
	margin-top: clamp(0.75rem, 2vw, 1.25rem);
	padding-top: clamp(1rem, 2.5vw, 1.5rem);
	border-top: 1px solid rgba(255, 140, 150, 0.12);
}

.jc-prose--hero-wide {
	max-width: none;
	margin: 0;
	text-align: left;
}

.jc-prose--hero-wide p {
	margin: 0;
	color: var(--jc-text-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.jc-kicker {
	font-family: var(--jc-font-bubble);
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	font-weight: 700;
	margin: 0 0 0.75rem;
	background: linear-gradient(90deg, var(--jc-blue-bright), var(--jc-purple-bright));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-h1 {
	font-family: var(--jc-font-display);
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	letter-spacing: 0.08em;
	margin: 0 0 1.25rem;
	text-transform: uppercase;
	line-height: 1.05;
	background: linear-gradient(185deg, #fff 0%, var(--jc-blue-bright) 45%, var(--jc-purple-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 0 rgba(0, 51, 153, 0.35));
}

.jc-hero-premium .jc-kicker--hero {
	background: linear-gradient(90deg, var(--jc-premium-gold) 0%, var(--jc-premium-magenta) 45%, var(--jc-blue-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 24px rgba(255, 215, 0, 0.25));
}

.jc-hero-premium .jc-h1--hero {
	background: linear-gradient(185deg, #fff 0%, var(--jc-premium-gold) 38%, var(--jc-premium-magenta) 72%, var(--jc-blue-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 12px rgba(209, 42, 138, 0.35));
}

.jc-hero-ribbons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	justify-content: center;
	margin: 0 0 1.25rem;
}

@media (min-width: 900px) {
	.jc-hero-ribbons {
		justify-content: flex-start;
	}
}

.jc-hero-ribbon {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	font-family: var(--jc-font-bubble);
	font-size: clamp(0.72rem, 2vw, 0.85rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.jc-hero-ribbon--red {
	color: #fff;
	background: linear-gradient(180deg, #c41e2a 0%, #6b0a12 100%);
	border: 1px solid rgba(255, 180, 180, 0.35);
}

.jc-hero-ribbon--gold {
	color: #1a0508;
	background: linear-gradient(180deg, var(--jc-gold) 0%, var(--jc-gold-dim) 100%);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.jc-hero-ribbon--green {
	color: #fff;
	background: linear-gradient(180deg, #1e8a4a 0%, #0d3d22 100%);
	border: 1px solid rgba(160, 255, 190, 0.25);
}

.jc-hero-col--text .jc-lead {
	margin-bottom: 0.75rem;
}

.jc-hero-tagline {
	margin: 0 0 1.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 245, 245, 0.88);
}

.jc-hero-trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem 0.75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 140, 150, 0.15);
}

@media (min-width: 520px) {
	.jc-hero-trust {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.jc-hero-trust__item {
	padding: 0.5rem 0.45rem;
	text-align: center;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.25;
	color: var(--jc-gold);
	background: rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	border: 1px solid rgba(255, 215, 0, 0.18);
}

.jc-hero-trust__label {
	display: block;
}

.jc-h2 {
	font-family: var(--jc-font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	letter-spacing: 0.06em;
	margin: 0 0 1rem;
	text-transform: uppercase;
	line-height: 1.15;
}

.jc-h2--blue {
	background: linear-gradient(180deg, #fff, var(--jc-blue-bright));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-h2--purple {
	background: linear-gradient(180deg, #fff, var(--jc-purple-bright));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-h2--gold {
	background: linear-gradient(180deg, #fff 0%, var(--jc-gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-h2--light {
	color: var(--jc-text);
	text-shadow: 0 0 40px rgba(200, 50, 65, 0.25);
}

.jc-h3 {
	font-family: var(--jc-font-bubble);
	font-size: 1.35rem;
	font-weight: 700;
	margin: 2rem 0 1rem;
	color: var(--jc-text);
}

.jc-h4 {
	font-family: var(--jc-font-bubble);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--jc-text);
}

.jc-lead {
	font-size: 1.05rem;
	color: var(--jc-text-muted);
	margin: 0 0 1.5rem;
	max-width: 58rem;
}

.jc-lead--muted {
	opacity: 0.95;
}

.jc-lead--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	max-width: 48rem;
}

.jc-section-head {
	margin-bottom: 1rem;
}

.jc-section-head--center {
	text-align: center;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.jc-prose p {
	margin: 0 0 1rem;
}

.jc-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: center;
	margin-top: 0.5rem;
}

.jc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	font-family: var(--jc-font-bubble);
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: 999px;
	border: 2px solid transparent;
	box-shadow:
		0 4px 0 rgba(0, 0, 0, 0.25),
		0 8px 24px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jc-btn:hover {
	transform: translateY(-2px);
	color: inherit;
}

.jc-btn--gold {
	background: linear-gradient(180deg, #ffe566 0%, var(--jc-gold) 40%, var(--jc-gold-dim) 100%);
	color: #1a1030;
	border-color: rgba(255, 255, 255, 0.35);
}

.jc-btn--outline {
	background: rgba(255, 255, 255, 0.06);
	color: var(--jc-blue-bright);
	border-color: rgba(255, 140, 150, 0.45);
}

.jc-btn--purple {
	background: linear-gradient(135deg, var(--jc-purple-deep), var(--jc-purple-bright));
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
}

/* Key Features — zigzag collage */
.jc-section--features-collage .jc-section-inner {
	max-width: min(1200px, 100%);
}

.jc-feature-collage {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vw, 2rem);
}

.jc-feature-card {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	padding: clamp(1rem, 2.5vw, 1.65rem);
	border-radius: var(--jc-radius-xl);
	background:
		linear-gradient(145deg, rgba(255, 215, 0, 0.04) 0%, transparent 42%),
		linear-gradient(165deg, rgba(50, 10, 18, 0.92), rgba(12, 4, 8, 0.96));
	border: 1px solid rgba(255, 215, 0, 0.16);
	box-shadow:
		0 20px 56px rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(255, 100, 120, 0.08) inset,
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	align-items: stretch;
}

@media (min-width: 768px) {
	.jc-feature-card {
		flex-direction: row;
		align-items: center;
		gap: clamp(1.25rem, 3vw, 2.25rem);
		padding: clamp(1.25rem, 2.5vw, 2rem);
	}

	.jc-feature-card--reverse {
		flex-direction: row-reverse;
	}
}

.jc-feature-card__frame {
	margin: 0;
	flex: 0 0 auto;
	width: 100%;
	max-width: min(240px, 88vw);
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.jc-feature-card__frame {
		flex: 0 0 clamp(200px, 24vw, 260px);
		width: clamp(200px, 24vw, 260px);
		max-width: 260px;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
	}
}

.jc-feature-card__img {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: min(380px, 52vh);
	display: block;
	margin-left: auto;
	margin-right: auto;
	border-radius: var(--jc-radius-lg);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 215, 0, 0.12);
	object-fit: contain;
	object-position: center;
	background: radial-gradient(ellipse at 50% 30%, rgba(80, 20, 30, 0.45), #080304);
	vertical-align: middle;
}

.jc-feature-card__body {
	flex: 1 1 50%;
	min-width: 0;
}

.jc-feature-card__title {
	font-family: var(--jc-font-display);
	font-size: clamp(1.1rem, 2.4vw, 1.4rem);
	font-weight: 700;
	margin: 0 0 0.65rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	background: linear-gradient(180deg, #fff 0%, var(--jc-gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.jc-feature-card__text {
	margin: 0;
	font-size: clamp(0.95rem, 1.6vw, 1.05rem);
	line-height: 1.7;
	color: var(--jc-text-muted);
}

@media (min-width: 768px) {
	.jc-feature-card__body {
		padding: 0.25rem 0;
	}
}

/* How to Register — vertical timeline + alternating image strip (distinct from Key Features zigzag) */
.jc-reg-guide__inner {
	max-width: min(920px, 100%);
}

.jc-reg-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.jc-reg-timeline::before {
	content: "";
	position: absolute;
	left: 1.1875rem;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 3px;
	background: linear-gradient(
		180deg,
		rgba(255, 209, 102, 0.55) 0%,
		rgba(201, 162, 58, 0.2) 45%,
		rgba(90, 20, 30, 0.15) 100%
	);
	border-radius: 999px;
	pointer-events: none;
}

.jc-reg-step {
	position: relative;
	padding-left: 3.65rem;
	margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.jc-reg-step:last-child {
	margin-bottom: 0;
}

.jc-reg-step__badge {
	position: absolute;
	left: 0;
	top: 0.25rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--jc-gold) 0%, var(--jc-gold-dim) 100%);
	color: #1a0508;
	font-family: var(--jc-font-bubble);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 6px 20px rgba(0, 0, 0, 0.45),
		0 0 0 2px rgba(26, 5, 8, 0.65);
	z-index: 1;
}

.jc-reg-step__card {
	background:
		linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 42%),
		linear-gradient(165deg, rgba(42, 12, 20, 0.92), rgba(8, 3, 6, 0.96));
	border: 1px solid rgba(255, 215, 0, 0.14);
	border-radius: var(--jc-radius-xl);
	padding: clamp(1rem, 2.2vw, 1.45rem);
	box-shadow:
		0 18px 44px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.jc-reg-step__split {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.jc-reg-step__split--img-left {
		flex-direction: row;
		align-items: center;
		gap: clamp(1rem, 2.5vw, 1.75rem);
	}

	.jc-reg-step__split--img-right {
		flex-direction: row-reverse;
		align-items: center;
		gap: clamp(1rem, 2.5vw, 1.75rem);
	}
}

.jc-reg-step__visual {
	margin: 0;
	flex: 0 0 auto;
	width: 100%;
	max-width: min(220px, 72vw);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

@media (min-width: 768px) {
	.jc-reg-step__visual {
		flex: 0 0 clamp(180px, 22vw, 230px);
		width: clamp(180px, 22vw, 230px);
		max-width: 230px;
		margin-left: 0;
		margin-right: 0;
	}
}

.jc-reg-step__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(340px, 48vh);
	object-fit: contain;
	object-position: center;
	border-radius: var(--jc-radius-lg);
	background: radial-gradient(ellipse at 50% 25%, rgba(60, 15, 25, 0.5), #070203);
	box-shadow:
		0 10px 32px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.12);
}

.jc-reg-step__body {
	flex: 1 1 auto;
	min-width: 0;
}

.jc-reg-step__title {
	font-family: var(--jc-font-display);
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	font-weight: 700;
	margin: 0 0 0.5rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	background: linear-gradient(180deg, #fff 0%, var(--jc-blue-bright) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jc-reg-step__text {
	margin: 0;
	font-size: clamp(0.95rem, 1.5vw, 1.03rem);
	line-height: 1.7;
	color: var(--jc-text-muted);
}

/* Download guide — center-rail “fishbone” (distinct from timeline + feature zigzag) */
.jc-dl-guide__inner {
	max-width: min(980px, 100%);
}

.jc-dl-fish {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0 0;
}

.jc-dl-fish::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(
		180deg,
		rgba(255, 209, 102, 0.55) 0%,
		rgba(180, 40, 55, 0.35) 50%,
		rgba(90, 20, 30, 0.2) 100%
	);
	pointer-events: none;
	z-index: 0;
}

.jc-dl-step {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 2.75rem minmax(0, 1fr);
	gap: 0.65rem 0.75rem;
	align-items: center;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.jc-dl-step:last-child {
	margin-bottom: 0;
}

.jc-dl-step__node {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #ffeb99 0%, var(--jc-gold-dim) 100%);
	color: #1a0508;
	font-family: var(--jc-font-bubble);
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.45),
		0 0 0 3px rgba(26, 5, 8, 0.85);
}

.jc-dl-step--img-start .jc-dl-step__media {
	grid-column: 1;
	grid-row: 1;
}

.jc-dl-step--img-start .jc-dl-step__content {
	grid-column: 3;
	grid-row: 1;
}

.jc-dl-step--img-end .jc-dl-step__content {
	grid-column: 1;
	grid-row: 1;
	text-align: right;
}

.jc-dl-step--img-end .jc-dl-step__media {
	grid-column: 3;
	grid-row: 1;
}

.jc-dl-step__media {
	margin: 0;
	min-width: 0;
}

.jc-dl-step__img {
	display: block;
	width: 100%;
	max-width: min(220px, 100%);
	height: auto;
	max-height: min(320px, 46vh);
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
	object-position: center;
	border-radius: var(--jc-radius-lg);
	background: radial-gradient(ellipse at 50% 30%, rgba(50, 14, 22, 0.5), #060203);
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.12);
}

.jc-dl-step--img-end .jc-dl-step__img {
	margin-left: auto;
	margin-right: 0;
}

.jc-dl-step--img-start .jc-dl-step__img {
	margin-left: 0;
	margin-right: auto;
}

.jc-dl-step__content {
	min-width: 0;
	padding: 0.35rem 0;
}

.jc-dl-step__title {
	font-family: var(--jc-font-bubble);
	font-size: clamp(0.98rem, 2vw, 1.12rem);
	font-weight: 700;
	margin: 0;
	line-height: 1.45;
	color: var(--jc-text);
	text-wrap: balance;
}

@media (max-width: 767px) {
	.jc-dl-fish::before {
		display: none;
	}

	.jc-dl-step {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
		padding: 1rem 1.1rem;
		border-radius: var(--jc-radius-xl);
		background: linear-gradient(165deg, rgba(35, 10, 16, 0.88), rgba(10, 3, 6, 0.94));
		border: 1px solid rgba(255, 215, 0, 0.12);
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	}

	.jc-dl-step__node {
		align-self: flex-start;
		order: 1;
	}

	.jc-dl-step__media {
		order: 2;
	}

	.jc-dl-step__content {
		order: 3;
		text-align: left !important;
	}

	.jc-dl-step--img-end .jc-dl-step__img,
	.jc-dl-step--img-start .jc-dl-step__img {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Login guide — 2×2 card grid (distinct from fishbone + timeline) */
.jc-login-guide__inner {
	max-width: min(960px, 100%);
}

.jc-login-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.5vw, 1.35rem);
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 640px) {
	.jc-login-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.jc-login-card {
	position: relative;
	margin: 0;
	padding: clamp(1rem, 2.2vw, 1.35rem);
	padding-top: clamp(1.75rem, 3vw, 2rem);
	border-radius: var(--jc-radius-xl);
	background:
		linear-gradient(155deg, rgba(255, 215, 0, 0.06) 0%, transparent 45%),
		linear-gradient(165deg, rgba(30, 50, 90, 0.25), rgba(12, 6, 18, 0.94));
	border: 1px solid rgba(255, 140, 180, 0.14);
	box-shadow:
		0 16px 44px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.jc-login-card__step {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	min-width: 2.1rem;
	height: 2.1rem;
	padding: 0 0.45rem;
	border-radius: 999px;
	background: linear-gradient(145deg, #ffe566, var(--jc-gold-dim));
	color: #1a0508;
	font-family: var(--jc-font-bubble);
	font-weight: 800;
	font-size: 0.9rem;
	line-height: 2.1rem;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.jc-login-card__media {
	margin: 0 0 0.85rem;
	text-align: center;
}

.jc-login-card__img {
	display: inline-block;
	width: 100%;
	max-width: min(200px, 88%);
	height: auto;
	max-height: min(280px, 42vh);
	object-fit: contain;
	object-position: center;
	border-radius: var(--jc-radius-lg);
	background: radial-gradient(ellipse at 50% 28%, rgba(40, 20, 50, 0.4), #070308);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.1);
	vertical-align: middle;
}

.jc-login-card__title {
	font-family: var(--jc-font-bubble);
	font-size: clamp(0.92rem, 1.8vw, 1.05rem);
	font-weight: 700;
	margin: 0;
	line-height: 1.4;
	color: var(--jc-text);
	text-align: center;
	text-wrap: balance;
}

.jc-login-guide__foot {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.jc-login-guide__foot p {
	margin-bottom: 0;
}

/* Bonuses & promotions — stacked “promo cards” (image band + copy; distinct from zigzag / grid) */
.jc-bonus-guide__inner {
	max-width: min(820px, 100%);
}

.jc-bonus-guide__intro {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.jc-bonus-guide__intro p:last-child {
	margin-bottom: 0;
}

.jc-bonus-stack {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vw, 1.85rem);
}

.jc-bonus-card {
	margin: 0;
	border-radius: var(--jc-radius-xl);
	overflow: hidden;
	background:
		linear-gradient(165deg, rgba(255, 215, 0, 0.06) 0%, transparent 40%),
		linear-gradient(165deg, rgba(40, 12, 22, 0.9), rgba(10, 4, 8, 0.96));
	border: 1px solid rgba(255, 215, 0, 0.14);
	box-shadow:
		0 18px 48px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.jc-bonus-card__media {
	position: relative;
	margin: 0;
	padding: clamp(0.75rem, 2vw, 1.1rem);
	text-align: center;
	background: linear-gradient(180deg, rgba(30, 8, 14, 0.65), rgba(8, 3, 6, 0.92));
	border-bottom: 1px solid rgba(255, 140, 150, 0.1);
}

.jc-bonus-card__step {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	min-width: 2.15rem;
	height: 2.15rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: linear-gradient(145deg, #fff 0%, var(--jc-gold) 55%, var(--jc-gold-dim) 100%);
	color: #1a0508;
	font-family: var(--jc-font-bubble);
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 2.15rem;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.jc-bonus-card__img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(300px, 46vh);
	object-fit: contain;
	object-position: center;
	vertical-align: middle;
	border-radius: var(--jc-radius-lg);
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.1);
	background: radial-gradient(ellipse at 50% 25%, rgba(60, 20, 35, 0.35), #050203);
}

.jc-bonus-card__body {
	padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.65rem) clamp(1.15rem, 2.2vw, 1.6rem);
}

.jc-bonus-card__body .jc-h3 {
	margin-top: 0;
}

/* Reasons for Choosing — promo infographic */
.jc-why-choose__inner {
	max-width: min(960px, 100%);
}

.jc-why-choose__banner {
	margin: 0 auto clamp(1.25rem, 3vw, 2rem);
	padding: 0;
	max-width: min(920px, 100%);
}

.jc-why-choose__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--jc-radius-xl);
	box-shadow:
		0 20px 56px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.12);
	object-fit: contain;
	vertical-align: middle;
	background: radial-gradient(ellipse at 50% 20%, rgba(80, 20, 35, 0.35), #0a0305);
}

/* Split + overview card */
.jc-section--split {
	padding-bottom: 3rem;
}

.jc-split {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	/* Default: main content first in DOM = left; optional modifier flips intent via columns */
	.jc-split {
		grid-template-columns: 1fr minmax(280px, 360px);
		gap: 2.5rem;
	}

	/* Overview card left, “What Is It?” article right */
	.jc-split--overview-left {
		grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
		gap: clamp(1.75rem, 3vw, 2.75rem);
		align-items: start;
	}

	.jc-section--split-overview-left .jc-split__aside {
		position: sticky;
		top: calc(var(--jc-header-h, 76px) + 12px);
	}
}

.jc-card-3d {
	padding: 1.5rem;
	border-radius: var(--jc-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(145deg, rgba(75, 0, 130, 0.35), rgba(18, 16, 40, 0.9));
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 16px 48px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(200, 50, 65, 0.15);
}

.jc-card-3d--purple .jc-h3 {
	margin-top: 0;
	color: var(--jc-purple-bright);
}

.jc-table-wrap {
	overflow-x: auto;
	border-radius: var(--jc-radius);
}

.jc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.jc-table th,
.jc-table td {
	padding: 0.65rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jc-table th {
	width: 38%;
	color: var(--jc-blue-bright);
	font-weight: 600;
	font-family: var(--jc-font-bubble);
}

.jc-mono {
	font-family: ui-monospace, monospace;
	font-size: 0.85rem;
	color: var(--jc-gold);
}

/* Steps */
.jc-step-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.jc-step-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.jc-step-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jc-step-grid--small {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.jc-step-grid--small {
		grid-template-columns: repeat(2, 1fr);
	}
}

.jc-step-card {
	display: flex;
	gap: 1rem;
	padding: 1.25rem;
	border-radius: var(--jc-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(10, 12, 28, 0.65);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.jc-step-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 204, 0, 0.25);
}

.jc-step-card--blue {
	border-color: rgba(255, 140, 150, 0.2);
}

.jc-step-card--purple {
	border-color: rgba(200, 50, 65, 0.25);
}

.jc-step-num {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--jc-font-bubble);
	font-weight: 800;
	font-size: 1.1rem;
	border-radius: 12px;
	background: linear-gradient(145deg, var(--jc-gold), var(--jc-gold-dim));
	color: #1a1030;
	box-shadow: 0 4px 12px rgba(255, 204, 0, 0.25);
}

.jc-step-body p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--jc-text-muted);
}

.jc-band-purple {
	background: linear-gradient(135deg, rgba(75, 0, 130, 0.35), rgba(5, 8, 20, 0.92));
	border-block: 1px solid rgba(200, 50, 65, 0.2);
}

.jc-band-dark {
	background: rgba(8, 10, 22, 0.85);
	border-block: 1px solid var(--jc-border);
}

.jc-step-list {
	margin: 0;
	padding-left: 1.25rem;
	max-width: 52rem;
}

.jc-step-list li {
	margin-bottom: 1rem;
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--jc-radius);
	border-left: 4px solid var(--jc-purple-bright);
}

.jc-step-list--compact strong {
	color: var(--jc-blue-bright);
}

/* Download grid */
.jc-dl-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.jc-dl-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.jc-dl-card {
	padding: 1.35rem;
	border-radius: var(--jc-radius);
	background: linear-gradient(160deg, rgba(0, 51, 153, 0.25), rgba(18, 16, 40, 0.85));
	border: 1px solid rgba(255, 140, 150, 0.2);
	position: relative;
	overflow: hidden;
}

.jc-dl-card::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -20%;
	width: 60%;
	height: 80%;
	background: radial-gradient(circle, rgba(255, 140, 150, 0.12), transparent 70%);
	pointer-events: none;
}

.jc-dl-icon {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	margin-bottom: 0.75rem;
	font-weight: 800;
	font-family: var(--jc-font-bubble);
	background: linear-gradient(180deg, var(--jc-blue-bright), var(--jc-blue-deep));
	color: #fff;
}

.jc-dl-card p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--jc-text-muted);
}

/* Games */
.jc-game-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.jc-game-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.jc-game-card {
	padding: 0;
	overflow: hidden;
	border-radius: var(--jc-radius-xl);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.2s ease;
}

.jc-game-card:hover {
	transform: scale(1.02);
}

.jc-game-card--blue {
	background: linear-gradient(155deg, rgba(0, 51, 153, 0.4), rgba(12, 14, 32, 0.95));
	box-shadow: 0 12px 40px rgba(0, 51, 153, 0.2);
}

.jc-game-card--purple {
	background: linear-gradient(155deg, rgba(75, 0, 130, 0.45), rgba(12, 14, 32, 0.95));
	box-shadow: 0 12px 40px rgba(75, 0, 130, 0.25);
}

.jc-game-card--gold {
	background: linear-gradient(155deg, rgba(255, 204, 0, 0.15), rgba(12, 14, 32, 0.95));
	border-color: rgba(255, 204, 0, 0.25);
}

.jc-game-title {
	font-family: var(--jc-font-bubble);
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
	color: var(--jc-gold);
}

.jc-game-card .jc-game-title {
	margin: 1.25rem 0 0.5rem;
	padding: 0 1.5rem;
}

.jc-game-card p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--jc-text-muted);
	padding: 0 1.5rem 1.5rem;
}

.jc-game-card__media {
	margin: 0;
	aspect-ratio: 16 / 10;
	background: rgba(0, 0, 0, 0.25);
}

.jc-game-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Popular games — collage cards: full image visible, no clipping */
.jc-game-grid--collage {
	gap: 1.35rem 1.15rem;
}

.jc-game-grid--collage .jc-game-card {
	display: flex;
	flex-direction: column;
	overflow: visible;
	border-radius: 16px;
	position: relative;
	z-index: 0;
	padding: 0.65rem 0.65rem 0;
}

.jc-game-grid--collage .jc-game-card:hover {
	transform: translateY(-4px);
	z-index: 1;
	box-shadow:
		0 14px 40px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 215, 0, 0.12);
}

.jc-game-grid--collage .jc-game-card__media {
	flex-shrink: 0;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	margin: 0.25rem 0 0;
	padding: 0.65rem 0.65rem 0.85rem;
	box-sizing: border-box;
	border-radius: 12px;
	overflow: visible;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(
		165deg,
		rgba(255, 255, 255, 0.07) 0%,
		rgba(35, 28, 62, 0.55) 50%,
		rgba(12, 14, 32, 0.75) 100%
	);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.jc-game-grid--collage .jc-game-card:nth-child(odd) .jc-game-card__media {
	transform: rotate(-0.9deg);
}

.jc-game-grid--collage .jc-game-card:nth-child(even) .jc-game-card__media {
	transform: rotate(0.75deg);
}

.jc-game-grid--collage .jc-game-card__img {
	width: 100%;
	height: auto;
	max-height: min(210px, 42vw);
	object-fit: contain;
	object-position: center;
	display: block;
	border-radius: 8px;
}

.jc-game-grid--collage .jc-game-card .jc-game-title {
	margin-top: 0.95rem;
	font-size: 1.12rem;
}

.jc-game-grid--collage .jc-game-card p {
	padding-bottom: 1.2rem;
	font-size: 0.9rem;
}

@media (min-width: 1024px) {
	.jc-game-grid--collage {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jc-game-grid--collage .jc-game-card__img {
		max-height: min(200px, 28vh);
	}
}

.jc-bullet {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 48rem;
}

.jc-bullet li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.jc-bullet--check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--jc-gold);
	font-weight: 800;
}

.jc-tip-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.jc-tip-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.jc-tip {
	padding: 1rem 1.15rem;
	border-radius: var(--jc-radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(200, 50, 65, 0.2);
	font-size: 0.95rem;
}

.jc-refer-flow {
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.jc-refer-flow {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.jc-refer-flow {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jc-refer-step {
	padding: 1.25rem;
	border-radius: var(--jc-radius);
	background: rgba(0, 51, 153, 0.15);
	border: 1px solid rgba(255, 140, 150, 0.2);
}

.jc-refer-step strong {
	display: block;
	font-family: var(--jc-font-bubble);
	color: var(--jc-blue-bright);
	margin-bottom: 0.35rem;
}

.jc-refer-step p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--jc-text-muted);
}

/* FAQ */
.jc-faq-list {
	max-width: 52rem;
	margin: 0 auto;
}

.jc-faq {
	border-radius: var(--jc-radius);
	margin-bottom: 0.65rem;
	border: 1px solid rgba(255, 204, 0, 0.2);
	background: rgba(40, 8, 14, 0.72);
	overflow: hidden;
}

.jc-faq summary {
	cursor: pointer;
	padding: 1rem 1.15rem;
	font-family: var(--jc-font-bubble);
	font-weight: 700;
	list-style: none;
	background: linear-gradient(90deg, rgba(255, 204, 0, 0.08), transparent);
}

.jc-faq summary::-webkit-details-marker {
	display: none;
}

.jc-faq summary::after {
	content: "+";
	float: right;
	color: var(--jc-gold);
	font-size: 1.25rem;
	line-height: 1;
}

.jc-faq[open] summary::after {
	content: "−";
}

.jc-faq-a {
	padding: 0 1.15rem 1.15rem;
}

.jc-faq-a p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--jc-text-muted);
}

/* Section guide images (signup, login, deposit, bank, refer) */
.jc-section-media {
	margin: 0 auto 1.75rem;
	max-width: min(380px, 100%);
	border-radius: var(--jc-radius-xl);
	overflow: hidden;
	border: 1px solid rgba(255, 215, 0, 0.18);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 140, 150, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	background: linear-gradient(160deg, rgba(46, 13, 84, 0.35), rgba(10, 30, 94, 0.2));
}

.jc-section-media__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
	object-fit: cover;
	object-position: center top;
}

.jc-section-media--refer {
	max-width: min(420px, 100%);
}

.jc-wallet-split {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
}

@media (min-width: 900px) {
	.jc-wallet-split {
		grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
		align-items: center;
	}

	.jc-section-media--sticky {
		position: sticky;
		top: calc(var(--jc-header-h, 76px) + 12px);
		margin-bottom: 0;
	}
}

/* Account section: 4 step cards left, signup image right; remaining steps below */
.jc-account-split {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
}

.jc-account-split__visual {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
}

.jc-account-split__visual .jc-section-media {
	margin-left: auto;
	margin-right: auto;
}

/* Collage-style frame + image column (account: right, login: left) */
.jc-account-split__visual .jc-section-media--account,
.jc-login-split__visual .jc-section-media--login {
	width: 100%;
	max-width: none;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	padding: 0.55rem 0.55rem 1.15rem;
	border-radius: 8px 18px 12px 14px;
	background: linear-gradient(
		168deg,
		rgba(255, 252, 248, 0.97) 0%,
		rgba(232, 226, 250, 0.93) 42%,
		rgba(255, 248, 255, 0.96) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow:
		0 3px 0 rgba(0, 0, 0, 0.1),
		0 8px 24px rgba(75, 0, 130, 0.18),
		0 28px 64px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	transform-origin: 50% 40%;
}

.jc-account-split__visual .jc-section-media--account {
	transform: rotate(-1.4deg);
}

.jc-login-split__visual .jc-section-media--login {
	transform: rotate(1.35deg);
}

.jc-account-split__visual .jc-section-media__img,
.jc-login-split__visual .jc-section-media__img {
	flex: 0 1 auto;
	width: 100%;
	min-height: clamp(260px, 65vw, 420px);
	object-fit: cover;
	object-position: center top;
	border-radius: 6px 14px 8px 8px;
}

/* First 4 steps: always one column so cards stay full-width in the text column (readable like “Next steps”) */
.jc-account-split__grid.jc-step-grid {
	grid-template-columns: 1fr;
	gap: 1.15rem;
}

.jc-account-split__grid .jc-step-card {
	padding: 1.35rem 1.4rem;
}

.jc-account-split__grid .jc-step-body p {
	font-size: 0.95rem;
	line-height: 1.55;
}

@media (min-width: 900px) {
	.jc-account-split {
		grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.62fr);
		align-items: start;
		gap: clamp(1.5rem, 3.5vw, 2.75rem);
	}

	.jc-account-split__steps {
		min-width: 0;
	}

	/* Sticky on column so inner figure can use transform (collage tilt) */
	.jc-account-split__visual--sticky {
		position: sticky;
		top: calc(var(--jc-header-h, 76px) + 12px);
		display: flex;
		flex-direction: column;
		align-self: start;
		width: 100%;
		max-width: min(340px, 100%);
		margin-left: auto;
		margin-right: 0;
	}

	.jc-account-split__visual .jc-section-media--account {
		flex: 0 0 auto;
		max-width: 100%;
	}

	.jc-account-split__visual .jc-section-media__img {
		min-height: clamp(260px, 38vh, 420px);
	}

	/* Bank linking: image left, steps right (same proportions as login section) */
	.jc-account-split--image-left {
		grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.3fr);
		gap: clamp(1.5rem, 3.5vw, 2.75rem);
	}

	.jc-account-split--image-left .jc-account-split__steps {
		min-width: 0;
	}

	.jc-account-split--image-left .jc-account-split__visual--sticky {
		margin-left: 0;
		margin-right: auto;
	}

	.jc-account-split--image-left .jc-account-split__visual .jc-section-media--account {
		transform: rotate(1.25deg);
	}
}

/* Login section: same split pattern, image left, step cards right */
.jc-login-split {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: start;
}

.jc-login-split__visual {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
}

.jc-login-split__visual .jc-section-media {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 900px) {
	.jc-login-split {
		grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.3fr);
		align-items: start;
		gap: clamp(1.5rem, 3.5vw, 2.75rem);
	}

	.jc-login-split__steps {
		min-width: 0;
	}

	.jc-login-split__visual--sticky {
		position: sticky;
		top: calc(var(--jc-header-h, 76px) + 12px);
		display: flex;
		flex-direction: column;
		align-self: start;
		width: 100%;
		max-width: min(340px, 100%);
		margin-left: 0;
		margin-right: auto;
	}

	.jc-login-split__visual .jc-section-media--login {
		flex: 0 0 auto;
		max-width: 100%;
	}

	.jc-login-split__visual .jc-section-media__img {
		min-height: clamp(260px, 38vh, 420px);
	}
}

.jc-account-rest__title {
	margin-top: 2.25rem;
}

.jc-account-rest__grid.jc-step-grid {
	margin-top: 0.5rem;
}

.jc-bank-split__top {
	display: grid;
	gap: 1.25rem;
	align-items: start;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.jc-bank-split__top {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
		align-items: center;
	}
}

.jc-section-media--bank {
	margin-bottom: 0;
	max-width: min(340px, 100%);
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.jc-section-media--bank {
		margin: 0;
		max-width: none;
	}
}

.jc-bank-split__steps {
	grid-column: 1 / -1;
}

/* Home SEO article — lists & FAQ (dl) */
.jc-seo-article {
	max-width: 100%;
}

.jc-prose .jc-ol,
.jc-prose .jc-ul {
	margin: 0 0 1rem;
	padding-left: 1.35rem;
	color: var(--jc-text-muted);
}

.jc-prose .jc-ol li,
.jc-prose .jc-ul li {
	margin-bottom: 0.5rem;
}

.jc-prose .jc-ol li:last-child,
.jc-prose .jc-ul li:last-child {
	margin-bottom: 0;
}

.jc-faq-list dt {
	font-family: var(--jc-font-bubble);
	font-weight: 700;
	font-size: 1rem;
	color: var(--jc-text);
	margin: 1.25rem 0 0.4rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid rgba(255, 204, 0, 0.15);
}

.jc-faq-list dt:first-child {
	margin-top: 0;
}

.jc-faq-list dd {
	margin: 0 0 0.75rem;
	padding-left: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--jc-text-muted);
}

/* --- Red theme: extra depth on long SEO pages --- */
.jc-landing .jc-section {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.jc-landing .jc-section:last-of-type {
	border-bottom: none;
}
