:root {
	--agp-night: #070a12;
	--agp-ink: #e8eefc;
	--agp-muted: #9aa8c0;
	--agp-line: rgba(148, 163, 184, 0.18);
	--agp-soft: #090d17;
	--agp-surface: #121a2b;
	--agp-panel: #172033;
	--agp-red: #ff365f;
	--agp-green: #39d98a;
	--agp-blue: #5aa2ff;
	--agp-amber: #ffd166;
	--agp-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
	--agp-radius: 8px;
	--agp-container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 12% 8%, rgba(255, 54, 95, 0.16), transparent 28%),
		radial-gradient(circle at 86% 12%, rgba(57, 217, 138, 0.1), transparent 26%),
		linear-gradient(180deg, #070a12, #0a0f1d 45%, #070a12);
	color: var(--agp-ink);
	font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--agp-red);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	width: 1.1em;
	height: 1.1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

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

.container {
	width: min(var(--agp-container), calc(100% - 32px));
	margin-inline: auto;
}

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

.skip-link:focus {
	z-index: 9999;
	top: 16px;
	right: 16px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--agp-night);
	color: #f4f7ff;
	border-radius: var(--agp-radius);
}

.site-header {
	background: var(--agp-surface);
	border-bottom: 1px solid var(--agp-line);
	box-shadow: 0 8px 26px rgba(16, 21, 32, 0.04);
}

.top-bar {
	background: var(--agp-night);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.86rem;
}

.top-bar__inner,
.brand-row,
.main-nav__inner,
.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.top-bar__inner {
	min-height: 40px;
}

.top-menu__list,
.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.clean-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.top-menu__list a,
.social-links a {
	color: rgba(255, 255, 255, 0.75);
}

.top-menu__list a:hover,
.social-links a:hover {
	color: #f4f7ff;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-row {
	min-height: 96px;
}

.site-title {
	display: inline-flex;
	color: var(--agp-night);
	font-size: 1.75rem;
	font-weight: 900;
	line-height: 1.1;
}

.site-description {
	margin: 4px 0 0;
	color: var(--agp-muted);
	font-size: 0.92rem;
}

.custom-logo-link img {
	max-height: 74px;
	width: auto;
}

.agp-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--agp-ink);
}

.agp-logo img {
	width: 210px;
	max-width: min(56vw, 230px);
	height: auto;
	filter: drop-shadow(0 12px 22px rgba(255, 54, 95, 0.18));
}

.agp-logo span {
	display: none;
}

.header-search,
.search-form {
	display: flex;
	align-items: stretch;
	width: min(520px, 100%);
	background: var(--agp-surface);
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	overflow: hidden;
}

.search-form label {
	display: flex;
	flex: 1;
	min-width: 0;
}

.header-search input,
.search-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	padding: 12px 14px;
	color: var(--agp-ink);
	background: transparent;
}

.header-search button,
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 48px;
	border: 0;
	color: #f4f7ff;
	background: var(--agp-red);
	cursor: pointer;
}

.main-nav {
	background: var(--agp-surface);
	border-top: 1px solid var(--agp-line);
}

.main-nav__inner {
	min-height: 56px;
}

.primary-menu {
	flex-wrap: wrap;
	gap: 4px;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 13px;
	border-radius: var(--agp-radius);
	color: var(--agp-ink);
	font-weight: 800;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: rgba(225, 29, 72, 0.09);
	color: var(--agp-red);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
	color: var(--agp-night);
	cursor: pointer;
}

.news-ticker {
	border-top: 1px solid var(--agp-line);
	background: var(--agp-surface);
}

.news-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 46px;
	overflow: hidden;
}

.news-ticker strong {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	background: var(--agp-red);
	color: #f4f7ff;
	font-size: 0.85rem;
}

.ticker-track {
	display: flex;
	align-items: center;
	gap: 24px;
	white-space: nowrap;
	overflow: hidden;
	color: var(--agp-muted);
}

.ticker-track a::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: 8px;
	border-radius: 50%;
	background: var(--agp-green);
	vertical-align: middle;
}

.ad-slot {
	margin-block: 16px;
	text-align: center;
}

.ad-slot .widget {
	padding: 10px;
	box-shadow: none;
}

.ad-slot img,
.ad-slot iframe {
	margin-inline: auto;
	max-width: 100%;
	border: 0;
	border-radius: 6px;
}

.ad-slot--header {
	margin-top: 14px;
	margin-bottom: 14px;
}

.ad-slot--content {
	margin: 22px 0;
}

.site-main {
	min-height: 55vh;
}

.hero-section {
	position: relative;
	padding: 42px 0 34px;
	background:
		linear-gradient(135deg, rgba(16, 21, 32, 0.96), rgba(31, 41, 55, 0.9)),
		radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.42), transparent 32%),
		linear-gradient(45deg, #101520, #26364f);
	color: #f4f7ff;
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 32px;
	align-items: center;
}

.hero-copy {
	max-width: 560px;
}

.hero-kicker,
.section-kicker,
.archive-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(225, 29, 72, 0.12);
	color: var(--agp-red);
	font-size: 0.84rem;
	font-weight: 900;
}

.hero-kicker {
	background: rgba(255, 255, 255, 0.12);
	color: #f4f7ff;
}

.hero-copy h1 {
	margin: 18px 0 14px;
	font-size: clamp(2.1rem, 4vw, 4.1rem);
	line-height: 1.18;
	font-weight: 900;
}

.hero-copy p {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
}

.hero-actions,
.game-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--agp-radius);
	font-weight: 900;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button-primary {
	background: var(--agp-red);
	color: #f4f7ff;
}

.button-primary:hover {
	color: #f4f7ff;
	background: #be123c;
}

.button-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #f4f7ff;
	border-color: rgba(255, 255, 255, 0.24);
}

.button-outline {
	background: var(--agp-surface);
	color: var(--agp-red);
	border-color: rgba(225, 29, 72, 0.24);
}

.hero-featured {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	grid-template-rows: repeat(3, 132px);
	gap: 12px;
}

.hero-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 132px;
	padding: 16px;
	border-radius: var(--agp-radius);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.09);
	isolation: isolate;
}

.hero-card--1 {
	grid-row: span 3;
	min-height: 420px;
}

.hero-card img,
.hero-card .agp-fallback-thumb {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(16, 21, 32, 0.02), rgba(16, 21, 32, 0.86));
}

.hero-card span {
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #f4f7ff;
	font-size: 0.78rem;
	font-weight: 800;
}

.hero-card strong {
	color: #f4f7ff;
	font-size: 1.02rem;
	line-height: 1.45;
}

.hero-card--1 strong {
	font-size: 1.45rem;
}

.content-layout,
.home-layout,
.game-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 28px;
	align-items: start;
	padding: 34px 0;
}

.home-layout {
	padding-top: 38px;
}

.content-column,
.home-main {
	min-width: 0;
}

.home-section + .home-section {
	margin-top: 38px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.section-heading h2,
.archive-header h1,
.single-header h1,
.single-panel h2,
.widget-title {
	margin: 8px 0 0;
	color: var(--agp-night);
	font-weight: 900;
	line-height: 1.35;
}

.section-heading h2 {
	font-size: 1.65rem;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--agp-red);
	font-weight: 900;
}

.post-grid,
.game-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.post-card,
.game-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.home-widget-row {
	background: var(--agp-surface);
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	box-shadow: 0 8px 24px rgba(16, 21, 32, 0.04);
}

.post-card,
.game-card {
	overflow: hidden;
}

.post-card__image,
.game-card__image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dbe3ef;
}

.post-card__image img,
.game-card__image img,
.post-card__image .agp-fallback-thumb,
.game-card__image .agp-fallback-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover img,
.game-card:hover img {
	transform: scale(1.04);
}

.post-card__body,
.game-card__body {
	padding: 15px;
}

.card-category,
.term-list a {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	margin: 0 0 8px 6px;
	padding: 0 9px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.09);
	color: var(--agp-blue);
	font-size: 0.78rem;
	font-weight: 900;
}

.term-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.term-list a {
	margin: 0;
	background: rgba(22, 163, 74, 0.09);
	color: var(--agp-green);
}

.post-card h3,
.game-card h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	line-height: 1.55;
}

.post-card p,
.game-card p {
	margin: 0 0 12px;
	color: var(--agp-muted);
	font-size: 0.93rem;
}

.entry-meta,
.game-card__meta,
.game-quick-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	color: var(--agp-muted);
	font-size: 0.82rem;
}

.entry-meta span,
.game-card__meta span,
.game-quick-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.game-card__score,
.score-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-radius: 999px;
	background: var(--agp-amber);
	color: #111827;
	font-weight: 900;
}

.game-card__score {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 9px;
	font-size: 0.82rem;
}

.score-badge {
	padding: 7px 11px;
}

.game-card .button {
	width: 100%;
	margin-top: 14px;
}

.sidebar {
	display: grid;
	gap: 18px;
}

.widget {
	padding: 18px;
}

.widget-title {
	margin: 0 0 14px;
	font-size: 1.1rem;
}

.widget ul {
	padding-inline-start: 18px;
	margin: 0;
}

.widget li + li {
	margin-top: 9px;
}

.term-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.term-cloud a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid var(--agp-line);
	border-radius: 999px;
	background: var(--agp-surface);
	color: var(--agp-ink);
	font-weight: 800;
	font-size: 0.9rem;
}

.compact-list {
	display: grid;
	gap: 12px;
}

.compact-item {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 10px;
	align-items: center;
	color: var(--agp-ink);
	font-weight: 800;
	line-height: 1.45;
}

.compact-item img,
.compact-item .agp-fallback-thumb {
	width: 74px;
	height: 54px;
	object-fit: cover;
	border-radius: 6px;
}

.archive-header,
.single-header {
	margin-bottom: 22px;
}

.game-archive-hero {
	padding: 34px 0;
	background: linear-gradient(135deg, #0b1020, #121a2b);
	border-bottom: 1px solid var(--agp-line);
}

.game-archive-hero h1 {
	margin: 10px 0;
	color: var(--agp-night);
	font-size: clamp(2rem, 3vw, 3.4rem);
	line-height: 1.2;
	font-weight: 900;
}

.game-archive-hero p {
	max-width: 720px;
	margin: 0;
	color: var(--agp-muted);
}

.archive-filter-panel {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 18px;
	align-items: start;
	margin-bottom: 20px;
	padding: 18px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
}

.archive-filter-panel h2 {
	margin: 0 0 6px;
	color: var(--agp-night);
	font-weight: 900;
}

.archive-filter-panel p {
	margin: 0;
	color: var(--agp-muted);
}

.archive-filter-groups {
	display: grid;
	gap: 14px;
}

.filter-group strong {
	display: block;
	margin-bottom: 8px;
	color: var(--agp-night);
}

.archive-header h1,
.single-header h1 {
	font-size: clamp(1.8rem, 3vw, 3rem);
}

.archive-description {
	color: var(--agp-muted);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 20px 0 0;
	color: var(--agp-muted);
	font-size: 0.9rem;
}

.breadcrumbs a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--agp-blue);
	font-weight: 800;
}

.single-article,
.page-article {
	background: var(--agp-surface);
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	padding: 26px;
}

.single-featured {
	margin-bottom: 22px;
	border-radius: var(--agp-radius);
	overflow: hidden;
	background: #dbe3ef;
}

.single-featured img,
.single-featured .agp-fallback-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry-content {
	color: #243042;
	font-size: 1.04rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	color: var(--agp-night);
	font-weight: 900;
	line-height: 1.4;
}

