/*
 * 1CEO Game — consolidated mobile-first interface
 * Version: 1.0.3
 */

:root {
	--ceogame-primary: #6D5DFB;
	--ceogame-secondary: #18B8A6;
	--ceogame-accent: #E8B84A;
	--ceogame-background: #090C14;
	--ceogame-surface: #101522;
	--ceogame-card: #161C2C;
	--ceogame-text: #F5F7FB;
	--ceogame-muted: #A5AFC2;
	--ceogame-border: #2A3245;
	--ceogame-cta: #E8B84A;
	--ceogame-cta-hover: #F3CB68;
	--ceogame-legal: #111827;
	--ceogame-footer: #070910;
	--ceogame-card-border-soft: rgba(122, 135, 165, .20);
	--ceogame-card-border-hover: rgba(109, 93, 251, .58);
	--ceogame-shadow: 0 18px 48px rgba(0, 0, 0, .22);
	--ceogame-shadow-hover: 0 26px 66px rgba(0, 0, 0, .34);
	--ceogame-radius-sm: 10px;
	--ceogame-radius: 18px;
	--ceogame-radius-lg: 28px;
	--ceogame-container: 1180px;
	--ceogame-header-height: 72px;
}

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

html {
	width: 100%;
	max-width: 100%;
	background: var(--ceogame-background);
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	width: 100%;
	max-width: 100%;
	margin: 0;
	background:
		radial-gradient(circle at 15% 0%, rgba(109, 93, 251, .12), transparent 30rem),
		radial-gradient(circle at 100% 18%, rgba(24, 184, 166, .08), transparent 28rem),
		var(--ceogame-background);
	color: var(--ceogame-text);
	font-family: Inter, system-ui, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
	overflow-x: clip;
}

body.ceogame-lang-hi {
	font-family: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
	line-height: 1.82;
}

html.ceogame-menu-open,
body.ceogame-menu-open {
	overflow: hidden;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

img {
	width: auto;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
	color: var(--ceogame-accent);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid rgba(232, 184, 74, .72);
	outline-offset: 3px;
}

p,
ul,
ol,
blockquote,
table {
	margin-top: 0;
	margin-bottom: 1.1rem;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .8rem;
	color: var(--ceogame-text);
	font-weight: 780;
	letter-spacing: -.025em;
	line-height: 1.14;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.ceogame-lang-hi h1,
.ceogame-lang-hi h2,
.ceogame-lang-hi h3,
.ceogame-lang-hi h4 {
	line-height: 1.4;
	letter-spacing: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

h1 {
	font-size: clamp(2rem, 8vw, 4.5rem);
}

h2 {
	font-size: clamp(1.55rem, 5vw, 2.6rem);
}

h3 {
	font-size: clamp(1.18rem, 3.6vw, 1.5rem);
}

small {
	color: var(--ceogame-muted);
}

.ceogame-container {
	width: min(100%, var(--ceogame-container));
	margin-inline: auto;
	padding-inline: 16px;
}

.ceogame-main {
	width: 100%;
	min-height: 60vh;
	overflow-x: clip;
}

.ceogame-section {
	padding: 56px 0;
}

.ceogame-section--surface {
	border-block: 1px solid rgba(42, 50, 69, .7);
	background: linear-gradient(180deg, rgba(16, 21, 34, .82), rgba(16, 21, 34, .58));
}

.ceogame-section-header {
	max-width: 760px;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.ceogame-section-header > h2 {
	max-width: 22ch;
}

.ceogame-section-header > p:not(.ceogame-eyebrow) {
	max-width: 66ch;
	color: var(--ceogame-muted);
}

.ceogame-section-header p:last-child {
	margin-bottom: 0;
}

.ceogame-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--ceogame-secondary);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.ceogame-lang-hi .ceogame-eyebrow {
	letter-spacing: .02em;
	line-height: 1.7;
}

.ceogame-lead {
	max-width: 780px;
	color: #D7DCE7;
	font-size: clamp(1.05rem, 3.8vw, 1.26rem);
	line-height: 1.72;
}

.ceogame-skip-link {
	position: fixed;
	left: 12px;
	top: 12px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: var(--ceogame-radius-sm);
	background: var(--ceogame-cta);
	color: #181303;
	font-weight: 800;
	transform: translateY(-170%);
	transition: transform .16s ease;
}

.ceogame-skip-link:focus {
	transform: translateY(0);
}

/* Header */
.ceogame-site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	width: 100%;
	height: var(--ceogame-header-height);
	border-bottom: 1px solid rgba(42, 50, 69, .8);
	background: rgba(9, 12, 20, .93);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.ceogame-header-inner {
	display: flex;
	align-items: center;
	min-height: var(--ceogame-header-height);
	gap: 10px;
}

.ceogame-brand {
	display: inline-flex;
	flex: 0 1 132px;
	align-items: center;
	width: 132px;
	max-width: 42vw;
	text-decoration: none;
}

.ceogame-brand img {
	width: 100%;
	aspect-ratio: 640 / 192;
	object-fit: contain;
}

.ceogame-desktop-nav,
.ceogame-button--header {
	display: none;
}

.ceogame-language-switcher {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ceogame-language-switcher--desktop {
	margin-left: auto;
}

.ceogame-language-switcher a {
	padding: 7px 8px;
	border-radius: 9px;
	color: var(--ceogame-muted);
	font-size: .84rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
}

.ceogame-language-switcher a[aria-current="page"] {
	background: rgba(24, 184, 166, .12);
	color: var(--ceogame-secondary);
}

.ceogame-menu-toggle {
	display: inline-grid;
	flex: 0 0 44px;
	place-items: center;
	gap: 4px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ceogame-border);
	border-radius: 12px;
	background: var(--ceogame-card);
	color: var(--ceogame-text);
	cursor: pointer;
}

.ceogame-menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.ceogame-drawer-overlay {
	position: fixed;
	inset: var(--ceogame-header-height) 0 0;
	z-index: 910;
	background: rgba(0, 0, 0, .64);
	backdrop-filter: blur(2px);
}

.ceogame-drawer-overlay[hidden] {
	display: none;
}

.ceogame-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 920;
	width: min(88vw, 380px);
	height: 100dvh;
	padding: 20px;
	border-left: 1px solid var(--ceogame-border);
	background: var(--ceogame-surface);
	box-shadow: -30px 0 70px rgba(0, 0, 0, .35);
	overflow-y: auto;
	visibility: hidden;
	transform: translateX(105%);
	transition: transform .25s ease, visibility .25s ease;
}

.ceogame-mobile-drawer.is-open {
	visibility: visible;
	transform: translateX(0);
}

.ceogame-drawer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ceogame-border);
}

