/*!
 * Starla Jurusan Engine — design system bersama untuk landing page jurusan.
 * Starla Education. Satu file ini dipakai keenam halaman jurusan + Profile,
 * jadi browser cukup mengunduhnya sekali lalu memakainya ulang di halaman lain.
 *
 * Warna tiap jurusan diatur lewat custom property --j-* yang di-set per
 * halaman (lihat blok :root di tiap template.php). File ini sendiri tidak
 * tahu apa-apa soal jurusan tertentu, supaya tetap satu file untuk semua.
 */

/* ==========================================================================
   1. Reset & Dasar
   ========================================================================== */

.starla-j, .starla-j * , .starla-j *::before, .starla-j *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.starla-j {
	--j-primary: #0f766e;
	--j-primary-dark: #0b5c56;
	--j-secondary: #f59e0b;
	--j-accent: #ec4899;
	--j-dark: #0f172a;
	--j-ink: #1e293b;
	--j-muted: #64748b;
	--j-line: #e2e8f0;
	--j-surface: #ffffff;
	--j-canvas: #f8fafc;
	--j-radius: 20px;
	--j-radius-sm: 12px;
	--j-shadow: 0 20px 45px -20px rgba(15, 23, 42, .25);
	--j-shadow-sm: 0 8px 20px -8px rgba(15, 23, 42, .18);
	--j-container: 1220px;
	--j-ease: cubic-bezier(.22, 1, .36, 1);

	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--j-ink);
	background: var(--j-canvas);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.starla-j img { max-width: 100%; display: block; }
.starla-j a { color: inherit; text-decoration: none; }
.starla-j button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.starla-j ul, .starla-j ol { list-style: none; }
.starla-j svg { display: block; }

.starla-j h1, .starla-j h2, .starla-j h3, .starla-j h4 {
	font-weight: 800;
	line-height: 1.15;
	color: var(--j-dark);
	letter-spacing: -.01em;
}

.starla-j .j-container {
	width: 100%;
	max-width: var(--j-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.starla-j .j-section { padding-block: 64px; position: relative; }
.starla-j .j-section--tight { padding-block: 40px; }
.starla-j .j-section--dark { background: var(--j-dark); color: #e2e8f0; }
.starla-j .j-section--dark h2, .starla-j .j-section--dark h3 { color: #fff; }
.starla-j .j-section--tint { background: var(--j-canvas); }

@media (min-width: 768px) { .starla-j .j-section { padding-block: 88px; } }
@media (min-width: 1024px) { .starla-j .j-section { padding-block: 112px; } }

/* ==========================================================================
   2. Tipografi utilitas
   ========================================================================== */

.starla-j .j-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--j-primary);
	background: color-mix(in srgb, var(--j-primary) 12%, transparent);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.starla-j .j-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--j-primary);
}

.starla-j .j-title { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 16px; }
.starla-j .j-title span { color: var(--j-primary); }
.starla-j .j-lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--j-muted); max-width: 640px; }
.starla-j .j-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 48px; }
.starla-j .j-head .j-lead { margin-inline: auto; }

/* ==========================================================================
   3. Tombol
   ========================================================================== */

.starla-j .j-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	transition: transform .25s var(--j-ease), box-shadow .25s var(--j-ease), background .2s;
	white-space: nowrap;
}

.starla-j .j-btn:active { transform: scale(.97); }

.starla-j .j-btn--primary {
	background: linear-gradient(135deg, var(--j-primary), var(--j-primary-dark));
	color: #fff;
	box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--j-primary) 65%, transparent);
}
.starla-j .j-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -10px color-mix(in srgb, var(--j-primary) 70%, transparent); }

.starla-j .j-btn--ghost {
	background: #fff;
	color: var(--j-dark);
	border: 1.5px solid var(--j-line);
}
.starla-j .j-btn--ghost:hover { border-color: var(--j-primary); color: var(--j-primary); transform: translateY(-3px); }