.entry-content a {
	color: var(--agp-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin: 22px 0;
	padding: 16px 18px;
	border-right: 4px solid var(--agp-red);
	background: var(--agp-soft);
	color: var(--agp-ink);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.tag-list a {
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--agp-soft);
	color: var(--agp-muted);
	font-weight: 800;
}

.post-navigation {
	margin-top: 22px;
}

.nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.nav-links a {
	display: block;
	padding: 14px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
}

.nav-links span {
	display: block;
	color: var(--agp-muted);
	font-size: 0.84rem;
}

.nav-links strong {
	color: var(--agp-night);
}

.game-hero {
	padding: 34px 0;
	background:
		linear-gradient(135deg, rgba(16, 21, 32, 0.97), rgba(31, 41, 55, 0.93)),
		linear-gradient(90deg, rgba(225, 29, 72, 0.22), rgba(37, 99, 235, 0.2));
	color: #f4f7ff;
}

.game-hero__inner {
	display: grid;
	grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.game-cover {
	border-radius: var(--agp-radius);
	overflow: hidden;
	box-shadow: var(--agp-shadow);
}

.game-cover img,
.game-cover .agp-fallback-thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.game-hero h1 {
	margin: 14px 0 10px;
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1.2;
	font-weight: 900;
}

.game-hero p {
	max-width: 680px;
	color: rgba(255, 255, 255, 0.78);
}

.game-hero .button-secondary {
	background: transparent;
}

.single-panel {
	padding: 22px;
}

.single-panel + .single-panel,
.single-panel + .comments-area {
	margin-top: 18px;
}

.download-list {
	display: grid;
	gap: 12px;
}

.download-list a,
.copy-value {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 15px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
	color: var(--agp-ink);
	text-align: right;
}

.download-list strong {
	color: var(--agp-night);
	font-weight: 900;
}

.download-list span {
	color: var(--agp-muted);
	font-size: 0.9rem;
}

.copy-value {
	cursor: pointer;
}

.copy-value.copied {
	border-color: rgba(22, 163, 74, 0.5);
	background: rgba(22, 163, 74, 0.08);
}

.requirements-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.requirements-grid > div {
	padding: 16px;
	border-radius: var(--agp-radius);
	background: var(--agp-soft);
}

.requirements-grid h3 {
	margin: 0 0 8px;
	color: var(--agp-night);
}

.requirements-grid p {
	margin: 0;
	color: var(--agp-muted);
	white-space: pre-line;
}

.facts-list {
	display: grid;
	gap: 10px;
	margin: 0;
}

.facts-list div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--agp-line);
}

.facts-list dt {
	color: var(--agp-muted);
	font-weight: 700;
}

.facts-list dd {
	margin: 0;
	color: var(--agp-night);
	font-weight: 900;
	text-align: left;
}

.safety-box a {
	display: inline-flex;
	padding: 9px 12px;
	border-radius: var(--agp-radius);
	background: rgba(22, 163, 74, 0.1);
	color: var(--agp-green);
	font-weight: 900;
}

.split-showcase {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	gap: 18px;
}

.rank-list {
	display: grid;
	gap: 10px;
}

.rank-card {
	display: grid;
	grid-template-columns: 54px 1fr;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
}

.rank-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--agp-night);
	color: #f4f7ff;
	font-weight: 900;
}

.rank-card strong {
	color: var(--agp-night);
	line-height: 1.55;
}

.platform-panel {
	padding: 18px;
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
	border: 1px solid var(--agp-line);
}

.home-widget-row {
	padding: 18px;
	margin-bottom: 28px;
}

.empty-state,
.not-found-box {
	padding: 30px;
	text-align: center;
}

.not-found-page {
	padding: 56px 0;
}

.not-found-box span {
	display: block;
	color: var(--agp-red);
	font-size: 5rem;
	font-weight: 900;
	line-height: 1;
}

.not-found-box .search-form {
	margin: 22px auto;
}

.comments-area {
	padding: 22px;
}

.comment-list {
	padding: 0;
	margin: 0 0 22px;
	list-style: none;
}

.comment-body {
	padding: 14px 0;
	border-bottom: 1px solid var(--agp-line);
}

.pagination,
.page-links {
	margin-top: 24px;
}

.pagination .nav-links,
.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0 10px;
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
	background: var(--agp-surface);
	font-weight: 900;
}

.page-numbers.current {
	background: var(--agp-red);
	color: #f4f7ff;
	border-color: var(--agp-red);
}

.agp-fallback-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(37, 99, 235, 0.18)),
		#dbe3ef;
	color: var(--agp-night);
	font-size: 3rem;
	font-weight: 900;
}

.site-footer {
	margin-top: 32px;
	background: var(--agp-night);
	color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 1fr);
	gap: 26px;
	padding: 42px 0;
}

.footer-grid h2,
.footer-grid .widget-title {
	margin: 0 0 12px;
	color: #f4f7ff;
	font-size: 1.12rem;
}

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

.footer-menu a,
.footer-grid a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-menu a:hover,
.footer-grid a:hover {
	color: #f4f7ff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
	min-height: 58px;
}

.footer-bottom p {
	margin: 0;
}

.back-to-top {
	color: #f4f7ff;
	font-weight: 900;
}

