/* Interior pages share the homepage's materials, without its full scene. */
.world-page {
	--color-bg: #e9f0df;
	--color-bg-elevated: #f4f3df;
	--color-surface: #fff9e9;
	--color-surface-2: #e0e8d3;
	--color-border: #b5c6a8;
	--color-border-strong: #839b78;
	--color-text: #173f36;
	--color-text-muted: #48604c;
	--color-text-faint: #52664f;
	--color-accent: #315f41;
	--color-accent-strong: #244d34;
	--color-accent-soft: #dae4c9;
	--color-highlight: #73521d;
	--font-mono: 'Nunito', sans-serif;
	background: radial-gradient(ellipse at 90% 20%, #fff8d266, transparent 55%), #e9f0df;
}
.world-page main { padding-bottom: 72px; }
.world-page .page-header, .world-page .hero {
	position: relative;
	isolation: isolate;
	margin: 0;
	padding: 166px 0 76px;
	background: #143f32;
	color: #fff9e9;
	overflow: hidden;
}
.world-page .page-header::before, .world-page .hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #103c32ed 5%, #164331d9 50%, #174c3280),
		url('../../images/world/bg_forest.svg') center 28% / cover;
}
.world-page .page-header::after, .world-page .hero::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 28px;
	background: linear-gradient(0deg, #092f2659, transparent);
	pointer-events: none;
}
.world-page .page-header h1, .world-page .hero h1 { color: #fff9e9; }
.world-page .page-header .lede, .world-page .hero .lede { color: #e4e9d5; }
.world-page .page-header .eyebrow, .world-page .hero .eyebrow { color: #ffe198; }
.world-page .page-header { text-align: center; }
.world-page .page-header.container { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1220px) / 2)); }
.world-page h1 { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.08; text-wrap: balance; }
.world-page h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.15; text-wrap: balance; }
.world-page h3 { line-height: 1.25; }
.world-page .hero-grid { gap: 64px; }
.world-page .hero .eyebrow { font-family: var(--font-body); letter-spacing: .08em; }
.world-page .hero-visual { min-height: 0; order: 0; }
.world-page .hero-visual .phone-frame { width: min(100%, 248px); margin: auto; }
.world-page .section { padding: 68px 0 0; }
.world-page .section--tight { padding-top: 48px; }
.world-page .section-head { margin-bottom: 28px; }
.world-page .card, .world-page .game-card, .world-page .post-card,
.world-page .cta-band {
	border: 1px solid #b7c5a8;
	border-radius: 24px;
	background: linear-gradient(155deg, #fffdf1, #f5f1dd);
	box-shadow: inset 0 2px 0 #fff, 0 5px 0 #bec8a8, 0 14px 25px #314c2a14;
}
.world-page .hud-corners::before, .world-page .hud-corners::after,
.world-page .ring { display: none; }
.world-page .card-icon { color: #3e694a; background: #dce7cb; border-color: #b5c6a8; }
.world-page .btn {
	border-radius: 15px;
	min-height: 48px;
	font-family: var(--font-body);
	font-weight: 800;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
	text-align: center;
	transition: transform 180ms ease;
}
.world-page .btn--primary {
	background: linear-gradient(165deg, #fff0b7, #f3bf66);
	border: 1px solid #a97029;
	color: #473113;
	box-shadow: inset 0 2px 0 #fff9d4, 0 4px 0 #946529;
}
.world-page .btn--ghost {
	background: #e1e8d2;
	border: 1px solid #9bad89;
	color: #254c37;
	box-shadow: 0 3px 0 #9bab88;
}
.world-page .btn:hover { transform: translateY(-2px); }
.world-page .btn:active { transform: translateY(2px); }
.world-page .hero .btn--ghost { background: #325d45; border-color: #8ca984; color: #fff9e9; box-shadow: 0 3px 0 #0c2c20; }
.world-page .platform-pill, .world-page .badge {
	background: #e6ebcf;
	color: #274c34;
	border-color: #aabd90;
	font-family: var(--font-body);
	font-weight: 800;
}
.world-page .hero .platform-pill { background: #254e3d; color: #eef0d6; border-color: #73956b; }
.world-page .platform-pill--soon { opacity: 1; }
.world-page .eyebrow { color: #4a6245; }
.world-page .eyebrow::before { background: currentColor; }
.world-page .game-card-media { background: radial-gradient(ellipse at 50% 35%, #35684f, #173f36 80%); }
.world-page .game-card-media .phone-frame { width: min(100%, 190px); max-width: none; }
.world-page .game-card-body { padding: 0; }
.world-page .game-card {
	overflow: hidden;
	padding: clamp(24px, 3.5vw, 44px);
	gap: clamp(28px, 4vw, 56px);
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}
.world-page .game-card-body .hero-actions { margin-top: 24px; gap: 16px; }
.world-page .game-card-body h2 { margin: 16px 0; }
.world-page .game-card-body .lede { margin-bottom: 16px; }
.world-page .development-grid { margin-top: 24px; }
.world-page .development-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: clamp(24px, 3vw, 36px);
}
.world-page .development-card > img {
	width: 100%;
	height: 240px;
	object-fit: contain;
	margin-bottom: 8px;
}
.world-page .development-card :is(h3, p) { margin: 0; }
.world-page .development-card > .btn { margin-top: auto; }
.world-page .studio-games { align-self: start; }
.world-page .studio-game-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.world-page .studio-game-list li + li { border-top: 1px solid var(--color-border); }
.world-page .studio-game-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	min-height: 72px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none !important;
}
.world-page .studio-game-list a:hover { color: var(--color-accent); text-decoration: underline !important; }
.world-page .studio-game-list img { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.world-page .game-card h2 a { text-decoration: none; }
.world-page .feature-list svg { color: #3b6846; flex-shrink: 0; }
.world-page .prose { color: #294c3a; }
.world-page .prose h2, .world-page .prose h3 { color: #173f36; }
.world-page .prose a:not(.btn) { color: #315f41; text-decoration: underline; text-underline-offset: 3px; }
.world-page .prose strong { color: #173f36; }
.world-page .prose :is(code, pre) { color: #244d34; background: #dfe8d1; border-color: #b5c6a8; }
.world-page .prose table { display: block; max-width: 100%; overflow-x: auto; }
.world-page .prose table.data-table { display: table; }
.world-page .post-meta, .world-page figcaption { color: #52664f; }
.world-page .page-header .post-meta { color: #e4e9d5; }
.world-page .post-card h2 a, .world-page .post-row h3 a { color: #173f36; }
.world-page .post-row { border-color: #b5c6a8; }
.world-journal .post-row { position: relative; border-radius: 16px; }
/* Keep one native link per article, with a hit area covering its entire row. */
.world-journal .post-row h2 a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 16px;
}
.world-journal .post-row:hover, .world-journal .post-row:focus-within { background: #dfe8d1; }
.world-journal .post-row h2 a:focus-visible { outline: none; }
.world-journal .post-row h2 a:focus-visible::after { outline: 3px solid #ce7933; outline-offset: 5px; }
.world-journal .post-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.journal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.world-journal .journal-filters .btn { padding: 10px 8px; min-height: 44px; font-size: .875rem; }
.world-journal .journal-filters [aria-current] {
	background: #315f41;
	border-color: #244d34;
	color: #fff9e9;
	box-shadow: 0 3px 0 #173f36;
}
.journal-count { margin-bottom: 20px; color: var(--color-text-muted); font-size: .9rem; }
.journal-count:empty { display: none; }
.world-page .post-cover { max-height: 480px; object-fit: contain; border-radius: 22px; background: #14352e; }
.world-page .accordion-trigger { color: #173f36; min-height: 58px; }
.world-page .accordion-panel-inner { color: #48604c; }
.world-page .accordion-item { border-color: #a8bd9b; }
.world-page .inline-form input { color: #173f36; background: #fffdf2; border-color: #8eaa7d; }
.world-page .form-status--error { color: #8b3025; }
.world-page .form-status--success { color: #235536; }
.world-page .site-footer { --color-text: #fff9e9; --color-text-muted: #c1ceba; --color-border: #53795666; }
.world-page .site-footer .brand { color: #fff9e9; }
.world-breadcrumb { margin: 0 0 22px; font-size: .87rem; color: #e4e9d5; }
.world-breadcrumb a { color: #ffe198; text-underline-offset: 4px; }
.world-page .page-header .lede { max-width: 58ch; margin-inline: auto; }
.world-page .video-note { margin: 14px auto 0; max-width: 44ch; color: #e4e9d5; font-size: .85rem; }
.world-video { display: block; width: 100%; height: auto; background: #12372d; border: 7px solid #152720; border-radius: 28px; box-shadow: 0 0 0 1px #68816a, 0 12px 28px #082a2033; }
.world-preview { width: min(100%, 274px); margin: auto; }
.world-preview figcaption { margin-top: 14px; font-size: .9rem; }
.world-page .hero figcaption { color: #e4e9d5; }
.world-page .hero .platform-row { margin-top: 24px; }
.world-page .cta-band .hero-actions { justify-content: center; }
.world-page .site-footer a { text-decoration-color: #c1ceba; }
.world-page a:not(.btn):not(.brand):not(.game-card-media):not(.post-card-media) { text-underline-offset: 4px; }
.world-page main p a:not(.btn), .world-page main li a:not(.btn) { text-decoration: underline; }
.world-page .game-card .game-card-media { min-height: 0; padding: 28px; border-radius: 18px; overflow: hidden; }
.world-page .game-card .game-card-media .frame { max-width: none; filter: none; }
.world-page .game-card .game-card-media::before, .world-page .game-card .game-card-media::after { display: none; }
.world-page .world-motion { margin-top: 24px; }
.world-page .world-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid #a8bd9b; }
.world-page .world-related a { display: inline-flex; align-items: center; min-height: 48px; margin-right: 24px; font-weight: 800; }
/* Similar-game picks at the end of a game page: a compact game-card with
   its own live preview, badge, one-line pitch and store link. */
.world-page .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.world-page .game-card--related { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: clamp(18px, 2.6vw, 28px); }
.world-page .game-card--related .game-card-media { min-height: 0; padding: 16px; border-radius: 14px; }
.world-page .game-card--related .game-card-media .phone-frame { width: min(100%, 138px); }
.world-page .game-card--related .game-card-body { display: flex; flex-direction: column; flex: 1; }
.world-page .game-card--related .badge { align-self: flex-start; }
.world-page .game-card--related h3 { margin: 14px 0 8px; font-size: clamp(1.3rem, 2vw, 1.55rem); }
.world-page .game-card--related h3 a { text-decoration: none; }
.world-page .game-card--related h3 a:hover { text-decoration: underline; }
.world-page .game-card--related p { margin: 0; }
.world-page .game-card--related .hero-actions { margin-top: auto; padding-top: 18px; gap: 12px; flex-wrap: wrap; }
@media (max-width: 680px) {
	.world-page .related-grid { grid-template-columns: 1fr; }
}
/* Press-kit download list: a plain left-aligned list, not a card grid. */
.world-page .press-asset-list { margin: 16px 0 24px; padding-left: 1.3em; }
.world-page .press-asset-list li { margin-bottom: 8px; }
.world-page .press-asset-note { margin-top: 24px; }
.world-page .world-prose-panel { padding: clamp(24px, 5vw, 60px); background: #fff9e9; border: 1px solid #b7c5a8; border-radius: 24px; }
.world-page .purryx-card-art { width: 100%; height: 260px; object-fit: contain; padding: 12px; border-radius: 18px; background: radial-gradient(ellipse at center, #a0bf72, #356346); }
.world-page [data-reveal] { opacity: 1; transform: none; }
.world-page .error-page { min-height: 75vh; padding-top: 155px; }
.world-page .error-page .code { color: #315f41; }
html:not(.js) .world-page .accordion-panel { grid-template-rows: 1fr; }
html:not(.js) .world-page .main-nav { display: flex; }
@media (max-width: 900px) {
	html:not(.js) .world-page .site-header { position: relative; padding-top: 12px; }
	html:not(.js) .world-page .site-header > .container { flex-wrap: wrap; }
	html:not(.js) .world-page .main-nav { position: static; width: 100%; max-height: none; box-shadow: none; }
	html:not(.js) .world-page .main-nav ul { flex-direction: row; flex-wrap: wrap; }
	html:not(.js) .world-page .nav-toggle { display: none; }
}
@media (max-width: 900px) {
	.world-page .hero-grid { gap: 36px; }
	.world-page .hero { padding-top: 140px; }
}
@media (max-width: 680px) {
	.world-page .page-header, .world-page .hero { padding: 132px 0 48px; }
	.world-page .hero-grid { display: flex; flex-direction: column; }
	.world-page .hero-grid > * { width: 100%; }
	.world-page .hero .hero-actions { justify-content: flex-start; }
	.world-page .hero-visual .phone-frame { width: 210px; }
	.world-page .section { padding-top: 44px; }
	.world-page .game-card { grid-template-columns: 1fr; }
	.world-page .game-card-body { padding: 0; }
	.world-page .game-card .game-card-media { padding: 24px; }
	.world-page .post-row { align-items: flex-start; }
	.world-page .post-row { gap: 18px; }
	.world-page .post-row-thumb { width: 60px; height: 60px; }
	.world-page .post-row h2 { font-size: 1.4rem; }
	.world-page .world-prose-panel { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.world-page *, .world-page *::before, .world-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