.ceogame-drawer-close {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--ceogame-border);
	border-radius: 11px;
	background: var(--ceogame-card);
	color: var(--ceogame-text);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.ceogame-mobile-menu,
.ceogame-primary-menu,
.ceogame-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ceogame-mobile-menu {
	display: grid;
	gap: 6px;
}

.ceogame-mobile-menu a {
	display: block;
	padding: 11px 12px;
	border-radius: 10px;
	color: var(--ceogame-text);
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.ceogame-mobile-menu .current-menu-item > a,
.ceogame-mobile-menu a:hover,
.ceogame-mobile-menu a:focus-visible {
	background: rgba(109, 93, 251, .13);
	color: #fff;
}

.ceogame-language-switcher--drawer {
	margin: 20px 0;
	padding-top: 16px;
	border-top: 1px solid var(--ceogame-border);
}

/* Buttons */
.ceogame-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--ceogame-cta);
	color: #171306;
	font-weight: 850;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ceogame-button:hover,
.ceogame-button:focus-visible {
	background: var(--ceogame-cta-hover);
	color: #171306;
	transform: translateY(-1px);
}

.ceogame-button--secondary {
	border-color: var(--ceogame-border);
	background: var(--ceogame-card);
	color: var(--ceogame-text);
}

.ceogame-button--secondary:hover,
.ceogame-button--secondary:focus-visible {
	border-color: var(--ceogame-primary);
	background: rgba(109, 93, 251, .12);
	color: #fff;
}

.ceogame-button--drawer {
	width: 100%;
}

.ceogame-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin-top: 24px;
}

/* Hero */
.ceogame-hero {
	position: relative;
	padding: 48px 0 42px;
	overflow: clip;
}

.ceogame-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(109, 93, 251, .1), transparent 38%),
		radial-gradient(circle at 86% 24%, rgba(24, 184, 166, .11), transparent 22rem);
}

.ceogame-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	align-items: center;
}

.ceogame-hero-copy {
	max-width: 760px;
}

.ceogame-hero-copy h1 {
	margin-bottom: 18px;
}

.ceogame-hero-copy .ceogame-lead {
	margin-bottom: 0;
}