@media (max-width: 1080px) {
	.post-grid,
	.game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-layout,
	.home-layout,
	.game-content-layout {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.hero-grid,
	.game-hero__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.top-menu,
	.social-links,
	.header-search {
		display: none;
	}

	.brand-row {
		min-height: 76px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-nav__inner {
		align-items: stretch;
		flex-direction: column;
		padding: 10px 0;
	}

	.primary-menu {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding-top: 10px;
	}

	.primary-menu.is-open {
		display: flex;
	}

	.primary-menu a {
		justify-content: flex-start;
		width: 100%;
	}

	.hero-featured {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.hero-card--1,
	.hero-card {
		min-height: 210px;
		grid-row: auto;
	}

	.split-showcase,
	.archive-filter-panel,
	.requirements-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.sidebar {
		grid-template-columns: 1fr;
	}

	.nav-links {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.container {
		width: min(100% - 22px, var(--agp-container));
	}

	.hero-section,
	.game-hero {
		padding: 28px 0;
	}

	.hero-copy h1,
	.game-hero h1 {
		font-size: 2rem;
	}

	.post-grid,
	.game-grid {
		grid-template-columns: 1fr;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.single-article,
	.single-panel,
	.comments-area {
		padding: 18px;
	}

	.game-actions,
	.hero-actions {
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.download-list a,
	.copy-value,
	.facts-list div {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Dark gaming skin. Kept at the end so no white card/background leaks through. */
.site-header,
.main-nav,
.news-ticker,
.site-footer {
	background: rgba(7, 10, 18, 0.94);
	border-color: var(--agp-line);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.top-bar {
	background: #050711;
	border-bottom: 1px solid var(--agp-line);
}

.brand-row {
	min-height: 88px;
}

.header-search,
.search-form,
.menu-toggle,
.primary-menu a,
.term-cloud a,
.rank-card,
.download-list a,
.copy-value,
.nav-links a,
.page-numbers,
.archive-filter-panel,
.platform-panel,
.single-article,
.page-article,
.post-card,
.game-card,
.topic-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.home-widget-row {
	background: linear-gradient(180deg, rgba(23, 32, 51, 0.98), rgba(15, 22, 36, 0.98));
	border-color: var(--agp-line);
	color: var(--agp-ink);
	box-shadow: var(--agp-shadow);
}

.header-search input,
.search-form input,
.comment-form input,
.comment-form textarea {
	background: rgba(7, 10, 18, 0.62);
	color: var(--agp-ink);
	border: 1px solid var(--agp-line);
	border-radius: var(--agp-radius);
}

.header-search input::placeholder,
.search-form input::placeholder,
.comment-form textarea::placeholder {
	color: rgba(154, 168, 192, 0.72);
}

.primary-menu a {
	box-shadow: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: rgba(255, 54, 95, 0.14);
	color: #ff8ba3;
}

.header-search button,
.search-submit,
.button-primary,
.page-numbers.current {
	background: linear-gradient(135deg, var(--agp-red), #7c5cff);
	color: #f7f9ff;
	border-color: rgba(255, 54, 95, 0.45);
}

.button-secondary {
	background: rgba(90, 162, 255, 0.12);
	color: #dbeafe;
	border-color: rgba(90, 162, 255, 0.28);
}

.button-outline {
	background: rgba(255, 54, 95, 0.1);
	color: #ff8ba3;
	border-color: rgba(255, 54, 95, 0.34);
}

.hero-section {
	padding: 30px 0 28px;
	background:
		linear-gradient(135deg, rgba(7, 10, 18, 0.98), rgba(14, 20, 33, 0.94)),
		radial-gradient(circle at 22% 16%, rgba(255, 54, 95, 0.22), transparent 32%),
		radial-gradient(circle at 90% 18%, rgba(57, 217, 138, 0.12), transparent 30%);
	color: var(--agp-ink);
}

.hero-grid {
	grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
	gap: 26px;
}

.hero-copy h1 {
	margin: 14px 0 10px;
	font-size: clamp(1.55rem, 2.3vw, 2.75rem);
	line-height: 1.28;
}

.hero-copy p {
	max-width: 500px;
	margin-bottom: 18px;
	color: var(--agp-muted);
	font-size: 0.93rem;
}

.hero-kicker,
.section-kicker,
.archive-kicker {
	background: rgba(57, 217, 138, 0.1);
	color: var(--agp-green);
	border: 1px solid rgba(57, 217, 138, 0.22);
}

.hero-featured {
	position: relative;
	isolation: isolate;
	padding: 14px;
	border: 1px solid rgba(90, 162, 255, 0.26);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(90, 162, 255, 0.12), rgba(255, 54, 95, 0.1)),
		rgba(9, 13, 23, 0.88);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 28px 80px rgba(0, 0, 0, 0.42);
}

.hero-featured::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(255, 54, 95, 0.72), rgba(90, 162, 255, 0.35), rgba(57, 217, 138, 0.46));
	z-index: -1;
}

.hero-card {
	border: 1px solid rgba(244, 247, 255, 0.1);
	border-radius: 13px;
	background: #0d1424;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hero-card span {
	background: rgba(7, 10, 18, 0.72);
	color: #dbeafe;
	border: 1px solid rgba(90, 162, 255, 0.26);
}

.hero-card strong {
	color: #f4f7ff;
}

.hero-card--1 strong {
	font-size: 1.25rem;
}

.section-heading h2,
.archive-header h1,
.single-header h1,
.single-panel h2,
.widget-title,
.post-card h3,
.game-card h3,
.topic-card h3,
.entry-content h2,
.entry-content h3,
.rank-card strong,
.facts-list dd,
.download-list strong,
.archive-filter-panel h2,
.game-archive-hero h1 {
	color: #f4f7ff;
}

.post-card p,
.game-card p,
.topic-card p,
.entry-meta,
.game-card__meta,
.game-quick-meta,
.archive-description,
.breadcrumbs,
.entry-content,
.requirements-grid p,
.facts-list dt,
.download-list span,
.archive-filter-panel p,
.game-archive-hero p,
.comment-protection-note {
	color: var(--agp-muted);
}

.post-card__image,
.game-card__image,
.topic-card__image,
.single-featured,
.game-cover {
	background: #0c1220;
}

.card-category,
.term-list a {
	background: rgba(90, 162, 255, 0.12);
	color: #9cc7ff;
	border: 1px solid rgba(90, 162, 255, 0.24);
}

.term-list a {
	background: rgba(57, 217, 138, 0.11);
	color: #93f0bd;
	border-color: rgba(57, 217, 138, 0.24);
}

.term-cloud a {
	box-shadow: none;
}

.topic-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(286px, 360px);
	gap: 16px;
	padding: 2px 2px 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-color: rgba(255, 54, 95, 0.8) rgba(23, 32, 51, 0.8);
}

.topic-card {
	position: relative;
	display: grid;
	grid-template-rows: 170px 1fr;
	min-height: 360px;
	overflow: hidden;
	scroll-snap-align: start;
}

.topic-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255, 54, 95, 0.08);
}

.topic-card__image {
	position: relative;
	overflow: hidden;
}

.topic-card__image img,
.topic-card__image .agp-fallback-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.topic-card__content {
	display: flex;
	flex-direction: column;
	padding: 15px;
}

.topic-card h3 {
	margin: 0 0 8px;
	font-size: 1.02rem;
	line-height: 1.55;
}

.topic-card p {
	margin: 0 0 12px;
}

.topic-card .entry-meta {
	margin-top: auto;
}

.post-grid,
.game-grid {
	gap: 20px;
}

.post-card,
.game-card {
	border-radius: 12px;
}

.game-card__score,
.score-badge {
	background: linear-gradient(135deg, var(--agp-amber), #ff8a3d);
	color: #1b1220;
}

.game-archive-hero,
.game-hero {
	background:
		linear-gradient(135deg, rgba(7, 10, 18, 0.96), rgba(15, 23, 42, 0.9)),
		radial-gradient(circle at 20% 20%, rgba(255, 54, 95, 0.18), transparent 30%);
	border-bottom: 1px solid var(--agp-line);
	color: var(--agp-ink);
}

.requirements-grid > div,
.entry-content blockquote,
.agp-fallback-thumb {
	background: rgba(7, 10, 18, 0.54);
	border: 1px solid var(--agp-line);
}

.comment-protection-note {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid rgba(57, 217, 138, 0.22);
	border-radius: var(--agp-radius);
	background: rgba(57, 217, 138, 0.08);
}

.agp-comment-form {
	display: grid;
	gap: 12px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
	display: grid;
	gap: 6px;
	margin: 0;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 12px 13px;
	outline: 0;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: rgba(90, 162, 255, 0.56);
	box-shadow: 0 0 0 3px rgba(90, 162, 255, 0.14);
}

.form-submit .submit {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--agp-radius);
	background: linear-gradient(135deg, var(--agp-green), var(--agp-blue));
	color: #07101a;
	font-weight: 900;
	cursor: pointer;
}

.agp-honeypot {
	position: absolute;
	right: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.comment-body {
	border-color: var(--agp-line);
}

.site-footer {
	background: #050711;
}

.footer-grid h2,
.footer-grid .widget-title,
.footer-menu a,
.footer-grid a,
.back-to-top {
	color: #dbeafe;
}

@media (max-width: 1080px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.topic-strip {
		grid-auto-columns: minmax(260px, 86vw);
	}

	.hero-copy h1 {
		font-size: 1.7rem;
	}
}


/* ===== refined dark surfaces + side topic layout ===== */
:root {
	--agp-surface-2: #0d1424;
}

body,
.site-main,
.site-header,
.main-nav,
.news-ticker,
.brand-row,
.home-widget-row,
.post-card,
.game-card,
.topic-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.archive-filter-panel,
.platform-panel,
.single-article,
.page-article,
.header-search,
.search-form,
.term-cloud a,
.rank-card,
.nav-links a,
.page-numbers,
.download-list a,
.copy-value,
.requirements-grid > div,
.entry-content blockquote {
	background-color: transparent;
}

/* Enforce navy-only surfaces across the whole theme */
.site-header,
.main-nav,
.news-ticker,
.site-footer,
.top-bar,
.header-search,
.search-form,
.menu-toggle,
.primary-menu a,
.term-cloud a,
.rank-card,
.download-list a,
.copy-value,
.nav-links a,
.page-numbers,
.archive-filter-panel,
.platform-panel,
.single-article,
.page-article,
.post-card,
.game-card,
.topic-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.home-widget-row {
	background: linear-gradient(180deg, rgba(18, 26, 43, 0.98), rgba(13, 20, 36, 0.98));
	border-color: rgba(148, 163, 184, 0.16);
	color: var(--agp-ink);
}

.post-card__image,
.game-card__image,
.topic-card__image,
.single-featured,
.game-cover,
.agp-fallback-thumb {
	background: linear-gradient(135deg, rgba(255, 54, 95, 0.12), rgba(90, 162, 255, 0.12)), #0a1120;
}

.entry-content {
	color: var(--agp-ink);
}

.entry-content h2,
.entry-content h3,
.section-heading h2,
.archive-header h1,
.single-header h1,
.single-panel h2,
.widget-title,
.post-card h3,
.game-card h3,
.topic-card h3,
.rank-card strong,
.facts-list dd,
.download-list strong,
.archive-filter-panel h2,
.game-archive-hero h1,
.nav-links strong,
.site-title {
	color: #f4f7ff;
}

.post-card p,
.game-card p,
.topic-card p,
.entry-meta,
.game-card__meta,
.game-quick-meta,
.archive-description,
.breadcrumbs,
.requirements-grid p,
.facts-list dt,
.download-list span,
.archive-filter-panel p,
.game-archive-hero p,
.comment-protection-note,
.site-description,
.top-bar__date {
	color: var(--agp-muted);
}

.header-search input,
.search-form input,
.comment-form input,
.comment-form textarea,
select,
textarea {
	background: rgba(7, 10, 18, 0.72);
	color: var(--agp-ink);
	border-color: var(--agp-line);
}

.header-search input::placeholder,
.search-form input::placeholder,
.comment-form textarea::placeholder {
	color: rgba(154, 168, 192, 0.72);
}

/* Make home topic sections side-style and more distinctive */
.topic-strip {
	display: grid;
	grid-auto-flow: row;
	grid-auto-columns: unset;
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 2px 0 2px;
	overflow: visible;
	scroll-snap-type: none;
}

.topic-card {
	position: relative;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	grid-template-rows: none;
	min-height: 0;
	align-items: stretch;
	padding: 12px;
	border-radius: 14px;
	box-shadow: var(--agp-shadow);
}

.topic-card::before {
	box-shadow: inset 0 0 0 1px rgba(255, 54, 95, 0.08);
}

.topic-card__image {
	min-height: 180px;
	border-radius: 12px;
	overflow: hidden;
}

.topic-card__image img,
.topic-card__image .agp-fallback-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.topic-card__content {
	display: flex;
	flex-direction: column;
	padding: 4px 0 4px 16px;
	min-width: 0;
}

.topic-card__topmeta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 8px;
}

.topic-card__topmeta .card-category {
	margin: 0;
}

.topic-card__date {
	color: var(--agp-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.topic-card h3 {
	margin: 0 0 8px;
	font-size: 1.08rem;
	line-height: 1.6;
}

.topic-card p {
	margin: 0 0 12px;
	font-size: 0.93rem;
}

.topic-card .entry-meta {
	margin-top: auto;
}

@media (max-width: 820px) {
	.topic-card {
		grid-template-columns: 1fr;
		padding: 10px;
	}

	.topic-card__image {
		min-height: 200px;
	}

	.topic-card__content {
		padding: 14px 2px 4px;
	}
}


/* ===== WeKnowConquer wide dark red/navy customization ===== */
:root {
	--agp-night: #060a14;
	--agp-soft: #0a1120;
	--agp-surface: #10182a;
	--agp-panel: #152038;
	--agp-red: #ff365f;
	--agp-blue: #7b8fdc;
	--agp-green: #d84a66;
	--agp-container: 1440px;
	--agp-radius: 10px;
}

.container {
	width: min(var(--agp-container), calc(100% - 34px));
}

.top-bar__date,
.hero-copy,
.section-kicker,
.hero-kicker,
.archive-kicker {
	display: none !important;
}

.site-header,
.main-nav,
.news-ticker,
.site-footer,
.top-bar {
	background: rgba(6, 10, 20, 0.96);
}

.brand-row {
	min-height: 104px;
}

.agp-logo img,
.custom-logo-link img {
	width: auto;
	max-height: 86px;
	max-width: min(72vw, 360px);
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(255, 54, 95, 0.18);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(21, 32, 56, 0.98), rgba(12, 18, 32, 0.98));
	color: var(--agp-ink);
	cursor: pointer;
}

.search-toggle {
	width: 46px;
	padding: 0;
}

.header-search-panel {
	padding: 12px 0 0;
}

.header-search.header-search--icon {
	margin-inline-start: auto;
	width: min(420px, 100%);
}

.header-search.header-search--icon input {
	background: rgba(6, 10, 20, 0.72);
}

.main-nav__inner {
	justify-content: flex-start;
}

.primary-menu {
	gap: 8px;
}

.primary-menu a {
	border-radius: 999px;
	padding: 0 16px;
}

.hero-section--centered {
	padding: 30px 0 22px;
}

.hero-featured--centered {
	max-width: 1060px;
	margin-inline: auto;
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-rows: repeat(3, 145px);
	padding: 18px;
	border-radius: 26px;
	border: 1px solid rgba(255, 54, 95, 0.24);
	background:
		linear-gradient(135deg, rgba(255, 54, 95, 0.14), rgba(19, 31, 55, 0.9)),
		rgba(8, 13, 24, 0.94);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03) inset,
		0 28px 80px rgba(0, 0, 0, 0.42);
}

.hero-featured--centered::before {
	border-radius: 26px;
	background: linear-gradient(135deg, rgba(255, 54, 95, 0.78), rgba(89, 111, 192, 0.42), rgba(255, 54, 95, 0.18));
}

.hero-card--1 {
	min-height: 453px;
}

.home-layout--full,
.home-layout {
	grid-template-columns: 1fr;
	padding-top: 28px;
}

.home-main {
	max-width: 100%;
}

.home-widget-row,
.split-showcase,
.sidebar {
	display: none !important;
}

.home-section + .home-section {
	margin-top: 44px;
}

.section-heading {
	margin-bottom: 20px;
}

.section-heading h2 {
	font-size: 1.75rem;
}

.game-grid--featured {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.topic-strip {
	gap: 18px;
}

.topic-card {
	grid-template-columns: 310px minmax(0, 1fr);
	padding: 14px;
	border-radius: 16px;
}

.topic-card__image {
	min-height: 205px;
	border-radius: 13px;
}

.topic-card__content {
	padding: 8px 0 8px 22px;
}

.topic-card .card-category {
	margin-bottom: 10px;
}

.topic-card h3 {
	font-size: 1.15rem;
}

.topic-card p {
	font-size: 0.95rem;
}

.topic-card .entry-meta span:first-child {
	display: none;
}

.topic-card .entry-meta {
	gap: 10px 14px;
}

.post-card,
.game-card,
.topic-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.home-widget-row,
.archive-filter-panel,
.platform-panel,
.single-article,
.page-article,
.header-search,
.search-form,
.term-cloud a,
.rank-card,
.download-list a,
.copy-value,
.nav-links a,
.page-numbers {
	background: linear-gradient(180deg, rgba(18, 26, 43, 0.99), rgba(12, 18, 32, 0.99));
}

.card-category,
.term-list a {
	background: rgba(255, 54, 95, 0.1);
	color: #ff8fa5;
	border: 1px solid rgba(255, 54, 95, 0.22);
}

.term-list a {
	background: rgba(123, 143, 220, 0.12);
	color: #b8c6ff;
	border-color: rgba(123, 143, 220, 0.24);
}

@media (max-width: 1200px) {
	.game-grid--featured {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.topic-card {
		grid-template-columns: 260px minmax(0, 1fr);
	}
}

@media (max-width: 920px) {
	.hero-featured--centered {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.hero-card--1,
	.hero-card {
		min-height: 220px;
		grid-row: auto;
	}

	.game-grid--featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.topic-card {
		grid-template-columns: 1fr;
	}

	.topic-card__image {
		min-height: 220px;
	}

	.topic-card__content {
		padding: 16px 4px 6px;
	}
}

@media (max-width: 820px) {
	.top-menu,
	.social-links {
		display: none;
	}

	.main-nav__inner {
		align-items: stretch;
		flex-direction: column;
		padding: 10px 0;
	}

	.primary-menu {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding-top: 10px;
	}

	.primary-menu.is-open {
		display: flex;
	}

	.primary-menu a {
		justify-content: flex-start;
		width: 100%;
	}
}

@media (max-width: 620px) {
	.container {
		width: min(100% - 22px, var(--agp-container));
	}

	.game-grid--featured {
		grid-template-columns: 1fr;
	}

	.agp-logo img,
	.custom-logo-link img {
		max-height: 72px;
	}
}


/* ===== WeKnowConquer red/white clean version ===== */
:root {
	--agp-night: #111827;
	--agp-ink: #111827;
	--agp-muted: #667085;
	--agp-line: rgba(17, 24, 39, 0.10);
	--agp-soft: #fff3f6;
	--agp-surface: #ffffff;
	--agp-panel: #fff7f9;
	--agp-red: #ef174a;
	--agp-green: #ef174a;
	--agp-blue: #b0002a;
	--agp-amber: #ffbf47;
	--agp-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
	--agp-radius: 12px;
	--agp-container: 1440px;
}

body {
	background:
		linear-gradient(180deg, #fff7f9 0%, #ffffff 38%, #fff3f6 100%) !important;
	color: var(--agp-ink) !important;
}

.container {
	width: min(var(--agp-container), calc(100% - 34px));
}

.site-header,
.main-nav,
.news-ticker,
.top-bar {
	background: #ffffff !important;
	color: #111827 !important;
	border-color: rgba(239, 23, 74, 0.12) !important;
	box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}

.top-bar {
	background: #ef174a !important;
	color: #ffffff !important;
}

.top-menu__list a,
.social-links a,
.top-bar__inner,
.top-bar__date {
	color: rgba(255, 255, 255, 0.92) !important;
}

.site-footer {
	background: #111827 !important;
	color: rgba(255,255,255,.78) !important;
}

.agp-logo img,
.custom-logo-link img {
	max-height: 82px;
	width: auto;
	max-width: min(72vw, 360px);
	filter: none !important;
}

.brand-row {
	min-height: 100px;
}

.primary-menu a {
	background: transparent !important;
	color: #111827 !important;
	border: 1px solid transparent !important;
	border-radius: 999px;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: #fff0f4 !important;
	color: #ef174a !important;
	border-color: rgba(239, 23, 74, 0.16) !important;
}

.search-toggle,
.menu-toggle,
.header-search,
.search-form,
.header-search button,
.search-submit {
	background: #ffffff !important;
	color: #ef174a !important;
	border-color: rgba(239, 23, 74, 0.18) !important;
	box-shadow: var(--agp-shadow);
}

.search-toggle,
.menu-toggle {
	border-radius: 999px;
}

.header-search button,
.search-submit {
	background: #ef174a !important;
	color: #ffffff !important;
}

.header-search input,
.search-form input,
.comment-form input,
.comment-form textarea,
select,
textarea {
	background: #ffffff !important;
	color: #111827 !important;
	border-color: rgba(17, 24, 39, 0.10) !important;
}

.header-search input::placeholder,
.search-form input::placeholder,
.comment-form textarea::placeholder {
	color: #98a2b3 !important;
}

/* Restore useful side layout with a distinctive sidebar */
.home-layout,
.home-layout--with-sidebar,
.content-layout,
.game-content-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 360px !important;
	gap: 30px !important;
	align-items: start;
	padding-top: 34px;
}

.home-main,
.content-column {
	min-width: 0;
}

.sidebar {
	display: grid !important;
	gap: 18px;
	position: sticky;
	top: 18px;
}

.sidebar .widget {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid rgba(239, 23, 74, 0.14) !important;
	background:
		linear-gradient(180deg, #ffffff, #fff7f9) !important;
	box-shadow: 0 16px 45px rgba(176, 0, 42, 0.08) !important;
}

.sidebar .widget::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: linear-gradient(180deg, #ef174a, #b0002a);
}

.sidebar .widget-title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #111827 !important;
}

.sidebar .widget-title::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ef174a;
	box-shadow: 0 0 0 5px rgba(239, 23, 74, 0.10);
}

/* Remove ugly hero frame completely; keep clean featured area */
.hero-section,
.hero-section--clean {
	padding: 26px 0 10px !important;
	background: transparent !important;
	color: #111827 !important;
}

.hero-featured,
.hero-featured--clean {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	display: grid;
	grid-template-columns: 1.2fr repeat(3, minmax(0, .75fr));
	grid-template-rows: 280px;
	gap: 18px;
}

.hero-featured::before,
.hero-featured--clean::before {
	display: none !important;
}

.hero-card {
	min-height: 280px !important;
	border-radius: 18px !important;
	border: 1px solid rgba(17, 24, 39, 0.08) !important;
	box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12) !important;
	background: #111827 !important;
}

.hero-card--1 {
	grid-row: auto !important;
	min-height: 280px !important;
}

.hero-card span {
	background: #ef174a !important;
	color: #ffffff !important;
	border: 0 !important;
}

.hero-card strong,
.hero-card--1 strong {
	color: #ffffff !important;
	font-size: 1.08rem !important;
}

/* Cards, articles, panels */
.post-card,
.game-card,
.topic-card,
.widget,
.single-panel,
.comments-area,
.empty-state,
.not-found-box,
.home-widget-row,
.archive-filter-panel,
.platform-panel,
.single-article,
.page-article,
.term-cloud a,
.rank-card,
.download-list a,
.copy-value,
.nav-links a,
.page-numbers {
	background: #ffffff !important;
	color: #111827 !important;
	border: 1px solid rgba(17, 24, 39, 0.08) !important;
	box-shadow: var(--agp-shadow) !important;
}

.section-heading h2,
.archive-header h1,
.single-header h1,
.single-panel h2,
.widget-title,
.post-card h3,
.game-card h3,
.topic-card h3,
.entry-content h2,
.entry-content h3,
.rank-card strong,
.facts-list dd,
.download-list strong,
.archive-filter-panel h2,
.game-archive-hero h1,
.nav-links strong,
.site-title {
	color: #111827 !important;
}

.post-card p,
.game-card p,
.topic-card p,
.entry-meta,
.game-card__meta,
.game-quick-meta,
.archive-description,
.breadcrumbs,
.entry-content,
.requirements-grid p,
.facts-list dt,
.download-list span,
.archive-filter-panel p,
.game-archive-hero p,
.comment-protection-note,
.site-description {
	color: #667085 !important;
}

.post-card__image,
.game-card__image,
.topic-card__image,
.single-featured,
.game-cover,
.agp-fallback-thumb {
	background: #fff0f4 !important;
	color: #ef174a !important;
}

.card-category,
.term-list a {
	background: #fff0f4 !important;
	color: #ef174a !important;
	border: 1px solid rgba(239, 23, 74, 0.16) !important;
}

.button-primary,
.page-numbers.current,
.form-submit .submit {
	background: #ef174a !important;
	color: #ffffff !important;
	border-color: #ef174a !important;
}

.button-secondary,
.button-outline {
	background: #ffffff !important;
	color: #ef174a !important;
	border-color: rgba(239, 23, 74, 0.22) !important;
}

.section-link {
	color: #ef174a !important;
}

.news-ticker strong {
	background: #ef174a !important;
	color: #ffffff !important;
}

/* Topic side cards with better spacing */
.topic-strip {
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-auto-flow: row !important;
	gap: 18px !important;
	overflow: visible !important;
	padding: 0 !important;
}

.topic-card {
	grid-template-columns: 300px minmax(0, 1fr) !important;
	padding: 14px !important;
	border-radius: 18px !important;
}

.topic-card::before {
	display: none !important;
}

.topic-card__image {
	min-height: 200px !important;
	border-radius: 14px !important;
	overflow: hidden;
}

.topic-card__content {
	padding: 8px 0 8px 24px !important;
}

.topic-card h3 {
	font-size: 1.14rem !important;
	line-height: 1.6;
}

/* Game grid */
.game-grid--featured,
.game-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 22px !important;
}

.game-card,
.post-card {
	border-radius: 18px !important;
	overflow: hidden;
}

/* Keep hidden removals from previous request */
.hero-copy,
.section-kicker,
.hero-kicker,
.archive-kicker {
	display: none !important;
}

@media (max-width: 1180px) {
	.home-layout,
	.home-layout--with-sidebar,
	.content-layout,
	.game-content-layout {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-featured,
	.hero-featured--clean {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
	}

	.game-grid--featured,
	.game-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 820px) {
	.sidebar {
		grid-template-columns: 1fr;
	}

	.hero-featured,
	.hero-featured--clean,
	.game-grid--featured,
	.game-grid {
		grid-template-columns: 1fr !important;
	}

	.topic-card {
		grid-template-columns: 1fr !important;
	}

	.topic-card__content {
		padding: 14px 2px 4px !important;
	}
}


/* ===== Header inline nav + professional news list ===== */
.site-header--clean {
	background: #ffffff !important;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06) !important;
}

.top-bar,
.main-nav:not(.main-nav--inline),
.menu-toggle {
	display: none !important;
}

.brand-row--nav-inline {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	align-items: center !important;
	gap: 26px !important;
	min-height: 104px !important;
	padding: 12px 0 !important;
}

.site-branding {
	min-width: max-content;
}

.main-nav--inline {
	display: block !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	min-width: 0;
}

.main-nav--inline .primary-menu {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
}

.main-nav--inline .primary-menu a {
	min-height: 40px;
	padding: 0 15px;
	background: transparent !important;
	color: #111827 !important;
	border: 1px solid transparent !important;
	border-radius: 999px;
	font-weight: 900;
}

.main-nav--inline .primary-menu a:hover,
.main-nav--inline .primary-menu .current-menu-item > a {
	background: #fff0f4 !important;
	color: #ef174a !important;
	border-color: rgba(239, 23, 74, 0.18) !important;
}

.header-tools {
	justify-content: flex-end;
}

.search-toggle {
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #ef174a !important;
	color: #ffffff !important;
	border-color: #ef174a !important;
	box-shadow: 0 12px 26px rgba(239, 23, 74, 0.20) !important;
}

.header-search-panel {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	padding: 0 0 14px !important;
	background: #ffffff;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
}

.header-search.header-search--icon {
	margin-inline-start: auto;
	width: min(460px, 100%);
	border-radius: 999px !important;
}

/* More professional "أخبار الألعاب" presentation */
.topic-strip--news {
	gap: 20px !important;
}

.topic-strip--news .topic-card {
	grid-template-columns: 330px minmax(0, 1fr) !important;
	padding: 16px !important;
	border-radius: 22px !important;
	background:
		linear-gradient(180deg, #ffffff, #fff8fa) !important;
	border: 1px solid rgba(239, 23, 74, 0.12) !important;
	box-shadow: 0 18px 50px rgba(176, 0, 42, 0.08) !important;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.topic-strip--news .topic-card:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 23, 74, 0.26) !important;
	box-shadow: 0 24px 60px rgba(176, 0, 42, 0.12) !important;
}

.topic-strip--news .topic-card__image {
	min-height: 220px !important;
	border-radius: 18px !important;
	position: relative;
}

.topic-strip--news .topic-card__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.18));
	pointer-events: none;
}

.topic-strip--news .topic-card__content {
	padding: 12px 0 12px 28px !important;
	justify-content: center;
}

.topic-strip--news .card-category {
	align-self: flex-start;
	min-height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	background: #ef174a !important;
	color: #ffffff !important;
	border: 0 !important;
	box-shadow: 0 8px 18px rgba(239, 23, 74, 0.18);
}

.topic-strip--news .topic-card h3 {
	margin-top: 4px !important;
	margin-bottom: 10px !important;
	font-size: clamp(1.12rem, 1.4vw, 1.38rem) !important;
	line-height: 1.55 !important;
	letter-spacing: -0.01em;
}

.topic-strip--news .topic-card h3 a {
	color: #111827 !important;
}

.topic-strip--news .topic-card h3 a:hover {
	color: #ef174a !important;
}

.topic-strip--news .topic-card p {
	max-width: 760px;
	margin-bottom: 16px !important;
	color: #667085 !important;
	font-size: 0.98rem !important;
	line-height: 1.8;
}

.topic-strip--news .entry-meta {
	padding-top: 12px;
	border-top: 1px solid rgba(17, 24, 39, 0.08);
	color: #667085 !important;
}

.topic-strip--news .entry-meta span:first-child {
	display: none !important;
}

/* Keep sidebar elegant with new clean header */
.sidebar .widget {
	border-radius: 20px !important;
}

/* Responsive */
@media (max-width: 1120px) {
	.brand-row--nav-inline {
		grid-template-columns: 1fr auto !important;
		gap: 14px !important;
	}

	.main-nav--inline {
		grid-column: 1 / -1;
		order: 3;
	}

	.main-nav--inline .primary-menu {
		justify-content: flex-start;
	}

	.topic-strip--news .topic-card {
		grid-template-columns: 280px minmax(0, 1fr) !important;
	}
}

@media (max-width: 820px) {
	.brand-row--nav-inline {
		grid-template-columns: 1fr auto !important;
	}

	.main-nav--inline .primary-menu {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: 8px;
	}

	.main-nav--inline .primary-menu a {
		white-space: nowrap;
	}

	.topic-strip--news .topic-card {
		grid-template-columns: 1fr !important;
	}

	.topic-strip--news .topic-card__content {
		padding: 16px 4px 4px !important;
	}
}


/* ===== Final requested tweaks: compact news, reviews grid, inner post, animated logo, games slider ===== */
.agp-logo--animated img {
	animation: wkcLogoFloat 3.8s ease-in-out infinite;
	transform-origin: center;
}

@keyframes wkcLogoFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

/* Smaller main topic cards; image separated from text */
.topic-strip--news .topic-card,
.topic-card {
	grid-template-columns: 220px minmax(0, 1fr) !important;
	gap: 22px !important;
	padding: 12px !important;
	border-radius: 16px !important;
	max-width: 100%;
}

.topic-strip--news .topic-card__image,
.topic-card__image {
	min-height: 145px !important;
	border-radius: 14px !important;
}

.topic-strip--news .topic-card__content,
.topic-card__content {
	padding: 6px 8px !important;
}

.topic-strip--news .topic-card h3,
.topic-card h3 {
	font-size: 1rem !important;
	line-height: 1.55 !important;
	margin-bottom: 7px !important;
}

.topic-strip--news .topic-card p,
.topic-card p {
	font-size: .9rem !important;
	line-height: 1.65 !important;
	margin-bottom: 10px !important;
}

.topic-strip--news .entry-meta,
.topic-card .entry-meta {
	padding-top: 8px;
	font-size: .78rem;
}

/* Professional reviews grid */
.review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.review-card {
	overflow: hidden;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.review-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 45px rgba(176, 0, 42, 0.12);
}

.review-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #fff0f4;
	overflow: hidden;
}

.review-card__image img,
.review-card__image .agp-fallback-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.review-card:hover .review-card__image img {
	transform: scale(1.04);
}

.review-card__body {
	padding: 15px;
}

.review-card h3 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 1rem;
	line-height: 1.55;
}

