:root {
	--bg-color: #0b090d;
	--card-bg: #16121a;
	--nav-bg: rgba(22, 18, 26, 0.98);
	--accent: #dc143c; /* Crimson */
	--accent-hover: #ff3b5c; /* Lighter crimson for interaction */
	--highlight: #ffb300; /* Warm Amber for visibility */
	--text-main: #e8e2e6;
	--text-muted: #a49aa4;
	--success: #27ae60;
	--border: #2b232e;
	--nav-height: 60px;
}

* {
	box-sizing: border-box;
}
body {
	background-color: var(--bg-color);
	color: var(--text-main);
	font-family: "Inter", sans-serif;
	margin: 0;
	padding-top: var(--nav-height);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
	transition: 0.2s;
}

h1,
h2,
h3,
h4 {
	font-family: "Cinzel", serif;
	font-weight: 600;
}

/* --- Navbar --- */
.headerBG {
	background: var(--nav-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
#navMain {
	display: flex;
}
#navMobile {
	display: none;
	width: 100%;
	justify-content: flex-end;
	padding-right: 20px;
}
.navMainItem {
	padding: 0 18px;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.92rem;
}
.navMainItem.hover:hover {
	background: rgba(220, 20, 60, 0.12);
	color: var(--accent-hover);
}

/* Multi-column Language Dropdown */
.language-menu {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: var(--nav-height);
	right: 0;
	background-color: #16121a;
	background: var(--card-bg, #16121a);
	border: 1px solid var(--border);
	border-top: 2px solid var(--accent);
	border-radius: 0 0 6px 6px;
	min-width: 620px;
	max-height: 480px;
	overflow-y: auto;
	padding: 14px;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
	z-index: 1001;
}

.language-menu:hover .dropdown-content {
	display: grid;
}

.dropdown-content a {
	padding: 8px 12px;
	font-size: 0.85rem;
	color: var(--text-muted);
	border-radius: 4px;
	transition:
		background 0.15s ease,
		color 0.15s ease;
	white-space: nowrap;
}

.dropdown-content a:hover {
	background: rgba(220, 20, 60, 0.15);
	color: #ffffff;
}

.language-header {
	background: #0f0f11;
	color: var(--accent);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

#mobileContent {
	display: none;
	position: fixed;
	top: var(--nav-height);
	left: 0;
	width: 100%;
	max-height: calc(100vh - var(--nav-height));
	overflow-y: auto;
	background: var(--bg-color);
	z-index: 999;
}
#mobileContent ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#mobileContent .navMainItem {
	border-bottom: 1px solid var(--border);
	width: 100%;
	height: 50px;
}

/* --- Main Content --- */
#main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.hero {
	text-align: center;
	padding: 70px 20px 60px 20px;
	background:
		radial-gradient(
			ellipse at center 30%,
			rgba(220, 20, 60, 0.14),
			transparent 65%
		),
		linear-gradient(rgba(11, 9, 13, 0.92), rgba(11, 9, 13, 0.92)),
		url("https://erosfable.com/logo.png");
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	border: 1px solid var(--border);
	margin-bottom: 30px;
}
.hero-logo {
	filter: drop-shadow(0 0 25px rgba(220, 20, 60, 0.45));
}

/* Index Buttons */
.index-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	margin-bottom: 50px;
}
.idx-btn {
	background: var(--card-bg);
	padding: 14px;
	border-radius: 6px;
	text-align: center;
	font-size: 0.9rem;
	border: 1px solid var(--border);
	font-weight: bold;
	transition: 0.2s;
}
.idx-btn:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
	background: #201a22;
}
.idx-btn.featured {
	border-color: var(--highlight);
	color: var(--highlight);
	border-width: 2px;
}
.idx-btn.primary {
	border-color: var(--accent);
	color: var(--accent);
	border-width: 2px;
}

/* Sections */
section {
	margin-bottom: 80px;
}
h2 {
	border-left: 5px solid var(--accent);
	padding-left: 20px;
	margin-bottom: 30px;
	font-size: 1.8rem;
	color: #fff;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--accent);
	color: #fff;
	font-weight: bold;
	border: none;
	padding: 12px 22px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.95rem;
	transition: 0.2s;
}
.btn:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
}
.btn.btn-demo {
	background: #1a1a20;
	border: 1px solid var(--border);
}
.btn.btn-demo:hover {
	border-color: var(--accent);
}