.starla-j .j-btn--light { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.starla-j .j-btn--light:hover { background: rgba(255,255,255,.25); transform: translateY(-3px); }

.starla-j .j-btn--sm { padding: 10px 18px; font-size: .82rem; }
.starla-j .j-btn--block { width: 100%; }

/* ==========================================================================
   4. Navbar
   ========================================================================== */

.starla-j .j-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 60;
	padding: 14px 0;
	transition: background .3s, box-shadow .3s, padding .3s;
}
.starla-j .j-nav.is-scrolled {
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(14px);
	box-shadow: 0 2px 20px rgba(15,23,42,.08);
	padding: 10px 0;
}
.starla-j .j-nav .j-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.starla-j .j-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; transition: color .3s; }
.starla-j .j-nav.is-scrolled .j-nav-brand { color: var(--j-dark); }
.starla-j .j-nav-brand .j-nav-badge {
	width: 38px; height: 38px; border-radius: 11px;
	background: linear-gradient(135deg, var(--j-primary), var(--j-secondary));
	display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex: 0 0 auto;
}
.starla-j .j-nav-links { display: none; align-items: center; gap: 6px; }
.starla-j .j-nav-links a {
	color: rgba(255,255,255,.85); font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 999px; transition: .2s;
}
.starla-j .j-nav.is-scrolled .j-nav-links a { color: var(--j-ink); }
.starla-j .j-nav-links a:hover { background: color-mix(in srgb, var(--j-primary) 12%, transparent); color: var(--j-primary); }
@media (min-width: 900px) { .starla-j .j-nav-links { display: flex; } }

/* ==========================================================================
   5. Hero — beda nyata di mobile / tablet / desktop
   ========================================================================== */

.starla-j .j-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding-top: 96px;
	padding-bottom: 48px;
	color: #fff;
	background: linear-gradient(160deg, var(--j-dark) 0%, color-mix(in srgb, var(--j-primary) 55%, var(--j-dark)) 100%);
	overflow: hidden;
}

.starla-j .j-hero-noise {
	position: absolute; inset: 0;
	background-image: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--j-secondary) 35%, transparent), transparent 45%),
		radial-gradient(circle at 85% 75%, color-mix(in srgb, var(--j-accent) 30%, transparent), transparent 50%);
	pointer-events: none;
}

.starla-j .j-hero-shape {
	position: absolute;
	border-radius: 40%;
	filter: blur(2px);
	opacity: .35;
	background: color-mix(in srgb, var(--j-secondary) 60%, transparent);
	animation: j-float 9s ease-in-out infinite;
	pointer-events: none;
}
.starla-j .j-hero-shape.s1 { width: 140px; height: 140px; top: 12%; right: 8%; }
.starla-j .j-hero-shape.s2 { width: 90px; height: 90px; bottom: 18%; left: 6%; animation-delay: -3s; background: color-mix(in srgb, var(--j-accent) 55%, transparent); }
.starla-j .j-hero-shape.s3 { width: 60px; height: 60px; top: 55%; right: 20%; animation-delay: -6s; }

@keyframes j-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-22px) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) { .starla-j .j-hero-shape { animation: none; } }

.starla-j .j-hero-grid {
	position: relative; z-index: 2;
	display: grid;
	gap: 40px;
	grid-template-areas: "badge" "text" "visual" "stats";
}

.starla-j .j-hero-badge { grid-area: badge; }
.starla-j .j-hero-text { grid-area: text; }
.starla-j .j-hero-visual { grid-area: visual; }
.starla-j .j-hero-stats { grid-area: stats; }

.starla-j .j-hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: 18px; }
.starla-j .j-hero h1 em { font-style: normal; color: var(--j-secondary); }
.starla-j .j-hero p.j-lead { color: rgba(255,255,255,.82); max-width: 560px; }
.starla-j .j-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.starla-j .j-hero-visual-frame {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--j-radius);
	overflow: hidden;
	box-shadow: var(--j-shadow);
	border: 1px solid rgba(255,255,255,.15);
}
.starla-j .j-hero-visual-frame img,
.starla-j .j-hero-visual-frame .j-ph { width: 100%; height: 100%; object-fit: cover; }

