/* ==========================================================================
   pages.css — article / guide / comparison page layer on top of landing.css
   Loads AFTER landing.css; reuses its :root tokens (--ink, --purple, etc.)
   ========================================================================== */

.page-main { padding: 120px 0 0; }

/* Breadcrumbs */
.crumbs {
	font-size: 14px;
	margin-bottom: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	color: rgba(25, 21, 36, 0.65);
}
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--purple); }
.crumbs .sep { opacity: 0.5; }

/* Article header */
.article-head { max-width: 780px; margin-bottom: 40px; }
.article-head .eyebrow { display: inline-block; margin-bottom: 14px; }
.article-head h1 {
	font-family: var(--display);
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.06;
	letter-spacing: -1px;
	margin-bottom: 18px;
}
.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 14px;
	color: rgba(25, 21, 36, 0.65);
	font-weight: 600;
}
.article-meta .dot-sep::before { content: "·"; margin-right: 14px; }

/* Prose */
.prose { max-width: 780px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
	font-family: var(--display);
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.5px;
	margin-top: 2em;
}
.prose h3 {
	font-family: var(--display);
	font-size: clamp(19px, 2.4vw, 24px);
	margin-top: 1.6em;
}
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--purple); font-weight: 600; }
.prose strong { font-weight: 700; }
.prose .lead { font-size: 19px; }

/* Sticker callout card */
.callout {
	background: var(--purple-soft);
	border: var(--border);
	border-radius: 18px;
	padding: 22px 26px;
	box-shadow: 5px 5px 0 var(--ink);
	margin: 1.6em 0;
}
.callout.c-yellow { background: #FFF9D6; }
.callout.c-cyan { background: #E2FBFF; }
.callout .callout-title {
	font-family: var(--display);
	font-weight: 700;
	display: block;
	margin-bottom: 6px;
}

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li {
	counter-increment: step;
	position: relative;
	padding: 20px 22px 20px 74px;
	background: var(--white);
	border: var(--border);
	border-radius: 18px;
	box-shadow: 4px 4px 0 var(--ink);
	margin-top: 18px;
}
.steps > li::before {
	content: counter(step);
	position: absolute;
	left: 20px;
	top: 20px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--yellow);
	border: var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-weight: 800;
	font-size: 18px;
}
.steps > li .step-title {
	font-family: var(--display);
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
}

/* Tables (comparison) */
.table-scroll { overflow-x: auto; margin: 1.6em 0; }
.vs-table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	min-width: 560px;
	background: var(--white);
	border: var(--border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 5px 5px 0 var(--ink);
	font-size: 15.5px;
}
.vs-table th, .vs-table td {
	padding: 13px 16px;
	text-align: left;
	border-bottom: 1.5px solid rgba(25, 21, 36, 0.12);
	vertical-align: top;
}
.vs-table thead th {
	background: var(--ink);
	color: var(--white);
	font-family: var(--display);
	font-size: 15px;
	letter-spacing: 0.2px;
}
.vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table td:first-child { font-weight: 700; white-space: nowrap; }

/* FAQ blocks */
.faq-list { max-width: 780px; }
.faq-item {
	background: var(--white);
	border: var(--border);
	border-radius: 18px;
	box-shadow: 4px 4px 0 var(--ink);
	padding: 20px 24px;
	margin-top: 16px;
}
.faq-item h3 {
	font-family: var(--display);
	font-size: 19px;
	margin-bottom: 8px;
}
.faq-item p { margin: 0; }
.faq-item p + p { margin-top: 0.8em; }

/* Guide cards (hub + related reading) */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 22px;
	margin: 1.8em 0;
}
.guide-card {
	display: block;
	background: var(--white);
	border: var(--border);
	border-radius: 20px;
	box-shadow: 5px 5px 0 var(--ink);
	padding: 24px;
	text-decoration: none;
	transition: transform 0.2s var(--pop), box-shadow 0.2s;
}
.guide-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.guide-card .gc-tag {
	display: inline-block;
	background: var(--yellow);
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	padding: 3px 12px;
	margin-bottom: 12px;
}
.guide-card.gc-compare .gc-tag { background: var(--cyan); }
.guide-card h3 {
	font-family: var(--display);
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 8px;
}
.guide-card p { font-size: 15px; color: rgba(25, 21, 36, 0.75); margin: 0; }

/* CTA band */
.cta-band {
	margin: 3.5em 0 0;
	background: var(--purple);
	color: var(--white);
	border: var(--border);
	border-radius: 24px;
	box-shadow: 7px 7px 0 var(--ink);
	padding: 40px 36px;
	text-align: center;
}
.cta-band h2 {
	font-family: var(--display);
	font-size: clamp(24px, 3.4vw, 36px);
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}
.cta-band p { opacity: 0.9; margin-bottom: 22px; }
.cta-band .btn-play { display: inline-flex; }

/* Page section rhythm + bottom space before footer */
.page-main .container > .prose:last-child,
.page-bottom { padding-bottom: 90px; }

@media (max-width: 640px) {
	.page-main { padding-top: 96px; }
	.steps > li { padding-left: 66px; }
	.cta-band { padding: 32px 22px; }
}

/* ==========================================================================
   Playable game embeds (click-to-play façade — iframe loads only on click)
   ========================================================================== */
.games-live {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 26px;
	margin: 1.8em 0;
}
.game-embed {
	position: relative;
	aspect-ratio: 10 / 16;
	border: var(--border);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 6px 6px 0 var(--ink);
	background: #0d1220;
}
.game-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.game-embed-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	border: 0;
	padding: 0;
	display: block;
}
.game-embed-poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 45%, rgba(10, 8, 20, 0.62));
}
.game-embed-play {
	position: absolute;
	top: 48%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--purple);
	color: #fff;
	border: 2.5px solid var(--ink);
	border-radius: 999px;
	padding: 12px 22px;
	font-family: var(--display);
	font-weight: 800;
	font-size: 16px;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.15s var(--pop), box-shadow 0.15s;
	z-index: 2;
}
.game-embed-poster:hover .game-embed-play { transform: translate(calc(-50% - 2px), calc(-50% - 2px)); box-shadow: 6px 6px 0 var(--ink); }
.game-embed-play svg { width: 16px; height: 16px; fill: #fff; }
.game-embed-meta {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	z-index: 2;
	text-align: left;
	color: #fff;
}
.game-embed-meta .t { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.1; }
.game-embed-meta .s { display: inline-block; font-size: 11.5px; font-weight: 700; margin-top: 6px; background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 2px 10px; }

/* Featured single game on the homepage — phone-framed */
.game-featured {
	max-width: 300px;
	margin: 0 auto;
}