.ceogame-hero-media {
	position: relative;
	isolation: isolate;
	border: 1px solid rgba(122, 135, 165, .24);
	border-radius: var(--ceogame-radius-lg);
	background:
		linear-gradient(145deg, rgba(109, 93, 251, .11), rgba(24, 184, 166, .055)),
		var(--ceogame-card);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .30);
	overflow: hidden;
}

.ceogame-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
	pointer-events: none;
}

.ceogame-hero-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ceogame-notice {
	margin-top: 24px;
	padding: 16px 18px;
	border: 1px solid rgba(232, 184, 74, .36);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(232, 184, 74, .10), rgba(232, 184, 74, .045)),
		rgba(13, 18, 30, .78);
	color: #F3E6B7;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.ceogame-notice strong {
	display: block;
	margin-bottom: 5px;
	color: var(--ceogame-accent);
}

/* Grids and cards */
.ceogame-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.ceogame-card {
	position: relative;
	isolation: isolate;
	width: 100%;
	padding: 22px;
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: var(--ceogame-radius);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .032), transparent 42%),
		linear-gradient(180deg, rgba(22, 28, 44, .97), rgba(14, 19, 31, .97));
	box-shadow: var(--ceogame-shadow);
	overflow: hidden;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ceogame-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
	pointer-events: none;
}

.ceogame-card > :last-child {
	margin-bottom: 0;
}

.ceogame-media-card {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	width: 100%;
	padding: 0;
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: 20px;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, .035), transparent 42%),
		linear-gradient(180deg, rgba(22, 28, 44, .98), rgba(13, 18, 30, .98));
	box-shadow: var(--ceogame-shadow);
	overflow: hidden;
	transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.ceogame-media-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--ceogame-primary), var(--ceogame-secondary), var(--ceogame-accent));
	opacity: .82;
	pointer-events: none;
}

.ceogame-media-card img {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-bottom: 1px solid rgba(122, 135, 165, .16);
	object-fit: cover;
	object-position: center;
	transition: transform .38s ease, filter .38s ease;
}

.ceogame-media-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	padding: 18px;
}

.ceogame-media-copy h3 {
	margin-bottom: 10px;
	font-size: clamp(1.2rem, 2vw, 1.48rem);
	line-height: 1.28;
}

.ceogame-lang-hi .ceogame-media-copy h3 {
	line-height: 1.48;
}

.ceogame-media-copy p {
	margin-bottom: 18px;
	color: #C7CEDC;
	font-size: .96rem;
	line-height: 1.68;
}

.ceogame-lang-hi .ceogame-media-copy p {
	line-height: 1.78;
}

.ceogame-media-copy > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin-top: auto;
	padding: 8px 12px;
	border: 1px solid rgba(109, 93, 251, .28);
	border-radius: 999px;
	background: rgba(109, 93, 251, .08);
	color: #D5D0FF;
	font-size: .9rem;
	font-weight: 780;
	line-height: 1.45;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ceogame-media-copy > a::after {
	content: "→";
	flex: 0 0 auto;
}

.ceogame-media-copy > a:hover,
.ceogame-media-copy > a:focus-visible {
	border-color: rgba(232, 184, 74, .52);
	background: rgba(232, 184, 74, .10);
	color: #FFF2C7;
}

/* Large chapter cards on the homepage. */
.ceogame-section > .ceogame-container.ceogame-grid--2 {
	position: relative;
	isolation: isolate;
	align-items: center;
	gap: 22px;
	padding: 18px;
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .038), transparent 44%),
		linear-gradient(180deg, rgba(18, 24, 39, .95), rgba(12, 17, 28, .96));
	box-shadow: var(--ceogame-shadow);
	overflow: hidden;
}

.ceogame-section > .ceogame-container.ceogame-grid--2::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -120px;
	right: -100px;
	width: 330px;
	height: 330px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(109, 93, 251, .14), transparent 68%);
	pointer-events: none;
}

.ceogame-section--surface > .ceogame-container.ceogame-grid--2::before {
	background: radial-gradient(circle, rgba(24, 184, 166, .12), transparent 68%);
}

.ceogame-section > .ceogame-container.ceogame-grid--2 .ceogame-section-header {
	margin-bottom: 18px;
}

.ceogame-section > .ceogame-container.ceogame-grid--2 .ceogame-section-header h2 {
	max-width: 18ch;
}

.ceogame-section > .ceogame-container.ceogame-grid--2 .ceogame-prose {
	max-width: none;
}