.starla-j .j-hero-float-card {
	position: absolute;
	bottom: -22px; left: -14px;
	background: #fff;
	color: var(--j-ink);
	border-radius: 16px;
	padding: 14px 18px;
	box-shadow: var(--j-shadow-sm);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 240px;
}
.starla-j .j-hero-float-card .j-ico {
	width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
	background: color-mix(in srgb, var(--j-primary) 14%, transparent); color: var(--j-primary);
	display: flex; align-items: center; justify-content: center;
}
.starla-j .j-hero-float-card strong { display: block; font-size: 1.05rem; }
.starla-j .j-hero-float-card span { font-size: .74rem; color: var(--j-muted); }

.starla-j .j-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.starla-j .j-hero-stat {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 16px;
	padding: 16px 10px;
	text-align: center;
	backdrop-filter: blur(6px);
}
.starla-j .j-hero-stat b { display: block; font-size: clamp(1.3rem, 3vw, 1.7rem); color: #fff; }
.starla-j .j-hero-stat span { font-size: .72rem; color: rgba(255,255,255,.75); }

.starla-j .j-scroll-cue {
	position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
	display: none; flex-direction: column; align-items: center; gap: 6px;
	color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
	animation: j-bob 2.4s ease-in-out infinite;
}
@keyframes j-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (min-width: 640px) {
	.starla-j .j-hero-cta { gap: 16px; }
}

@media (min-width: 900px) {
	.starla-j .j-hero-grid {
		grid-template-columns: 1.05fr .95fr;
		grid-template-areas: "text visual" "badge visual" "stats visual";
		align-content: center;
		row-gap: 24px;
	}
	.starla-j .j-scroll-cue { display: flex; }
}

/* ==========================================================================
   6. Placeholder ilustrasi (pengganti foto, 100% self-hosted)
   ========================================================================== */

.starla-j .j-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, color-mix(in srgb, var(--j-primary) 85%, black) 0%, var(--j-primary) 45%, var(--j-secondary) 100%);
	color: rgba(255,255,255,.92);
	overflow: hidden;
}
.starla-j .j-ph::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,.25) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
	opacity: .35;
}
.starla-j .j-ph svg { width: 34%; height: 34%; position: relative; z-index: 1; opacity: .9; }
.starla-j .j-ph.j-ph--sm svg { width: 28%; height: 28%; }

/* ==========================================================================
   7. Kartu umum + grid responsif genuinely berbeda
   ========================================================================== */

.starla-j .j-grid { display: grid; gap: 20px; }
.starla-j .j-grid--2 { grid-template-columns: 1fr; }
.starla-j .j-grid--3 { grid-template-columns: 1fr; }
.starla-j .j-grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
	.starla-j .j-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.starla-j .j-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.starla-j .j-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.starla-j .j-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.starla-j .j-card {
	background: var(--j-surface);
	border: 1px solid var(--j-line);
	border-radius: var(--j-radius-sm);
	padding: 26px;
	transition: transform .3s var(--j-ease), box-shadow .3s var(--j-ease), border-color .3s;
}
.starla-j .j-card:hover { transform: translateY(-6px); box-shadow: var(--j-shadow-sm); border-color: transparent; }

.starla-j .j-card .j-ico {
	width: 52px; height: 52px; border-radius: 15px;
	background: color-mix(in srgb, var(--j-primary) 12%, transparent);
	color: var(--j-primary);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.starla-j .j-card .j-ico svg { width: 26px; height: 26px; }
.starla-j .j-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.starla-j .j-card p { color: var(--j-muted); font-size: .92rem; }

/* Statistik */
.starla-j .j-stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: center; }
@media (min-width: 768px) { .starla-j .j-stats-row { grid-template-columns: repeat(4, 1fr); } }
.starla-j .j-stat-num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--j-primary); }
.starla-j .j-stat-label { color: var(--j-muted); font-size: .82rem; margin-top: 4px; }

/* ==========================================================================
   8. Kurikulum (accordion)
   ========================================================================== */