/* Download Center */
.download-center {
	background: var(--card-bg);
	border-radius: 12px;
	border: 1px solid var(--accent);
	overflow: hidden;
	padding: 40px;
	text-align: center;
}
.platform-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	max-width: 760px;
	margin: 25px auto 0 auto;
}
.platform-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 22px 12px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: 0.2s;
}
.platform-btn i {
	font-size: 2rem;
	color: var(--accent-hover);
}
.platform-btn:hover {
	border-color: var(--accent);
	background: #201a22;
	transform: translateY(-3px);
}

/* About / description */
.desc-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	align-items: start;
}
.desc-content > div p {
	margin-top: 0;
}
.feature-tag {
	display: inline-block;
	background: rgba(220, 20, 60, 0.12);
	color: var(--accent-hover);
	border: 1px solid rgba(220, 20, 60, 0.35);
	padding: 3px 12px;
	border-radius: 50px;
	font-size: 0.78rem;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 6px;
}

/* Scenario + attribute cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}
.scenario-card,
.attr-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 24px;
	transition: 0.2s;
	text-align: center;
}
.scenario-card:hover,
.attr-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
}
.scenario-emoji {
	font-size: 2.2rem;
	margin-bottom: 8px;
}
.scenario-card h3,
.attr-card h3 {
	margin: 8px 0 10px 0;
}
.scenario-card p,
.attr-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0;
	text-align: left;
}
.attr-icon {
	display: inline-block;
	font-family: "Cinzel", serif;
	font-weight: 700;
	font-size: 1.4rem;
	border: 2px solid currentColor;
	border-radius: 8px;
	padding: 6px 12px;
	letter-spacing: 1px;
}

/* Scenario image cards (data-driven from scenarios.json, mirrors in-game cards) */
.scenario-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.scenario-image-card {
	display: flex;
	flex-direction: column;
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	text-align: left;
	transition: 0.2s;
}
.scenario-image-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.scenario-cover-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}
.scenario-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s;
}
.scenario-image-card:hover .scenario-cover {
	transform: scale(1.04);
}
.scenario-cover-genre {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--accent-hover);
	font-size: 0.72rem;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 50px;
}
.scenario-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.scenario-card-title {
	margin: 0 0 10px 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}
.scenario-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 12px;
}

/* Scenario tag pill. Compact by design: cards and article headers now render the
   scenario's complete tag list, so the badges stay small (but readable) to limit
   growth. Every tag is rendered in alphabetical order. */
.scenario-tag-badge {
	font-size: 0.8rem;
	line-height: 1.35;
	font-weight: 600;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	padding: 1px 6px;
	border-radius: 50px;
}

/* Flagged tags (hardcore / potentially unsettling content — the canonical list
   lives in website/site-generator.js as FLAGGED_CONTENT_TAGS). They keep their
   alphabetical position and are distinguished only by this crimson treatment. */
.scenario-tag-badge--flagged {
	color: var(--accent-hover);
	background: rgba(220, 20, 60, 0.14);
	border-color: var(--accent);
}

.scenario-card-desc {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.5;
	margin: 0 0 16px 0;
	flex: 1;
}
.scenario-card-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
	width: 100%;
}
.scenario-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 8px;
	font-size: 0.86rem;
	font-weight: 600;
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: 0.2s ease-in-out;
}
.scenario-btn i {
	font-size: 1.1rem;
}
.scenario-play-btn {
	background: var(--accent);
	color: #fff;
	border: 1px solid var(--accent);
}
.scenario-play-btn:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(220, 20, 60, 0.45);
}
.scenario-read-btn {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	border: 1px solid rgba(220, 20, 60, 0.4);
}
.scenario-read-btn:hover {
	background: rgba(220, 20, 60, 0.16);
	border-color: var(--accent-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ---- Scenario star ratings (0.5..5 half steps) ---- */
/* Read-only display on scenario cards + article pages. Shares the `.lg-stars*`
   markup/classes with the game client so the visuals match. */
.scenario-card-stars,
.article-stars {
	margin: 2px 0 10px;
}

.article-stars {
	margin: 14px 0 0;
}

.lg-stars {
	position: relative;
	display: inline-block;
	line-height: 1;
	font-size: 15px;
	letter-spacing: 1px;
	vertical-align: middle;
	user-select: none;
	white-space: nowrap;
}

.lg-stars .lg-stars-bg {
	color: #4a4a5a;
	display: block;
	white-space: nowrap;
}

.lg-stars .lg-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #ffc233;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.45);
}

.lg-stars-count {
	margin-left: 6px;
	font-size: 12px;
	color: var(--text-muted);
	vertical-align: middle;
}

.lg-stars-lg {
	font-size: 22px;
}

.lg-stars-lg + .lg-stars-count {
	font-size: 14px;
	color: var(--text-main);
}

/* NPC system */
.npcs-wrap > p:first-of-type {
	max-width: 850px;
}
.relationship-box {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 26px;
	margin-top: 20px;
	max-width: 850px;
}
.relationship-box h3 {
	margin-top: 0;
}
.relationship-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}
.rel-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
}
.rel-track {
	position: relative;
	flex: 1;
	height: 14px;
	border-radius: 7px;
	background: linear-gradient(90deg, #3557c4, #4a4a52 45%, #555 55%, #dc143c);
	border: 1px solid var(--border);
}
.rel-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 50%;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 7px 0 0 7px;
}
.rel-marker {
	position: absolute;
	top: -7px;
	transform: translateX(-50%);
	width: 4px;
	height: 26px;
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}
.rel-marker span {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.6rem;
	color: var(--text-muted);
	white-space: nowrap;
}
.rel-scale-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: var(--text-muted);
	margin-top: 10px;
}