.ceogame-section-media {
	width: 100%;
	padding: 4px;
	border: 1px solid rgba(122, 135, 165, .22);
	border-radius: 17px;
	background: linear-gradient(135deg, rgba(109, 93, 251, .16), rgba(24, 184, 166, .08) 55%, rgba(232, 184, 74, .09));
	box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
	overflow: hidden;
}

.ceogame-section-media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 13px;
	object-fit: cover;
}

/* Tables */
.ceogame-table-wrap {
	width: 100%;
	max-width: 100%;
	margin-top: 24px;
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: 15px;
	background: rgba(13, 18, 30, .86);
	box-shadow: var(--ceogame-shadow);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ceogame-table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border-collapse: collapse;
	background: transparent;
}

.ceogame-table th,
.ceogame-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(122, 135, 165, .15);
	text-align: left;
	vertical-align: top;
}

.ceogame-table th {
	background: linear-gradient(180deg, rgba(109, 93, 251, .13), rgba(109, 93, 251, .07));
	color: #FAFBFF;
	font-size: .9rem;
}

.ceogame-table td {
	color: #D5DAE6;
}

.ceogame-table tr:last-child td {
	border-bottom: 0;
}

/* Inner pages */
.ceogame-breadcrumb {
	padding: 20px 0 0;
	color: var(--ceogame-muted);
	font-size: .9rem;
}

.ceogame-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ceogame-breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: #626D82;
}

.ceogame-breadcrumb a {
	color: #C8CFDD;
	text-decoration: none;
}

.ceogame-page-header {
	max-width: 820px;
	padding: 34px 0 22px;
}

.ceogame-page-header h1 {
	font-size: clamp(2rem, 7vw, 3.6rem);
}

.ceogame-content-shell {
	padding-bottom: 60px;
}

.ceogame-prose {
	max-width: 820px;
	color: #D7DCE6;
}

.ceogame-prose h2 {
	margin-top: 2.15rem;
}

.ceogame-prose h3 {
	margin-top: 1.7rem;
}

.ceogame-prose a {
	color: #BDB6FF;
}

.ceogame-prose strong {
	color: #fff;
}

.ceogame-image-strip {
	width: 100%;
	margin: 26px 0;
	border: 1px solid var(--ceogame-border);
	border-radius: var(--ceogame-radius);
	overflow: hidden;
}

.ceogame-image-strip img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ceogame-legal-box {
	position: relative;
	width: 100%;
	margin: 28px 0;
	padding: 22px;
	border: 1px solid rgba(232, 184, 74, .30);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(232, 184, 74, .075), transparent 42%),
		linear-gradient(180deg, #111827, #0D1421);
	color: #D3D8E3;
	box-shadow: var(--ceogame-shadow);
	overflow: hidden;
}

.ceogame-legal-box::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, var(--ceogame-accent), rgba(109, 93, 251, .8));
}

.ceogame-legal-box h2,
.ceogame-legal-box h3 {
	color: #fff;
}

.ceogame-related {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--ceogame-border);
}

.ceogame-related-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.ceogame-related-links a {
	position: relative;
	display: block;
	padding: 16px 44px 16px 17px;
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(22, 28, 44, .92), rgba(14, 19, 31, .94));
	box-shadow: 0 10px 26px rgba(0, 0, 0, .11);
	line-height: 1.6;
	text-decoration: none;
}

.ceogame-related-links a::after {
	content: "→";
	position: absolute;
	right: 17px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ceogame-secondary);
	font-weight: 900;
}

.ceogame-faq {
	display: grid;
	gap: 14px;
	margin-top: 22px;
}

.ceogame-faq details {
	border: 1px solid var(--ceogame-card-border-soft);
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 42%),
		linear-gradient(180deg, rgba(22, 28, 44, .96), rgba(14, 19, 31, .97));
	box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
	overflow: clip;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.ceogame-faq details[open] {
	border-color: rgba(109, 93, 251, .44);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
}

.ceogame-faq summary {
	position: relative;
	padding: 17px 48px 17px 18px;
	color: #fff;
	font-weight: 780;
	line-height: 1.55;
	cursor: pointer;
	list-style: none;
}

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

.ceogame-faq summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ceogame-accent);
	font-size: 1.35rem;
}

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

.ceogame-faq-answer {
	padding: 2px 18px 18px;
	border-top: 1px solid rgba(122, 135, 165, .12);
	color: #D1D7E3;
}

.ceogame-faq-answer p:last-child {
	margin-bottom: 0;
}

/* Search / fallback states */
.ceogame-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 660px;
	margin: 24px 0 34px;
}