.starla-j .j-curri { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.starla-j .j-curri-item { background: #fff; border: 1px solid var(--j-line); border-radius: 16px; overflow: hidden; }
.starla-j .j-curri-btn {
	width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
	padding: 18px 22px; font-weight: 700; color: var(--j-dark);
}
.starla-j .j-curri-btn .j-curri-badge {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
	background: color-mix(in srgb, var(--j-primary) 12%, transparent); color: var(--j-primary);
	display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}
.starla-j .j-curri-btn .j-chev { margin-left: auto; transition: transform .3s var(--j-ease); color: var(--j-muted); flex: 0 0 auto; }
.starla-j .j-curri-item.is-open .j-chev { transform: rotate(180deg); color: var(--j-primary); }
.starla-j .j-curri-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--j-ease); }
.starla-j .j-curri-panel-inner { padding: 0 22px 20px 72px; color: var(--j-muted); font-size: .92rem; }
.starla-j .j-curri-panel-inner ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.starla-j .j-curri-panel-inner li { position: relative; padding-left: 18px; }
.starla-j .j-curri-panel-inner li::before { content: "✓"; position: absolute; left: 0; color: var(--j-primary); font-weight: 700; }

/* ==========================================================================
   9. Prospek karier
   ========================================================================== */

.starla-j .j-career {
	background: #fff; border: 1px solid var(--j-line); border-radius: var(--j-radius-sm);
	padding: 22px; display: flex; align-items: flex-start; gap: 14px;
}
.starla-j .j-career .j-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--j-secondary) 18%, transparent); color: color-mix(in srgb, var(--j-secondary) 70%, black); display: flex; align-items: center; justify-content: center; }
.starla-j .j-career h4 { font-size: .98rem; margin-bottom: 4px; }
.starla-j .j-career p { font-size: .84rem; color: var(--j-muted); }

/* ==========================================================================
   10. Galeri (scroll-snap native di mobile, grid di desktop)
   ========================================================================== */

.starla-j .j-gallery {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 12px; margin: 0 -20px; padding-inline: 20px;
	scrollbar-width: none;
}
.starla-j .j-gallery::-webkit-scrollbar { display: none; }
.starla-j .j-gallery-item {
	flex: 0 0 78%; scroll-snap-align: start; border-radius: var(--j-radius-sm); overflow: hidden;
	aspect-ratio: 4/3; position: relative; box-shadow: var(--j-shadow-sm);
}
.starla-j .j-gallery-item img, .starla-j .j-gallery-item .j-ph { width: 100%; height: 100%; object-fit: cover; }
.starla-j .j-gallery-cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
	background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
	color: #fff; font-size: .82rem; font-weight: 700;
}
@media (min-width: 768px) {
	.starla-j .j-gallery { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
	.starla-j .j-gallery-item { flex: initial; }
}

/* ==========================================================================
   11. Testimoni (carousel native, tanpa library)
   ========================================================================== */

.starla-j .j-testi-track {
	display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 8px; scrollbar-width: none;
}
.starla-j .j-testi-track::-webkit-scrollbar { display: none; }
.starla-j .j-testi-card {
	flex: 0 0 88%; scroll-snap-align: center; background: #fff; border: 1px solid var(--j-line);
	border-radius: var(--j-radius-sm); padding: 26px;
}
@media (min-width: 640px) { .starla-j .j-testi-card { flex-basis: 46%; } }
@media (min-width: 1024px) { .starla-j .j-testi-card { flex-basis: 31.5%; } }
.starla-j .j-testi-quote { font-size: .95rem; color: var(--j-ink); margin-bottom: 18px; }
.starla-j .j-testi-quote::before { content: "\201C"; color: var(--j-primary); font-size: 1.6em; line-height: 0; vertical-align: -.3em; margin-right: 4px; }
.starla-j .j-testi-person { display: flex; align-items: center; gap: 12px; }
.starla-j .j-testi-avatar {
	width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
	background: linear-gradient(135deg, var(--j-primary), var(--j-secondary));
	color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.starla-j .j-testi-person strong { display: block; font-size: .88rem; }
.starla-j .j-testi-person span { font-size: .76rem; color: var(--j-muted); }
.starla-j .j-testi-nav { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.starla-j .j-testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--j-line); transition: .2s; }
.starla-j .j-testi-dot.is-active { background: var(--j-primary); width: 22px; border-radius: 5px; }

/* ==========================================================================
   12. Zona game interaktif
   ========================================================================== */

.starla-j .j-game-shell {
	background: linear-gradient(150deg, var(--j-dark), color-mix(in srgb, var(--j-primary) 45%, var(--j-dark)));
	border-radius: 28px;
	padding: 28px 20px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.starla-j .j-game-shell::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--j-secondary) 35%, transparent), transparent 55%);
}
@media (min-width: 768px) { .starla-j .j-game-shell { padding: 44px; } }