/* Pricing */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}
.price-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px 22px;
	text-align: center;
}
.price-card h3 {
	margin: 0 0 10px 0;
}
.price-card.best-value {
	border-color: var(--accent);
	box-shadow: 0 0 25px rgba(220, 20, 60, 0.18);
}

.price-card.popular {
	border-color: var(--highlight);
}
.credit-btn {
	display: block;
	width: 100%;
	margin-top: 10px;
}
.credit-btn.crypto {
	background: #1a1a20;
	border: 1px solid var(--border);
}
.credit-btn.crypto:hover {
	border-color: var(--accent);
	background: #201a22;
}

/* Payment gate */
select,
.emailInput {
	background: #25252b;
	border: 1px solid var(--border);
	color: white;
	padding: 14px;
	border-radius: 6px;
	font-size: 1rem;
}
.green {
	color: #10f010;
}
.red {
	color: #f01010;
}

/* Screenshots */
#gameImages {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.screenshot-link {
	display: block;
}
.screenshot-thumb {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--border);
	transition: 0.2s;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.screenshot-thumb:hover {
	border-color: var(--accent);
	transform: scale(1.02);
}
.empty-state {
	border: 1px dashed var(--border);
	border-radius: 10px;
	padding: 60px 20px;
	text-align: center;
	color: var(--text-muted);
}
.empty-state p {
	margin: 15px 0 0 0;
}

/* Lightbox */
#modalDisplay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	text-align: center;
}
#modalDisplay.show {
	display: flex;
}
#modalDisplayImage {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
}
.commandIcon {
	position: absolute;
	color: #fff;
	cursor: pointer;
	font-size: 2.4rem;
	user-select: none;
}
.commandIcon.close {
	top: 20px;
	right: 30px;
}
.commandIcon.arrow {
	top: 50%;
	transform: translateY(-50%);
}
#left_arrow {
	left: 25px;
}
#right_arrow {
	right: 25px;
}

/* Footer */
footer a:hover {
	color: var(--accent-hover);
}

/* Changelogs */
#changelogs h3 {
	margin-top: 0;
}
#changelogs ul ul {
	margin-top: 5px;
}

/* Responsive */
@media (max-width: 900px) {
	#navMain {
		display: none;
	}
	#navMobile {
		display: flex;
	}
	.desc-content {
		grid-template-columns: 1fr;
	}
	h1 {
		font-size: 2.4rem !important;
	}
	.download-center {
		padding: 24px 16px;
	}
}

@media (max-width: 480px) {
	.platform-grid {
		grid-template-columns: 1fr 1fr;
	}
	.pricing-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================================= */
/* Scenario Article Pages & Calls to Action                  */
/* ========================================================= */
.article-page-main {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 20px 80px 20px;
}
.article-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 0.88rem;
	color: var(--text-muted);
	margin-bottom: 25px;
}
.article-breadcrumbs a:hover {
	color: var(--accent-hover);
	text-decoration: underline;
}
.breadcrumb-sep {
	color: var(--text-muted);
	opacity: 0.5;
}
.breadcrumb-current {
	color: var(--text-main);
	font-weight: 600;
}
.article-header {
	text-align: center;
	margin-bottom: 35px;
}
.article-genre-badge {
	display: inline-block;
	background: rgba(220, 20, 60, 0.15);
	border: 1px solid var(--accent);
	color: var(--accent-hover);
	font-size: 0.78rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 14px;
	border-radius: 50px;
	margin-bottom: 14px;
}
.article-main-title {
	font-family: "Cinzel", serif;
	font-size: 2.8rem;
	color: #fff;
	line-height: 1.2;
	margin: 0 0 15px 0;
	letter-spacing: 1px;
}
.article-meta-row {
	display: flex;
	justify-content: center;
	gap: 20px;
	color: var(--text-muted);
	font-size: 0.88rem;
	margin-bottom: 25px;
	flex-wrap: wrap;
}
.article-meta-row span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.article-cover-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	border: 1px solid var(--border);
	margin-bottom: 20px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}