.ceogame-search-form label {
	flex: 1 1 280px;
}

.ceogame-search-form input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid var(--ceogame-border);
	border-radius: 12px;
	background: var(--ceogame-surface);
	color: var(--ceogame-text);
}

.ceogame-search-form button {
	min-height: 48px;
	padding: 11px 18px;
	border: 0;
	border-radius: 12px;
	background: var(--ceogame-cta);
	color: #171306;
	font-weight: 850;
	cursor: pointer;
}

.ceogame-post-list {
	display: grid;
	gap: 16px;
}

.ceogame-post-list .ceogame-card h2 {
	font-size: 1.35rem;
}

.ceogame-post-list .ceogame-card h2 a {
	text-decoration: none;
}

.navigation.pagination {
	margin-top: 26px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px;
	border: 1px solid var(--ceogame-border);
	border-radius: 10px;
	background: var(--ceogame-card);
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--ceogame-primary);
	background: rgba(109, 93, 251, .18);
}

.ceogame-empty-state {
	max-width: 720px;
	padding: 32px;
	border: 1px solid var(--ceogame-border);
	border-radius: var(--ceogame-radius-lg);
	background: var(--ceogame-surface);
	text-align: center;
}

.ceogame-empty-state .ceogame-button-row {
	justify-content: center;
}

.ceogame-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Footer */
.ceogame-site-footer {
	width: 100%;
	border-top: 1px solid var(--ceogame-border);
	background: var(--ceogame-footer);
	color: #C9CFDB;
}

.ceogame-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	padding-top: 48px;
	padding-bottom: 36px;
}

.ceogame-site-footer h2 {
	margin-bottom: 14px;
	font-size: 1.08rem;
}

.ceogame-footer-brand img {
	width: 150px;
	margin-bottom: 18px;
	aspect-ratio: 640 / 192;
	object-fit: contain;
}

.ceogame-footer-menu {
	display: grid;
	gap: 9px;
}

.ceogame-footer-menu a,
.ceogame-footer-link {
	color: #D4DAE5;
	text-decoration: none;
}

.ceogame-footer-menu a:hover,
.ceogame-footer-menu a:focus-visible,
.ceogame-footer-link:hover,
.ceogame-footer-link:focus-visible {
	color: var(--ceogame-accent);
}

.ceogame-footer-notice {
	padding-top: 22px;
	padding-bottom: 22px;
	border-top: 1px solid rgba(42, 50, 69, .7);
	border-bottom: 1px solid rgba(42, 50, 69, .7);
	color: #AAB3C4;
	font-size: .91rem;
}

.ceogame-footer-notice p:last-child {
	margin-bottom: 0;
}

.ceogame-footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 20px;
	padding-bottom: 24px;
	color: #7F899D;
	font-size: .85rem;
}

.ceogame-footer-bottom p {
	margin: 0;
}

.ceogame-footer-bottom a {
	color: #AEB6C6;
}

/* Mouse-only card motion. */
@media (hover: hover) and (pointer: fine) {
	.ceogame-media-card:hover,
	.ceogame-media-card:focus-within {
		transform: translateY(-5px);
		border-color: var(--ceogame-card-border-hover);
		box-shadow: var(--ceogame-shadow-hover);
	}

	.ceogame-media-card:hover img,
	.ceogame-media-card:focus-within img {
		transform: scale(1.025);
		filter: saturate(1.05) contrast(1.02);
	}

	.ceogame-card:hover,
	.ceogame-card:focus-within {
		transform: translateY(-3px);
		border-color: rgba(109, 93, 251, .42);
		box-shadow: 0 22px 54px rgba(0, 0, 0, .27);
	}

	.ceogame-table tbody tr:hover {
		background: rgba(109, 93, 251, .045);
	}

	.ceogame-related-links a:hover,
	.ceogame-related-links a:focus-visible {
		transform: translateY(-2px);
	}
}

/* 361px+: language stays visible beside the hamburger. */
@media (max-width: 360px) {
	.ceogame-language-switcher--desktop {
		display: none;
	}

	.ceogame-menu-toggle {
		margin-left: auto;
	}

	.ceogame-brand {
		flex-basis: 104px;
		width: 104px;
	}
}