.starla-j .j-game-head { position: relative; z-index: 1; text-align: center; margin-bottom: 22px; }
.starla-j .j-game-head h2 { color: #fff; }
.starla-j .j-game-head p { color: rgba(255,255,255,.75); max-width: 520px; margin-inline: auto; }

.starla-j .j-game-board {
	position: relative; z-index: 1;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 20px;
	padding: 18px;
	backdrop-filter: blur(6px);
}
@media (min-width: 640px) { .starla-j .j-game-board { padding: 26px; } }

.starla-j .j-game-hud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .85rem; }
.starla-j .j-game-hud .j-chip { background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-weight: 700; }

.starla-j .j-game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .starla-j .j-game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .starla-j .j-game-grid { grid-template-columns: repeat(4, 1fr); } }

.starla-j .j-game-tile {
	background: rgba(255,255,255,.92);
	color: var(--j-dark);
	border-radius: 14px;
	padding: 16px 10px;
	text-align: center;
	font-weight: 700;
	font-size: .84rem;
	min-height: 74px;
	display: flex; align-items: center; justify-content: center;
	transition: transform .18s, box-shadow .18s, background .18s;
	border: 2px solid transparent;
}
.starla-j .j-game-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -8px rgba(0,0,0,.35); }
.starla-j .j-game-tile.is-selected { border-color: var(--j-secondary); background: #fff; }
.starla-j .j-game-tile.is-correct { background: #dcfce7; border-color: #16a34a; color: #14532d; }
.starla-j .j-game-tile.is-wrong { background: #fee2e2; border-color: #dc2626; color: #7f1d1d; animation: j-shake .35s; }
.starla-j .j-game-tile.is-matched { opacity: .35; pointer-events: none; }
.starla-j .j-game-tile:disabled { cursor: default; }

@keyframes j-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.starla-j .j-game-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 20px; position: relative; z-index: 1; }
.starla-j .j-game-msg { font-size: .85rem; color: rgba(255,255,255,.85); min-height: 1.4em; }
.starla-j .j-game-result { text-align: center; padding: 30px 10px; position: relative; z-index: 1; }
.starla-j .j-game-result .j-badge-big { font-size: 3rem; margin-bottom: 10px; }
.starla-j .j-game-result h3 { color: #fff; margin-bottom: 6px; }
.starla-j .j-game-result p { color: rgba(255,255,255,.75); margin-bottom: 18px; }

/* ==========================================================================
   13. Berita
   ========================================================================== */

.starla-j .j-news-card {
	background: #fff; border: 1px solid var(--j-line); border-radius: var(--j-radius-sm); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .3s var(--j-ease), box-shadow .3s var(--j-ease);
}
.starla-j .j-news-card:hover { transform: translateY(-6px); box-shadow: var(--j-shadow-sm); }
.starla-j .j-news-thumb { aspect-ratio: 16/10; position: relative; }
.starla-j .j-news-thumb img, .starla-j .j-news-thumb .j-ph { width: 100%; height: 100%; object-fit: cover; }
.starla-j .j-news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.starla-j .j-news-date { font-size: .74rem; color: var(--j-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.starla-j .j-news-body h4 { font-size: 1rem; margin-bottom: 8px; }
.starla-j .j-news-body p { font-size: .85rem; color: var(--j-muted); flex: 1; }
.starla-j .j-news-link { margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--j-primary); display: inline-flex; align-items: center; gap: 6px; }
.starla-j .j-news-empty { text-align: center; padding: 40px 20px; color: var(--j-muted); background: #fff; border: 1px dashed var(--j-line); border-radius: var(--j-radius-sm); }

/* ==========================================================================
   14. FAQ
   ========================================================================== */

.starla-j .j-faq { max-width: 760px; margin-inline: auto; }
.starla-j .j-faq-item { border-bottom: 1px solid var(--j-line); }
.starla-j .j-faq-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 4px; font-weight: 700; }
.starla-j .j-faq-btn .j-chev { margin-left: auto; transition: transform .3s; color: var(--j-muted); flex: 0 0 auto; }
.starla-j .j-faq-item.is-open .j-chev { transform: rotate(45deg); color: var(--j-primary); }
.starla-j .j-faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--j-ease); }
.starla-j .j-faq-panel p { padding: 0 4px 18px; color: var(--j-muted); font-size: .9rem; max-width: 640px; }

/* ==========================================================================
   15. CTA & Footer
   ========================================================================== */

.starla-j .j-cta {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--j-primary), var(--j-primary-dark));
	border-radius: 28px; padding: 44px 26px; text-align: center; color: #fff;
}
.starla-j .j-cta::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%);
}
.starla-j .j-cta h2 { color: #fff; position: relative; z-index: 1; }
.starla-j .j-cta p { color: rgba(255,255,255,.85); max-width: 520px; margin: 12px auto 26px; position: relative; z-index: 1; }
.starla-j .j-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 1; }