.article-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.article-tags {
	justify-content: center;
	margin-bottom: 20px;
}

/* Content-warning box at the top of an article whose scenario carries at least one
   flagged content tag (generated by `formScenarioContentWarnings()`, never hand-written
   into the article sources). Rendered only when flagged tags are present. */
.article-content-warning {
	max-width: 820px;
	margin: 0 auto 24px;
	padding: 14px 20px;
	text-align: left;
	background: rgba(220, 20, 60, 0.1);
	border: 1px solid var(--accent);
	border-left-width: 4px;
	border-radius: 0 8px 8px 0;
}
.article-content-warning-title {
	display: block;
	font-family: "Cinzel", serif;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent-hover);
	margin-bottom: 4px;
}
.article-content-warning-body {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #e2dce0;
}
.article-lead-summary {
	font-size: 1.15rem;
	font-style: italic;
	color: #e2dce0;
	max-width: 820px;
	margin: 0 auto;
	line-height: 1.6;
	border-left: 4px solid var(--accent);
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0 8px 8px 0;
	text-align: left;
}
.article-cta-box {
	background: linear-gradient(135deg, #1b121e 0%, #291220 50%, #16121a 100%);
	border: 1px solid var(--accent);
	border-radius: 12px;
	padding: 30px;
	margin: 40px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
	position: relative;
	overflow: hidden;
}
.article-cta-content {
	flex: 1;
	text-align: left;
}
.article-cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: bold;
	color: var(--accent-hover);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}
.article-cta-title {
	font-family: "Cinzel", serif;
	font-size: 1.6rem;
	color: #fff;
	margin: 0 0 8px 0;
	border: none !important;
	padding-left: 0 !important;
}
.article-cta-desc {
	font-size: 0.95rem;
	color: var(--text-muted);
	margin: 0 0 12px 0;
	line-height: 1.5;
}
.article-cta-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 220px;
}
.article-cta-btn {
	font-size: 1rem;
	padding: 14px 24px;
	width: 100%;
	border-radius: 6px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
}
.article-cta-subtext {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-top: 8px;
	text-align: center;
}
.cta-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.cta-platform-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	padding: 4px 10px;
	border-radius: 50px;
}
.article-body {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #ded8df;
}
.article-section {
	margin-bottom: 40px;
}
.article-body h2 {
	font-family: "Cinzel", serif;
	font-size: 1.7rem;
	color: #fff;
	border-left: 4px solid var(--accent);
	padding-left: 16px;
	margin: 40px 0 20px 0;
	line-height: 1.3;
}
.article-body h3 {
	font-family: "Cinzel", serif;
	font-size: 1.25rem;
	color: #fff;
	margin: 25px 0 12px 0;
}
.article-body p {
	margin-bottom: 16px;
}
.article-body ul {
	margin: 15px 0 20px 20px;
	padding-left: 10px;
}
.article-body li {
	margin-bottom: 8px;
}
.article-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin: 25px 0;
}
.article-feature-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 22px;
	transition: 0.2s;
}
.article-feature-card:hover {
	border-color: rgba(220, 20, 60, 0.4);
	transform: translateY(-2px);
}
.feature-icon {
	color: var(--accent);
	margin-bottom: 10px;
	font-size: 2rem;
}
.article-feature-card h3 {
	font-family: "Cinzel", serif;
	font-size: 1.1rem;
	color: #fff;
	margin: 0 0 8px 0;
}
.article-feature-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}
.stat-overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 20px 0;
}
.stat-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 16px;
}
.stat-name {
	display: block;
	font-weight: 700;
	color: var(--accent-hover);
	margin-bottom: 6px;
	font-size: 0.92rem;
}
.stat-card p {
	font-size: 0.88rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.4;
}
.article-npc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin: 25px 0;
}
.article-npc-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 20px;
}
.npc-header {
	margin-bottom: 10px;
}
.npc-name {
	font-family: "Cinzel", serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	display: block;
}
.npc-role {
	font-size: 0.8rem;
	color: var(--accent-hover);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	margin-top: 2px;
}
.npc-desc {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}
.article-tip-box {
	display: flex;
	gap: 14px;
	background: rgba(220, 20, 60, 0.08);
	border: 1px solid rgba(220, 20, 60, 0.35);
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	padding: 16px 20px;
	margin: 15px 0;
	align-items: flex-start;
}
.article-tip-box i {
	color: var(--highlight);
	font-size: 1.4rem;
	flex-shrink: 0;
	margin-top: 2px;
}
.article-tip-box div {
	font-size: 0.95rem;
	color: #ded8df;
	line-height: 1.5;
}
.related-scenarios-section {
	margin-top: 70px;
}
@media (max-width: 800px) {
	.article-cta-box {
		flex-direction: column;
		text-align: center;
	}
	.article-cta-content {
		text-align: center;
	}
	.article-cta-action {
		width: 100%;
	}
	.cta-platforms {
		justify-content: center;
	}
	.article-main-title {
		font-size: 2.1rem !important;
	}
}
@media (max-width: 380px) {
	.scenario-card-actions {
		flex-direction: column;
	}
}