@media (min-width: 480px) {
	.ceogame-container {
		padding-inline: 20px;
	}

	.ceogame-section {
		padding: 64px 0;
	}

	.ceogame-related-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 641px) {
	.ceogame-grid--3,
	.ceogame-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ceogame-footer-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	}

	.ceogame-footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (min-width: 769px) {
	:root {
		--ceogame-header-height: 78px;
	}

	.ceogame-hero {
		padding: 70px 0 64px;
	}

	.ceogame-hero-grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
		gap: 44px;
	}

	.ceogame-section--surface > .ceogame-container > .ceogame-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

	.ceogame-section > .ceogame-container.ceogame-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(22px, 4vw, 42px);
		padding: clamp(22px, 3vw, 34px);
		border-radius: clamp(22px, 3vw, 30px);
	}

	.ceogame-media-copy {
		padding: 24px 25px 25px;
	}

	.ceogame-section-media {
		padding: 6px;
		border-radius: 22px;
	}

	.ceogame-section-media img {
		border-radius: 16px;
	}

	.ceogame-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ceogame-footer-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
	}

	.ceogame-content-shell {
		padding-bottom: 80px;
	}
}

@media (min-width: 1025px) {
	.ceogame-menu-toggle {
		display: none;
	}

	.ceogame-mobile-drawer,
	.ceogame-drawer-overlay {
		display: none;
	}

	.ceogame-desktop-nav {
		display: block;
		flex: 1 1 auto;
	}

	.ceogame-primary-menu {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 2px;
	}

	.ceogame-primary-menu a {
		display: block;
		padding: 9px 8px;
		border-radius: 9px;
		color: #DCE1EB;
		font-size: .83rem;
		font-weight: 720;
		line-height: 1.4;
		text-decoration: none;
		white-space: nowrap;
	}

	.ceogame-lang-hi .ceogame-primary-menu a {
		padding-inline: 7px;
		font-size: .79rem;
	}

	.ceogame-primary-menu .current-menu-item > a,
	.ceogame-primary-menu a:hover,
	.ceogame-primary-menu a:focus-visible {
		background: rgba(109, 93, 251, .12);
		color: #fff;
	}

	.ceogame-language-switcher--desktop {
		margin-left: 0;
	}

	.ceogame-button--header {
		display: inline-flex;
		flex: 0 0 auto;
		min-height: 42px;
		padding: 9px 13px;
		font-size: .84rem;
		white-space: nowrap;
	}

	.ceogame-brand {
		flex-basis: 138px;
		width: 138px;
		max-width: none;
	}

	.ceogame-section {
		padding: 78px 0;
	}
}

@media (min-width: 1200px) {
	.ceogame-header-inner {
		gap: 16px;
	}

	.ceogame-brand {
		flex-basis: 158px;
		width: 158px;
	}

	.ceogame-primary-menu {
		gap: 5px;
	}

	.ceogame-primary-menu a {
		padding: 9px 10px;
		font-size: .88rem;
	}

	.ceogame-lang-hi .ceogame-primary-menu a {
		padding-inline: 9px;
		font-size: .84rem;
	}

	.ceogame-button--header {
		padding-inline: 17px;
		font-size: .88rem;
	}

	.ceogame-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ceogame-section {
		padding: 46px 0;
	}

	.ceogame-section > .ceogame-container.ceogame-grid--2,
	.ceogame-grid--2,
	.ceogame-grid--3,
	.ceogame-grid--4,
	.ceogame-footer-grid,
	.ceogame-related-links,
	.ceogame-media-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.ceogame-button-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.ceogame-button-row .ceogame-button {
		width: 100%;
	}

	.ceogame-card,
	.ceogame-legal-box {
		padding: 18px;
		border-radius: 17px;
	}

	.ceogame-media-card {
		border-radius: 18px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
	}

	.ceogame-media-copy {
		padding: 17px 17px 19px;
	}

	.ceogame-section > .ceogame-container.ceogame-grid--2 {
		gap: 20px;
		padding: 17px;
		border-radius: 20px;
		box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
	}

	.ceogame-lang-hi h1,
	.ceogame-lang-hi .ceogame-page-header h1 {
		font-size: clamp(1.78rem, 8.2vw, 2.3rem);
		line-height: 1.32;
	}

	.ceogame-lang-hi .ceogame-mobile-menu a,
	.ceogame-lang-hi .ceogame-faq summary,
	.ceogame-lang-hi .ceogame-related-links a {
		line-height: 1.75;
	}

	.ceogame-table-wrap {
		border-radius: 15px;
	}
}

@media (max-width: 782px) {
	.admin-bar .ceogame-site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto;
		transition-duration: .01ms;
		animation-duration: .01ms;
		animation-iteration-count: 1;
	}
}