.starla-j .j-footer { background: var(--j-dark); color: rgba(255,255,255,.65); padding-block: 48px 100px; font-size: .86rem; }
.starla-j .j-footer .j-container { display: grid; gap: 32px; }
.starla-j .j-footer h5 { color: #fff; font-size: .92rem; margin-bottom: 14px; }
.starla-j .j-footer-brand { color: #fff; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.starla-j .j-footer-links { display: flex; flex-direction: column; gap: 8px; }
.starla-j .j-footer-links a:hover { color: #fff; }
.starla-j .j-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 20px; text-align: center; font-size: .78rem; }
@media (min-width: 768px) { .starla-j .j-footer .j-container { grid-template-columns: 1.4fr 1fr 1fr; } .starla-j .j-footer { padding-block: 64px 60px; } }

/* ==========================================================================
   16. CTA bar mengambang khusus mobile — feel native app
   ========================================================================== */

.starla-j .j-mobile-bar {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
	background: rgba(15,23,42,.92); backdrop-filter: blur(14px);
	border-radius: 18px; padding: 10px; display: flex; gap: 10px;
	box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
	border: 1px solid rgba(255,255,255,.08);
	transform: translateY(120%); transition: transform .35s var(--j-ease);
}
.starla-j .j-mobile-bar.is-visible { transform: translateY(0); }
.starla-j .j-mobile-bar a { flex: 1; text-align: center; }
@media (min-width: 900px) { .starla-j .j-mobile-bar { display: none; } }

/* ==========================================================================
   17. Reveal saat scroll (soft, hemat GPU)
   ========================================================================== */

.starla-j .j-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--j-ease), transform .7s var(--j-ease); }
.starla-j .j-reveal.is-visible { opacity: 1; transform: translateY(0); }
.starla-j .j-reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--j-ease), transform .6s var(--j-ease); }
.starla-j .j-reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .03s; }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .09s; }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .15s; }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .27s; }
.starla-j .j-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .33s; }

@media (prefers-reduced-motion: reduce) {
	.starla-j .j-reveal, .starla-j .j-reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   18. Badge & progress
   ========================================================================== */

.starla-j .j-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--j-primary) 12%, transparent); color: var(--j-primary); }
.starla-j .j-progress { height: 8px; border-radius: 999px; background: var(--j-line); overflow: hidden; }
.starla-j .j-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--j-primary), var(--j-secondary)); width: 0; transition: width 1.1s var(--j-ease); }

/* ==========================================================================
   19. Aksesibilitas & util
   ========================================================================== */

.starla-j .j-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.starla-j .j-mt-0 { margin-top: 0 !important; }
.starla-j :focus-visible { outline: 3px solid color-mix(in srgb, var(--j-primary) 60%, white); outline-offset: 2px; }