/* --- Partners Page --- */
.partners-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 40px;
	margin: 40px auto;
	max-width: 820px;
}
.partners-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.partners-list li {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}
.partners-list li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.partners-list h2 {
	border-left: none;
	padding-left: 0;
	margin: 0 0 10px 0;
	font-size: 1.3rem;
	font-family: "Cinzel", serif;
}
.partners-list h2 a {
	color: var(--accent-hover);
	transition: color 0.2s ease;
}
.partners-list h2 a:hover {
	color: #fff;
	text-decoration: underline;
}
.partners-list p {
	margin: 0;
	color: var(--text-main);
	line-height: 1.6;
	font-size: 0.95rem;
}
@media (max-width: 600px) {
	.partners-card {
		padding: 24px 16px;
		margin: 20px auto;
	}
}

/* ---------------------------------------------------------------
   RTL support (Arabic / Urdu). The generator emits
   <html lang="…" dir="rtl"> for ar and ur; these rules mirror the
   handful of directional declarations used above. Stars, logos and
   the language dropdown keep their own direction.
   --------------------------------------------------------------- */
[dir="rtl"] body {
	text-align: right;
}
[dir="rtl"] #navMobile {
	justify-content: flex-start;
	padding-right: 0;
	padding-left: 20px;
}
[dir="rtl"] .dropdown-content {
	right: auto;
	left: 0;
}
[dir="rtl"] h2 {
	border-left: none;
	border-right: 5px solid var(--accent);
	padding-left: 0;
	padding-right: 20px;
}
[dir="rtl"] .article-body h2 {
	border-left: none;
	border-right: 4px solid var(--accent);
	padding-left: 0;
	padding-right: 16px;
}
[dir="rtl"] .partners-list h2 {
	border-right: none;
	padding-right: 0;
}
[dir="rtl"] blockquote,
[dir="rtl"] .article-tip-box,
[dir="rtl"] .article-rulebook,
[dir="rtl"] .article-content-warning,
[dir="rtl"] .article-cta-box {
	text-align: right;
}
[dir="rtl"] blockquote,
[dir="rtl"] .article-rulebook,
[dir="rtl"] .article-tip-box {
	border-left: none;
	border-right: 4px solid var(--accent);
	border-radius: 8px 0 0 8px;
}
[dir="rtl"] .article-content-warning {
	border-left-width: 1px;
	border-right-width: 4px;
	border-radius: 8px 0 0 8px;
}
[dir="rtl"] ul,
[dir="rtl"] ol {
	padding-left: 0;
	padding-right: 1.4em;
}
[dir="rtl"] .article-body ul {
	margin: 15px 20px 20px 0;
	padding-right: 10px;
	padding-left: 0;
}
[dir="rtl"] .article-breadcrumbs {
	direction: rtl;
}
[dir="rtl"] .breadcrumb-sep {
	transform: scaleX(-1);
}
/* star rating keeps its left-to-right geometry and counter position */
[dir="rtl"] .scenario-stars,
[dir="rtl"] .lg-stars {
	direction: ltr;
}
[dir="rtl"] .lg-stars-count {
	margin-left: 0;
	margin-right: 6px;
}
[dir="rtl"] .lg-stats-row,
[dir="rtl"] .article-meta-row {
	direction: rtl;
}