.review-card p {
	margin: 0;
	color: #667085;
	font-size: .9rem;
	line-height: 1.65;
}

/* Games download compact slideshow */
.game-slider {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 12px;
}

.game-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(210px, 245px);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 2px 18px;
}

.game-slider__track::-webkit-scrollbar {
	display: none;
}

.game-slider__item {
	scroll-snap-align: start;
}

.game-slider__item .game-card {
	height: 100%;
	border-radius: 16px !important;
	box-shadow: 0 12px 30px rgba(17, 24, 39, .08) !important;
}

.game-slider__item .game-card__image {
	aspect-ratio: 16 / 10;
}

.game-slider__item .game-card__body {
	padding: 13px;
}

.game-slider__item .game-card h3 {
	font-size: .95rem;
	line-height: 1.5;
}

.game-slider__item .game-card p {
	display: none;
}

.game-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #ef174a;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(239, 23, 74, .22);
	cursor: pointer;
}

.game-slider__arrow--prev svg {
	transform: rotate(180deg);
}

/* Inner post: smaller title, remove repeated featured image */
.single-article .single-featured {
	display: none !important;
}

.single-header h1,
.single-article .single-header h1 {
	font-size: clamp(1.35rem, 2vw, 2.05rem) !important;
	line-height: 1.45 !important;
	margin-bottom: 10px !important;
}

.single-header {
	margin-bottom: 16px !important;
}

/* Prevent old Pali custom logo look; always theme logo in header */
.custom-logo-link {
	display: none !important;
}

@media (max-width: 1180px) {
	.review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.game-slider {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
	}
}

@media (max-width: 820px) {
	.topic-strip--news .topic-card,
	.topic-card {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.topic-strip--news .topic-card__image,
	.topic-card__image {
		min-height: 185px !important;
	}

	.review-grid {
		grid-template-columns: 1fr;
	}

	.game-slider {
		grid-template-columns: 1fr;
	}

	.game-slider__arrow {
		display: none;
	}

	.game-slider__track {
		grid-auto-columns: minmax(220px, 80vw);
	}
}


/* ===== Professional homepage topic metadata ===== */
.topic-card__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.topic-stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 10px;
	border-radius: 999px;
	background: #fff5f7;
	color: #344054;
	border: 1px solid rgba(239, 23, 74, 0.10);
	font-size: 0.78rem;
	font-style: normal;
	line-height: 1;
}

.topic-stat svg {
	width: 15px;
	height: 15px;
	color: #ef174a;
}

.topic-stat strong {
	color: #ef174a;
	font-size: 0.72rem;
	font-weight: 900;
}

.topic-stat em {
	color: #111827;
	font-style: normal;
	font-weight: 800;
}

.topic-stat--views {
	background: #fff8fa;
}

.topic-stat--read {
	background: #ffffff;
}

.topic-card .entry-meta {
	display: none !important;
}

.topic-strip--news .topic-card__stats {
	margin-top: 4px;
	padding-top: 14px;
}

.topic-strip--news .topic-stat {
	min-height: 34px;
	padding-inline: 11px;
	box-shadow: 0 8px 18px rgba(176, 0, 42, 0.05);
}

@media (max-width: 620px) {
	.topic-card__stats {
		gap: 7px;
	}

	.topic-stat {
		width: 100%;
		justify-content: flex-start;
	}
}


/* ===== V1.0 requested polish: Arabic animated logo, icons, meta panels ===== */
.agp-logo--text {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	color: #111827 !important;
	filter: none !important;
}

.agp-logo--text img {
	display: none !important;
}

.agp-logo-mark {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, #ef174a, #b0002a);
	color: #ffffff;
	font-size: 1.75rem;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(239, 23, 74, .22);
	animation: wkcLogoPulse 2.8s ease-in-out infinite;
}

.agp-logo-word {
	display: grid !important;
	gap: 0;
	line-height: 1.1;
}

.agp-logo-word strong {
	display: block;
	color: #111827;
	font-size: 1.65rem;
	font-weight: 950;
	letter-spacing: -0.02em;
}

.agp-logo-word small {
	display: block;
	color: #ef174a;
	font-size: .85rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

@keyframes wkcLogoPulse {
	0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 14px 28px rgba(239, 23, 74, .22); }
	50% { transform: translateY(-3px) scale(1.035); box-shadow: 0 18px 36px rgba(239, 23, 74, .30); }
}

.section-heading--icon {
	align-items: center !important;
}

.section-heading__title {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.section-heading__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: #fff0f4;
	color: #ef174a;
	border: 1px solid rgba(239, 23, 74, .14);
	box-shadow: 0 10px 24px rgba(239, 23, 74, .08);
}

.section-heading__icon svg {
	width: 21px;
	height: 21px;
}

/* Hide the word "مشاهدات" on homepage cards completely and keep elegant stats */
.topic-stat--views strong {
	display: none !important;
}

.topic-stat--views {
	padding-inline: 12px;
	min-width: 56px;
	justify-content: center;
	background: #fff0f4;
}

.topic-stat--views em {
	color: #ef174a;
	font-weight: 950;
}

/* More professional inner article data panel with clear separator */
.single-header--professional {
	padding-bottom: 18px;
	margin-bottom: 24px !important;
	border-bottom: 1px solid rgba(17, 24, 39, .08);
}

.single-meta-panel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
	padding: 14px;
	border-radius: 18px;
	background: linear-gradient(180deg, #fff8fa, #ffffff);
	border: 1px solid rgba(239, 23, 74, .12);
	box-shadow: 0 14px 34px rgba(176, 0, 42, .07);
}

.single-meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
}

.single-meta-item > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #ef174a;
	color: #ffffff;
	flex: 0 0 auto;
}

.single-meta-item > span svg {
	width: 18px;
	height: 18px;
}

.single-meta-item div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.single-meta-item strong {
	color: #ef174a;
	font-size: .76rem;
	font-weight: 950;
}

.single-meta-item em {
	color: #111827;
	font-style: normal;
	font-size: .92rem;
	font-weight: 900;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.single-article .entry-content {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(17, 24, 39, .08);
}

/* Make game download slideshow visually obvious with right/left arrows */
.home-games-slider-section .section-heading {
	margin-bottom: 16px;
}

.game-slider {
	padding: 14px;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff, #fff8fa);
	border: 1px solid rgba(239, 23, 74, .12);
	box-shadow: 0 18px 48px rgba(176, 0, 42, .08);
}

.game-slider__arrow {
	z-index: 3;
	transition: transform .2s ease, background .2s ease;
}

.game-slider__arrow:hover {
	transform: scale(1.07);
	background: #b0002a;
}

.game-slider__track {
	padding-bottom: 6px;
}

/* Remove SVG logo dependency visually */
.agp-logo:not(.agp-logo--text) img[src*="logo.svg"] {
	display: none !important;
}

@media (max-width: 920px) {
	.single-meta-panel {
		grid-template-columns: 1fr;
	}

	.agp-logo-mark {
		width: 52px;
		height: 52px;
		border-radius: 16px;
	}

	.agp-logo-word strong {
		font-size: 1.35rem;
	}
}


/* ===== V1.0 archive line, pro non-sticky sidebar, animated urgent ticker ===== */

/* Category/archive pages: no frame/card look; just a clean line header */
.archive-header {
	margin: 0 0 22px !important;
	padding: 0 0 14px !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 3px solid #ef174a !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.archive-header h1 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(1.45rem, 2.2vw, 2.25rem) !important;
	color: #111827 !important;
}

.archive-header h1::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ef174a;
	box-shadow: 0 0 0 6px rgba(239, 23, 74, .10);
}

.archive-description {
	margin-top: 10px;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

/* Sidebar: professional, but NOT sticky/fixed while scrolling */
.sidebar,
.sidebar--pro {
	position: static !important;
	top: auto !important;
	align-self: start;
	display: grid !important;
	gap: 18px !important;
}

.sidebar .widget,
.sidebar--pro .widget,
.widget--pro {
	position: relative;
	overflow: hidden;
	padding: 20px !important;
	border-radius: 22px !important;
	background:
		linear-gradient(180deg, #ffffff 0%, #fff8fa 100%) !important;
	border: 1px solid rgba(239, 23, 74, .13) !important;
	box-shadow: 0 16px 42px rgba(176, 0, 42, .07) !important;
}

.sidebar .widget::before,
.sidebar--pro .widget::before,
.widget--pro::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 18px;
	bottom: 18px;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ef174a, #b0002a);
}

.sidebar .widget-title,
.sidebar--pro .widget-title {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px !important;
	color: #111827 !important;
	font-size: 1.08rem !important;
}

.sidebar .widget-title::before,
.sidebar--pro .widget-title::before {
	content: "";
	display: inline-flex;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background:
		radial-gradient(circle at 50% 50%, #ef174a 0 4px, transparent 5px),
		#fff0f4;
	border: 1px solid rgba(239, 23, 74, .14);
	box-shadow: 0 10px 22px rgba(239, 23, 74, .08);
}

.sidebar-category-list {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-category-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 13px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
	color: #111827;
	font-weight: 850;
	transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.sidebar-category-list a:hover {
	transform: translateX(-3px);
	border-color: rgba(239, 23, 74, .22);
	color: #ef174a;
}

.sidebar-category-list em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: #fff0f4;
	color: #ef174a;
	font-style: normal;
	font-size: .78rem;
	font-weight: 950;
}

.compact-list--ranked {
	display: grid;
	gap: 12px;
}

.compact-item--pro {
	grid-template-columns: 34px 70px 1fr !important;
	gap: 10px !important;
	padding: 10px;
	border-radius: 15px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
	transition: transform .18s ease, border-color .18s ease;
}

.compact-item--pro:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 23, 74, .22);
}

.compact-item--pro > strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ef174a;
	color: #ffffff !important;
	font-size: .82rem;
}

.compact-item--pro img,
.compact-item--pro .agp-fallback-thumb {
	width: 70px !important;
	height: 52px !important;
	border-radius: 12px !important;
}

.compact-item--pro span {
	color: #111827;
	font-weight: 850;
	font-size: .9rem;
	line-height: 1.45;
}

/* Animated urgent ticker */
.news-ticker--animated {
	background: #ffffff !important;
	border-top: 1px solid rgba(239, 23, 74, .10) !important;
	border-bottom: 1px solid rgba(239, 23, 74, .10) !important;
	box-shadow: 0 8px 22px rgba(17, 24, 39, .04) !important;
	overflow: hidden;
}

.news-ticker--animated .news-ticker__inner {
	min-height: 50px;
	gap: 16px;
}

.ticker-label {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 32px !important;
	padding: 0 14px !important;
	border-radius: 999px !important;
	background: #ef174a !important;
	color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(239, 23, 74, .20);
	animation: urgentPulse 1.4s ease-in-out infinite;
}

.ticker-label::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-inline-end: 8px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 0 rgba(255,255,255,.75);
	animation: urgentDot 1.2s infinite;
}

.ticker-viewport {
	min-width: 0;
	overflow: hidden;
	flex: 1;
}

.ticker-track--animated {
	display: inline-flex !important;
	width: max-content;
	gap: 28px !important;
	white-space: nowrap;
	overflow: visible !important;
	animation: tickerMarquee 32s linear infinite;
	will-change: transform;
}

.ticker-track--animated:hover {
	animation-play-state: paused;
}

.ticker-track--animated a {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: #111827 !important;
	font-weight: 850;
}

.ticker-track--animated a::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-inline-end: 9px;
	border-radius: 50%;
	background: #ef174a !important;
}

@keyframes tickerMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

@keyframes urgentPulse {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-1px) scale(1.035); }
}

@keyframes urgentDot {
	0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
	70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@media (max-width: 1180px) {
	.sidebar,
	.sidebar--pro {
		position: static !important;
	}
}

@media (max-width: 620px) {
	.compact-item--pro {
		grid-template-columns: 32px 62px 1fr !important;
	}

	.ticker-track--animated {
		animation-duration: 24s;
	}
}


/* ===== V1.0 compact inner article meta + visible games slider fix ===== */
.single-meta-panel {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 10px !important;
	margin-top: 16px !important;
	padding: 12px 0 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(17, 24, 39, .10) !important;
	box-shadow: none !important;
}

.single-meta-item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	min-height: 36px !important;
	padding: 0 12px !important;
	border-radius: 999px !important;
	background: #fff5f7 !important;
	border: 1px solid rgba(239, 23, 74, .12) !important;
	box-shadow: none !important;
}

.single-meta-item > span {
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #ef174a !important;
	flex: 0 0 auto !important;
}

.single-meta-item > span svg {
	width: 16px !important;
	height: 16px !important;
}

.single-meta-item div {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-width: 0 !important;
}

.single-meta-item strong {
	color: #ef174a !important;
	font-size: .78rem !important;
	font-weight: 950 !important;
}

.single-meta-item em {
	color: #111827 !important;
	font-size: .82rem !important;
	font-weight: 850 !important;
	font-style: normal !important;
	white-space: nowrap !important;
}

/* Ensure the home downloads slider is visible and polished for both game-card and post-card fallback */
.home-games-slider-section {
	display: block !important;
}

.game-slider {
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr) 44px !important;
	align-items: center !important;
	gap: 12px !important;
	min-height: 1px;
}

.game-slider__track {
	display: grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: minmax(210px, 245px) !important;
	gap: 16px !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
	scrollbar-width: none !important;
}

.game-slider__item {
	scroll-snap-align: start;
	min-width: 0;
}

.game-slider__item .game-card,
.game-slider__item .post-card {
	height: 100%;
	border-radius: 16px !important;
	overflow: hidden;
}

.game-slider__item .post-card__image,
.game-slider__item .game-card__image {
	aspect-ratio: 16 / 10 !important;
}

.game-slider__item .post-card__body,
.game-slider__item .game-card__body {
	padding: 13px !important;
}

.game-slider__item .post-card h3,
.game-slider__item .game-card h3 {
	font-size: .95rem !important;
	line-height: 1.5 !important;
}

.game-slider__item .post-card p,
.game-slider__item .game-card p {
	display: none !important;
}

.game-slider__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 20px;
	border-radius: 16px;
	background: #fff5f7;
	border: 1px dashed rgba(239, 23, 74, .24);
	color: #ef174a;
	text-align: center;
}

@media (max-width: 620px) {
	.single-meta-panel {
		align-items: stretch !important;
	}

	.single-meta-item {
		width: 100% !important;
		justify-content: flex-start !important;
	}

	.game-slider {
		grid-template-columns: 1fr !important;
	}

	.game-slider__arrow {
		display: none !important;
	}
}


/* ===== V1.1 Premium Sidebar + cache bump ===== */
.sidebar,
.sidebar--premium {
	position: static !important;
	top: auto !important;
	display: grid !important;
	gap: 20px !important;
	align-self: start;
}

.sidebar-premium-shell {
	display: grid;
	gap: 20px;
}

/* Apply premium styling to both fallback widgets and admin-added widgets */
.sidebar--premium .widget,
.sidebar-premium-shell .widget,
.widget--premium {
	position: relative;
	overflow: hidden;
	padding: 20px !important;
	border-radius: 24px !important;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,249,0.98)) !important;
	border: 1px solid rgba(239, 23, 74, 0.13) !important;
	box-shadow:
		0 18px 48px rgba(176, 0, 42, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

.sidebar--premium .widget::before,
.sidebar-premium-shell .widget::before,
.widget--premium::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 18px;
	bottom: 18px;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ef174a, #b0002a);
}

.sidebar--premium .widget::after,
.sidebar-premium-shell .widget::after,
.widget--premium::after {
	content: "";
	position: absolute;
	top: -50px;
	inset-inline-end: -50px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(239, 23, 74, .10), transparent 70%);
	pointer-events: none;
}

.sidebar--premium .widget-title,
.sidebar-premium-shell .widget-title {
	position: relative;
	z-index: 1;
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px !important;
	color: #111827 !important;
	font-size: 1.08rem !important;
	font-weight: 950 !important;
}

.sidebar--premium .widget-title::before,
.sidebar-premium-shell .widget-title::before {
	content: "";
	width: 34px;
	height: 34px;
	border-radius: 13px;
	background:
		radial-gradient(circle at center, #ef174a 0 5px, transparent 6px),
		#fff0f4;
	border: 1px solid rgba(239, 23, 74, .14);
	box-shadow: 0 12px 24px rgba(239, 23, 74, .09);
	flex: 0 0 auto;
}

.sidebar-brand-card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 14px;
	align-items: center;
}

.sidebar-brand-card__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, #ef174a, #b0002a);
	color: #fff;
	font-size: 1.8rem;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(239, 23, 74, .22);
}

.sidebar-brand-card strong {
	display: block;
	color: #111827;
	font-size: 1.15rem;
	font-weight: 950;
}

.sidebar-brand-card p {
	margin: 5px 0 0;
	color: #667085;
	font-size: .9rem;
	line-height: 1.65;
}

.premium-rank-list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 12px;
}

.premium-rank-item {
	display: grid;
	grid-template-columns: 38px 72px 1fr;
	gap: 11px;
	align-items: center;
	padding: 10px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.premium-rank-item:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 23, 74, .22);
	box-shadow: 0 14px 28px rgba(176, 0, 42, .08);
}

.premium-rank-item__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ef174a;
	color: #ffffff;
	font-size: .82rem;
	font-weight: 950;
}

.premium-rank-item__thumb,
.premium-rank-item__thumb img,
.premium-rank-item__thumb .agp-fallback-thumb {
	width: 72px;
	height: 54px;
	border-radius: 13px;
	overflow: hidden;
	object-fit: cover;
}

.premium-rank-item__text {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.premium-rank-item__text strong {
	color: #111827;
	font-size: .9rem;
	font-weight: 900;
	line-height: 1.45;
}

.premium-rank-item__text em {
	color: #ef174a;
	font-size: .76rem;
	font-style: normal;
	font-weight: 850;
}

.premium-category-list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.premium-category-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
	color: #111827;
	font-weight: 900;
}

.premium-category-list a:hover {
	color: #ef174a;
	border-color: rgba(239, 23, 74, .22);
}

.premium-category-list em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: #fff0f4;
	color: #ef174a;
	font-style: normal;
	font-size: .78rem;
	font-weight: 950;
}

.premium-term-cloud {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.premium-term-cloud a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	background: #ffffff;
	color: #ef174a;
	border: 1px solid rgba(239, 23, 74, .16);
	font-weight: 850;
	font-size: .86rem;
}

.premium-term-cloud a:hover {
	background: #ef174a;
	color: #ffffff;
}

/* Admin widgets inside sidebar: make lists look premium too */
.sidebar-premium-shell .widget ul {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 9px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.sidebar-premium-shell .widget li {
	margin: 0 !important;
	padding: 10px 12px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
}

.sidebar-premium-shell .widget a {
	color: #111827;
	font-weight: 850;
}

.sidebar-premium-shell .widget a:hover {
	color: #ef174a;
}

@media (max-width: 1180px) {
	.sidebar--premium {
		position: static !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sidebar-premium-shell {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.sidebar--premium,
	.sidebar-premium-shell {
		grid-template-columns: 1fr;
	}
}


/* ===== V1.2: nav underline only, clean archive data, premium Arabic logo ===== */

/* Menu/category hover: red underline only, no frame/pill */
.main-nav--inline .primary-menu a,
.primary-menu a {
	position: relative !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #111827 !important;
	padding-inline: 10px !important;
}

.main-nav--inline .primary-menu a::after,
.primary-menu a::after {
	content: "";
	position: absolute;
	right: 10px;
	left: 10px;
	bottom: 2px;
	height: 3px;
	border-radius: 999px;
	background: #ef174a;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.main-nav--inline .primary-menu a:hover,
.main-nav--inline .primary-menu .current-menu-item > a,
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: transparent !important;
	color: #ef174a !important;
	border: 0 !important;
	box-shadow: none !important;
}

.main-nav--inline .primary-menu a:hover::after,
.main-nav--inline .primary-menu .current-menu-item > a::after,
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
	transform: scaleX(1);
}

/* Premium Arabic logo */
.agp-logo--premium {
	gap: 13px !important;
}

.agp-logo-emblem {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 20px;
	background: linear-gradient(135deg, #ef174a, #b0002a);
	box-shadow: 0 16px 32px rgba(239, 23, 74, .22);
	overflow: hidden;
	animation: wkcPremiumLogo 3.2s ease-in-out infinite;
}

.agp-logo-emblem::before {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.45);
}

.agp-logo-emblem::after {
	content: "";
	position: absolute;
	width: 95px;
	height: 18px;
	background: rgba(255,255,255,.28);
	transform: rotate(-35deg) translateY(-48px);
	animation: wkcLogoShine 3.8s ease-in-out infinite;
}

.agp-logo-emblem span {
	position: relative;
	z-index: 1;
	color: #fff;
	font-size: .95rem;
	font-weight: 950;
	letter-spacing: .04em;
}

.agp-logo-word strong {
	font-size: 1.78rem !important;
	font-weight: 950 !important;
	letter-spacing: -0.04em;
	background: linear-gradient(90deg, #111827, #ef174a);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

.agp-logo-word small {
	color: #b0002a !important;
	font-weight: 950 !important;
	letter-spacing: .08em;
}

@keyframes wkcPremiumLogo {
	0%,100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-3px) scale(1.03); }
}

@keyframes wkcLogoShine {
	0%, 35% { transform: rotate(-35deg) translate(-80px, -48px); }
	55%, 100% { transform: rotate(-35deg) translate(85px, 48px); }
}

/* Archive/category pages: no dark background, clean line-based information */
.archive-header,
.game-archive-hero,
.game-archive-hero--clean {
	background: transparent !important;
	color: #111827 !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.archive-header {
	padding: 0 0 16px !important;
	margin: 0 0 24px !important;
	border-bottom: 3px solid #ef174a !important;
}

.archive-header h1 {
	margin: 0 !important;
	color: #111827 !important;
	font-size: clamp(1.45rem, 2.3vw, 2.25rem) !important;
	line-height: 1.35;
}

.archive-description {
	margin-top: 10px !important;
	color: #667085 !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.game-archive-hero--clean {
	padding: 28px 0 6px !important;
	border-bottom: 0 !important;
}

.archive-title-line {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 0 18px;
	border-bottom: 3px solid #ef174a;
}

.archive-title-line__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: #fff0f4;
	color: #ef174a;
	border: 1px solid rgba(239, 23, 74, .14);
	flex: 0 0 auto;
}

.archive-title-line__icon svg {
	width: 24px;
	height: 24px;
}

.archive-title-line h1 {
	margin: 0 !important;
	color: #111827 !important;
	font-size: clamp(1.55rem, 2.4vw, 2.35rem) !important;
	line-height: 1.25;
}

.archive-title-line p {
	margin: 6px 0 0 !important;
	max-width: 850px;
	color: #667085 !important;
	font-size: .98rem;
	line-height: 1.75;
}

.archive-filter-panel {
	background: #ffffff !important;
	color: #111827 !important;
	border: 1px solid rgba(17, 24, 39, .08) !important;
	box-shadow: 0 14px 34px rgba(17, 24, 39, .06) !important;
}

.archive-filter-panel h2,
.filter-group strong {
	color: #111827 !important;
}

.archive-filter-panel p {
	color: #667085 !important;
}

/* If any older dark rule wins, force white on archive area */
body.archive,
body.post-type-archive-game,
body.tax-platform,
body.tax-game_genre,
body.tax-download_type {
	background: linear-gradient(180deg, #fff7f9 0%, #ffffff 42%, #fff3f6 100%) !important;
}

@media (max-width: 720px) {
	.agp-logo-emblem {
		width: 54px;
		height: 54px;
		border-radius: 18px;
	}

	.agp-logo-word strong {
		font-size: 1.35rem !important;
	}

	.archive-title-line {
		align-items: flex-start;
	}
}


/* ===== V1.3 full RTL layout fixes, centered meta, full-width game slider, premium footer ===== */
html[dir="rtl"] body,
body.rtl,
body.agp-rtl {
	direction: rtl;
	text-align: right;
}

/* Home games slider is full width after reviews/sidebar layout */
.home-games-slider-section--full {
	margin-top: 18px;
	padding: 6px 0 38px;
}

.home-games-slider-section--full .container {
	width: min(var(--agp-container), calc(100% - 34px));
}

.home-games-slider-section--full .game-slider {
	width: 100%;
}

/* Center inner article meta */
.single-meta-panel {
	justify-content: center !important;
	text-align: center;
}

.single-meta-item {
	justify-content: center !important;
}

.single-meta-item div {
	justify-content: center;
}

/* RTL arrows for game slider */
.game-slider--rtl {
	direction: rtl;
}

.game-slider--rtl .game-slider__track {
	direction: rtl;
}

.game-slider__arrow--prev svg,
.game-slider__arrow--next svg {
	transform: none !important;
}

/* In RTL, prev arrow points right and next points left */
.game-slider__arrow--prev svg {
	transform: rotate(180deg) !important;
}

.game-slider__arrow--next svg {
	transform: rotate(0deg) !important;
}

/* Sidebar hover arrow/slide direction reversed for RTL */
.sidebar-category-list a:hover,
.premium-category-list a:hover {
	transform: translateX(3px) !important;
}

.premium-rank-item:hover,
.compact-item--pro:hover {
	transform: translateY(-2px) translateX(2px) !important;
}

/* Urgent ticker: right to left movement */
.ticker-track--animated {
	animation-name: tickerMarqueeRTL !important;
}

@keyframes tickerMarqueeRTL {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Premium Footer */
.site-footer--premium {
	margin-top: 44px;
	background:
		radial-gradient(circle at 15% 20%, rgba(239, 23, 74, .18), transparent 28%),
		linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
	color: rgba(255,255,255,.78) !important;
	border-top: 4px solid #ef174a;
}

.footer-premium {
	display: grid;
	grid-template-columns: 1.25fr .8fr .8fr 1fr;
	gap: 24px;
	padding: 44px 0;
}

.footer-brand-panel,
.footer-links-panel,
.footer-newsletter-panel {
	position: relative;
	padding: 22px;
	border-radius: 24px;
	background: rgba(255,255,255,.055);
	border: 1px solid rgba(255,255,255,.10);
	box-shadow: 0 18px 42px rgba(0,0,0,.18);
	overflow: hidden;
}

.footer-brand-panel::before,
.footer-links-panel::before,
.footer-newsletter-panel::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 20px;
	bottom: 20px;
	width: 4px;
	border-radius: 999px;
	background: #ef174a;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff !important;
}

.footer-logo span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: linear-gradient(135deg, #ef174a, #b0002a);
	color: #fff;
	font-size: .85rem;
	font-weight: 950;
	box-shadow: 0 14px 28px rgba(239, 23, 74, .24);
}

.footer-logo strong {
	font-size: 1.35rem;
	font-weight: 950;
}

.footer-brand-panel p,
.footer-newsletter-panel p {
	margin: 14px 0 0;
	color: rgba(255,255,255,.68);
	line-height: 1.8;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.footer-social a,
.footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(239, 23, 74, .16);
	color: #fff !important;
	border: 1px solid rgba(239, 23, 74, .24);
	font-weight: 850;
	font-size: .86rem;
}

.footer-links-panel h2,
.footer-newsletter-panel h2 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 1.08rem;
	font-weight: 950;
}

.footer-menu--premium {
	display: grid;
	gap: 10px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
}

.footer-menu--premium a {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: rgba(255,255,255,.78) !important;
	font-weight: 850;
	padding-inline-start: 15px;
}

.footer-menu--premium a::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ef174a;
}

.footer-menu--premium a:hover {
	color: #fff !important;
}

.footer-cta {
	margin-top: 16px;
	background: #ef174a;
	border-color: #ef174a;
}

.footer-bottom--premium {
	border-top: 1px solid rgba(255,255,255,.10);
	background: rgba(0,0,0,.16);
}

.footer-bottom--premium .footer-bottom__inner {
	color: rgba(255,255,255,.72);
}

.footer-bottom--premium .back-to-top {
	color: #fff !important;
}

/* Force common directional details to RTL */
.section-link svg,
.breadcrumbs svg {
	transform: rotate(180deg);
}

@media (max-width: 1180px) {
	.footer-premium {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.footer-premium {
		grid-template-columns: 1fr;
		padding: 28px 0;
	}

	.single-meta-panel {
		justify-content: stretch !important;
	}
}


/* ===== V1.4 categories horizontal, nav icons, accurate views, pro sidebar sections ===== */

/* Main nav icons */
.primary-menu--icons a,
.main-nav--inline .primary-menu--icons a {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
}

.menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: #fff0f4;
	color: #ef174a;
}

.menu-icon svg {
	width: 15px;
	height: 15px;
}

/* Archive category header/data: horizontal, no ugly "التصنيف" label */
.archive-header--horizontal {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 3px solid #ef174a !important;
	padding-bottom: 16px !important;
	box-shadow: none !important;
}

.archive-header__line {
	display: flex;
	align-items: center;
	gap: 14px;
}

.archive-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: #fff0f4;
	color: #ef174a;
	border: 1px solid rgba(239, 23, 74, .14);
	flex: 0 0 auto;
}

.archive-header__icon svg {
	width: 23px;
	height: 23px;
}

.archive-header__line h1 {
	margin: 0 !important;
	color: #111827 !important;
	font-size: clamp(1.45rem, 2.2vw, 2.25rem) !important;
}

.archive-horizontal-list {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 18px !important;
}

.archive-horizontal-list .post-card {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 18px !important;
	padding: 14px !important;
	border-radius: 18px !important;
	align-items: stretch;
}

.archive-horizontal-list .post-card__image {
	aspect-ratio: auto !important;
	min-height: 175px !important;
	border-radius: 14px !important;
}

.archive-horizontal-list .post-card__body {
	padding: 4px 6px !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Sidebar content upgrades */
.widget--trending .widget-title::before {
	background:
		radial-gradient(circle at center, #ef174a 0 5px, transparent 6px),
		#fff0f4 !important;
}

.sidebar-best-game {
	display: block;
	overflow: hidden;
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
	box-shadow: 0 14px 30px rgba(176, 0, 42, .08);
}

.sidebar-best-game__image {
	aspect-ratio: 16 / 10;
	background: #fff0f4;
	overflow: hidden;
}

.sidebar-best-game__image img,
.sidebar-best-game__image .agp-fallback-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-best-game__body {
	display: grid;
	gap: 8px;
	padding: 14px;
}

.sidebar-best-game__body strong {
	color: #111827;
	font-weight: 950;
	line-height: 1.55;
}

.sidebar-best-game__body span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ef174a;
	font-size: .86rem;
	font-weight: 900;
}

.game-version-list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
}

.game-version-item {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	padding: 12px;
	border-radius: 15px;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, .07);
}

.game-version-item__dot {
	width: 12px;
	height: 12px;
	margin-top: 6px;
	border-radius: 50%;
	background: #ef174a;
	box-shadow: 0 0 0 6px rgba(239, 23, 74, .10);
}

.game-version-item strong {
	display: block;
	color: #111827;
	font-size: .92rem;
	font-weight: 950;
	line-height: 1.45;
}

.game-version-item em {
	display: block;
	margin-top: 3px;
	color: #667085;
	font-size: .78rem;
	font-style: normal;
	font-weight: 800;
}

.sidebar-mod-slider {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 8px;
}

.sidebar-mod-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(190px, 220px);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	direction: rtl;
}

.sidebar-mod-slider__track::-webkit-scrollbar {
	display: none;
}

.sidebar-mod-slide {
	position: relative;
	display: flex;
	min-height: 170px;
	align-items: flex-end;
	padding: 12px;
	border-radius: 18px;
	overflow: hidden;
	background: #111827;
	scroll-snap-align: start;
}

.sidebar-mod-slide img,
.sidebar-mod-slide .agp-fallback-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.sidebar-mod-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(17, 24, 39, .84));
	z-index: 1;
}

.sidebar-mod-slide strong {
	position: relative;
	z-index: 2;
	color: #ffffff;
	font-size: .92rem;
	line-height: 1.5;
}

.sidebar-mod-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #ef174a;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(239, 23, 74, .20);
}

.sidebar-mod-slider__arrow--prev svg {
	transform: rotate(180deg);
}

.sidebar-mod-slider__arrow--next svg {
	transform: none;
}

/* Archive horizontal responsive */
@media (max-width: 820px) {
	.archive-horizontal-list .post-card {
		grid-template-columns: 1fr !important;
	}

	.archive-horizontal-list .post-card__image {
		min-height: 190px !important;
	}

	.archive-header__line {
		align-items: flex-start;
	}

	.sidebar-mod-slider {
		grid-template-columns: 1fr;
	}

	.sidebar-mod-slider__arrow {
		display: none;
	}
}


/* ===== V1.5 fixes: nav icon alignment, top game slider, archive title, mods slider, trending data ===== */

/* Menu icons aligned beside text, not above */
.primary-menu--icons a,
.main-nav--inline .primary-menu--icons a,
.main-nav--inline .primary-menu a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	line-height: 1 !important;
	vertical-align: middle !important;
}

.menu-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 23px !important;
	height: 23px !important;
	min-width: 23px !important;
	line-height: 0 !important;
	margin: 0 !important;
	vertical-align: middle !important;
	position: relative !important;
	top: 0 !important;
}

.menu-icon svg {
	display: block !important;
	width: 14px !important;
	height: 14px !important;
}

/* Top game slider replaces lower section */
.hero-section--top-games {
	padding: 24px 0 10px !important;
	background: transparent !important;
}

.game-slider--hero {
	padding: 16px !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #ffffff, #fff8fa) !important;
	border: 1px solid rgba(239, 23, 74, .13) !important;
	box-shadow: 0 20px 52px rgba(176, 0, 42, .08) !important;
}

.game-slider--hero .game-slider__track {
	grid-auto-columns: minmax(230px, 270px) !important;
}

.game-slider--hero .game-slider__item .game-card,
.game-slider--hero .game-slider__item .post-card {
	min-height: 100%;
}

/* Hide any accidental lower download section if old cache/template remains */
.home-games-slider-section--full {
	display: none !important;
}

/* Archive title visible as clean text, never raw span code */
.archive-header__line h1 span,
.archive-header h1 span {
	display: inline !important;
	color: inherit !important;
}

/* Trending this week: smaller image with topic data */
.premium-rank-item {
	grid-template-columns: 34px 58px 1fr !important;
	gap: 10px !important;
	padding: 9px !important;
}

.premium-rank-item__thumb,
.premium-rank-item__thumb img,
.premium-rank-item__thumb .agp-fallback-thumb {
	width: 58px !important;
	height: 46px !important;
	border-radius: 11px !important;
}

.premium-rank-item__text strong {
	font-size: .86rem !important;
	line-height: 1.45 !important;
}

.premium-rank-item__text em {
	display: inline-flex !important;
	align-items: center !important;
	flex-wrap: wrap;
	gap: 4px !important;
	color: #667085 !important;
	font-size: .72rem !important;
	font-weight: 800 !important;
}

.premium-rank-item__text em svg {
	width: 12px !important;
	height: 12px !important;
	color: #ef174a !important;
}

/* Sidebar Mods slider fixed and clearly slider */
.sidebar-mod-slider {
	grid-template-columns: 36px minmax(0, 1fr) 36px !important;
	gap: 8px !important;
}

.sidebar-mod-slider__track {
	display: grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: minmax(185px, 220px) !important;
	gap: 12px !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
	scrollbar-width: none !important;
	direction: rtl !important;
	min-width: 0 !important;
}

.sidebar-mod-slider__track::-webkit-scrollbar {
	display: none !important;
}

.sidebar-mod-slide {
	scroll-snap-align: start !important;
	min-width: 0 !important;
}

.sidebar-mod-slider__arrow {
	z-index: 2;
}

.sidebar-mod-slider__arrow--prev svg {
	transform: rotate(180deg) !important;
}

.sidebar-mod-slider__arrow--next svg {
	transform: none !important;
}

/* Latest ticker: make movement and auto-latest display stronger */
.news-ticker--animated .ticker-track--animated,
.ticker-track--animated {
	animation-name: tickerMarqueeRTL !important;
	animation-duration: 30s !important;
}

@media (max-width: 820px) {
	.game-slider--hero .game-slider__track {
		grid-auto-columns: minmax(220px, 82vw) !important;
	}
}


/* ===== V1.6: old-style top downloads slider, full mods slider, clean logo/archive ===== */

/* Professional text logo */
.agp-logo--wkc {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	color: #111827 !important;
	filter: none !important;
}

.wkc-logo-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, #ef174a, #b0002a);
	box-shadow: 0 14px 30px rgba(239, 23, 74, .22);
	overflow: hidden;
}

.wkc-logo-icon::after {
	content: "";
	position: absolute;
	width: 85px;
	height: 18px;
	background: rgba(255,255,255,.28);
	transform: rotate(-35deg);
	animation: wkcLogoSweep 3.8s ease-in-out infinite;
}

.wkc-logo-icon span {
	position: relative;
	z-index: 1;
	color: #fff;
	font-size: 1.75rem;
	font-weight: 950;
	font-family: Arial, sans-serif;
}

.wkc-logo-text {
	display: grid !important;
	line-height: 1.12;
}

.wkc-logo-text strong {
	color: #111827 !important;
	font-size: 1.65rem;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.wkc-logo-text small {
	color: #ef174a !important;
	font-size: .86rem;
	font-weight: 950;
	letter-spacing: .01em;
}

@keyframes wkcLogoSweep {
	0%, 35% { transform: rotate(-35deg) translateX(-80px); }
	60%, 100% { transform: rotate(-35deg) translateX(80px); }
}

/* Top slider: old hero look, no "تحميل الألعاب" heading */
.hero-section--downloads-old {
	padding: 26px 0 12px !important;
	background: transparent !important;
}

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

.download-hero-slider__viewport {
	overflow: hidden;
	border-radius: 24px;
}

.download-hero-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 330px);
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	direction: rtl;
	padding: 4px;
}

.download-hero-slider__track::-webkit-scrollbar {
	display: none;
}

.download-hero-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 285px;
	padding: 18px;
	border-radius: 20px;
	overflow: hidden;
	background: #111827;
	box-shadow: 0 18px 46px rgba(17, 24, 39, .15);
	scroll-snap-align: start;
	isolation: isolate;
}

.download-hero-card:first-child {
	grid-row: auto;
}

.download-hero-card img,
.download-hero-card .agp-fallback-thumb {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.download-hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(17,24,39,0.04), rgba(17,24,39,.88));
}

.download-hero-card span {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	padding: 0 10px;
	border-radius: 999px;
	background: #ef174a;
	color: #fff;
	font-size: .78rem;
	font-weight: 950;
}

.download-hero-card strong {
	color: #fff;
	font-size: 1.08rem;
	line-height: 1.55;
	font-weight: 950;
}

.download-hero-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: #ef174a;
	color: #fff;
	box-shadow: 0 12px 26px rgba(239, 23, 74, .22);
	cursor: pointer;
	z-index: 2;
}

.download-hero-slider__arrow--prev svg {
	transform: rotate(180deg);
}

.download-hero-slider__arrow--next svg {
	transform: none;
}

/* Hide newer heading/card slider completely if cached */
.hero-section--top-games .section-heading,
.game-slider--hero,
.home-games-slider-section,
.home-games-slider-section--full {
	display: none !important;
}

/* Mods slider: one full topic per arrow click */
.sidebar-mod-slider {
	grid-template-columns: 36px minmax(0, 1fr) 36px !important;
}

.sidebar-mod-slider__track {
	grid-auto-columns: 100% !important;
	gap: 12px !important;
	overflow-x: auto !important;
	scroll-snap-type: x mandatory !important;
}

.sidebar-mod-slide--full {
	display: grid !important;
	grid-template-rows: 170px auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid rgba(17, 24, 39, .08);
	box-shadow: 0 12px 28px rgba(176, 0, 42, .06);
}

.sidebar-mod-slide--full::after {
	display: none !important;
}

.sidebar-mod-slide__image {
	position: relative;
	overflow: hidden;
	background: #fff0f4;
}

.sidebar-mod-slide__image img,
.sidebar-mod-slide__image .agp-fallback-thumb {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: auto !important;
}

.sidebar-mod-slide__body {
	display: grid;
	gap: 6px;
	padding: 12px;
}

.sidebar-mod-slide__body span {
	justify-self: start;
	padding: 2px 9px;
	border-radius: 999px;
	background: #fff0f4;
	color: #ef174a;
	font-size: .74rem;
	font-weight: 950;
}

.sidebar-mod-slide__body strong {
	color: #111827 !important;
	font-size: .96rem;
	line-height: 1.5;
}

.sidebar-mod-slide__body em {
	color: #667085;
	font-size: .82rem;
	font-style: normal;
	line-height: 1.6;
}

/* Archive title: remove big ugly circle and raw label */
.archive-header__icon {
	width: 34px !important;
	height: 34px !important;
	border-radius: 10px !important;
}

.archive-header__icon svg {
	width: 17px !important;
	height: 17px !important;
}

.archive-header__line h1 {
	font-size: clamp(1.35rem, 2vw, 2rem) !important;
}

.archive-horizontal-list .card-category {
	border-radius: 999px !important;
	padding: 0 9px !important;
	min-height: 25px !important;
	font-size: .75rem !important;
}

/* Trending: larger, more professional image */
.premium-rank-item {
	grid-template-columns: 34px 82px 1fr !important;
	padding: 10px !important;
}

.premium-rank-item__thumb,
.premium-rank-item__thumb img,
.premium-rank-item__thumb .agp-fallback-thumb {
	width: 82px !important;
	height: 62px !important;
	border-radius: 13px !important;
}

@media (max-width: 820px) {
	.download-hero-slider {
		grid-template-columns: 1fr;
	}
	.download-hero-slider__arrow {
		display: none;
	}
	.download-hero-slider__track {
		grid-auto-columns: minmax(250px, 84vw);
	}
}
