/* ==========================================================================
   AllYonoSpin Simple — light directory theme
   ========================================================================== */

:root {
	--bg: #f9f8f5;
	--card: #ffffff;
	--line: #eae6dc;
	--line-soft: #f1eee6;
	--ink: #10231c;
	--body: #4c5a54;
	--muted: #8b958f;
	--green: #0f7a58;
	--green-dark: #0b5f45;
	--green-soft: #eef7f2;
	--emerald: #12855f;
	--teal: #0f7a58;
	--star: #f5a623;
	--radius: 12px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 2px 8px rgba(16, 24, 40, 0.05);
	--shadow-hover: 0 4px 14px rgba(16, 24, 40, 0.08);
	--container: 1240px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Sora", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Base wash. The visible mesh lives on html::before below; body stays
   transparent so that fixed layer is not painted over by a body background. */
html {
	background-color: #f9f8f5;
}

body.allyono {
	margin: 0;
	background: transparent;
	color: var(--body);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--green-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--ink);
	margin: 0 0 .5em;
	line-height: 1.16;
	font-weight: 700;
	letter-spacing: -.03em;
	text-wrap: balance;
}

/* Display sizes carry tighter tracking; small headings need it looser or the
   letterforms collide in Sora's wide skeleton. */
h1 { font-size: 32px; letter-spacing: -.04em; }
h2 { font-size: 23px; letter-spacing: -.032em; }
h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.018em; }

/* Headings inside long copy read better slightly lighter and roomier. */
.home-seo h2,
.entry-content h2,
.entry-content h3 { letter-spacing: -.018em; }

p, li { text-wrap: pretty; }

p { margin: 0 0 1em; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ico { flex: 0 0 auto; display: inline-block; vertical-align: -3px; }
.green { color: var(--green-dark); }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 26px 4px; margin: 0; text-align: center; }

/* Layout ------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.container--narrow { max-width: 900px; }

.page-wrap { padding: 22px 0 8px; }

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

.card {
	background: var(--card);
	border: 1px solid rgba(226, 238, 232, .95);
	border-radius: var(--radius);
	box-shadow:
		0 1px 2px rgba(16, 40, 30, .04),
		0 8px 22px -10px rgba(16, 40, 30, .14),
		0 2px 6px rgba(16, 40, 30, .04);
	padding: 22px;
	margin-bottom: 18px;
}

.card__title {
	font-size: 17px;
	margin: 0 0 14px;
}

.page-title {
	font-size: 27px;
	margin: 4px 0 18px;
	letter-spacing: -.035em;
	position: relative;
	padding-bottom: 9px;
}

.page-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: #0f7a58;
}

.section-label {
	font-size: 18px;
	margin: 26px 0 14px;
}

/* Header ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(253, 255, 254, .82);
	-webkit-backdrop-filter: blur(12px) saturate(1.35);
	backdrop-filter: blur(12px) saturate(1.35);
	border-bottom: 1px solid rgba(224, 236, 229, .9);
}

/* Browsers without backdrop-filter need an opaque bar or text collides. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header { background: #fdfefd; }
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 74px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex: 0 0 auto;
}

.brand:hover { color: inherit; }

.brand__logo {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}

.brand__logo--fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, #14603a, #0c3d25);
	color: #ffd75e;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .04em;
}

.brand__name {
	font-family: var(--font-head);
	font-size: 21px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -.02em;
	line-height: 1;
}

.main-nav { margin-left: auto; }

.nav-list,
.main-nav ul {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	color: var(--ink);
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: -.01em;
}

.main-nav a {
	position: relative;
	padding-bottom: 3px;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	border-radius: 2px;
	background: #0f7a58;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s var(--ease-out);
}

.main-nav a:hover { color: #0f7a42; }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after { transform: scaleX(1); }

.main-nav .current-menu-item > a {
	color: #0f6b3f;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.tg-btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(160deg, #35b6ea, #1d8ed1);
	color: #fff;
	box-shadow: 0 2px 6px rgba(29, 142, 209, .35);
}

.tg-btn:hover { color: #fff; transform: translateY(-1px); }

.menu-btn {
	display: none;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 9px;
	color: var(--ink);
	cursor: pointer;
	place-items: center;
}

.menu-btn__close { display: none; }
.menu-btn.is-open .menu-btn__open { display: none; }
.menu-btn.is-open .menu-btn__close { display: inline; }

.mobile-menu {
	display: none;
	border-top: 1px solid var(--line);
	background: #fff;
	padding: 10px 20px 16px;
}

.mobile-menu.is-open { display: block; }

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

.mobile-menu li + li { border-top: 1px solid var(--line-soft); }

.mobile-menu a {
	display: block;
	padding: 12px 4px;
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
}

.mobile-menu__tg {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--teal) !important;
}

/* Quick nav — compact strip of shortcuts under the header ------------------ */
.quicknav {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	background: rgba(255, 255, 255, .66);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	border-bottom: 1px solid rgba(224, 236, 229, .9);
	padding: 0;
}

.quicknav__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	flex: 1 1 0;
	min-width: 0;
	padding: 8px 2px;
	border-right: 1px solid var(--line);
	border-radius: 0;
	font-size: 10px;
	font-weight: 600;
	color: #475569;
	white-space: nowrap;
}

.quicknav__item:last-child { border-right: 0; }

.quicknav__item .ico {
	width: 11px;
	height: 11px;
	flex-shrink: 0;
	color: currentColor;
}

.quicknav__item:hover { background: #eaf1fd; color: #2563eb; }
.quicknav__item.is-active { color: #1e293b; font-weight: 700; }
.quicknav__item--tg { color: #2563eb; }

@media (max-width: 400px) {
	.quicknav__item { font-size: 9px; padding: 8px 1px; gap: 2px; }
	.quicknav__item .ico { width: 10px; height: 10px; }
}

@media (max-width: 340px) {
	.quicknav__item { font-size: 8.5px; }
	.quicknav__item .ico { display: none; }
}

/* Welcome ----------------------------------------------------------------- */
.welcome { padding: 24px 26px; }

.welcome__title {
	font-size: 23px;
	color: var(--green-dark);
	margin: 0 0 12px;
	font-weight: 700;
	letter-spacing: -.034em;
	line-height: 1.2;
}

.welcome__text {
	color: var(--body);
	font-size: 15.2px;
	line-height: 1.9;
}

.welcome__text p { margin: 0; }

.welcome__text.is-collapsed {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.welcome__more {
	background: none;
	border: 0;
	padding: 6px 0;
	color: var(--green-dark);
	font-family: var(--font);
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
}

.welcome__more:only-of-type { display: inline-block; }

/* Featured ---------------------------------------------------------------- */
.featured { padding: 26px 20px; }

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

.featured-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 6px 8px;
}

.featured-item__logo-link { display: block; margin-bottom: 12px; }

.featured-item__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.featured-item__logo {
	width: 96px;
	height: 96px;
	border-radius: 20px;
	object-fit: cover;
	box-shadow: 0 4px 12px rgba(16, 24, 40, .12);
}

.featured-item__logo.game-logo--mono {
	display: grid;
	place-items: center;
	background: linear-gradient(165deg, #1c7a4a, #0d4a2c);
	color: #ffd75e;
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 700;
}

.featured-item__name {
	font-size: 16.5px;
	margin: 0 0 6px;
}

.featured-item__name a { color: var(--ink); }
.featured-item__name a:hover { color: var(--green-dark); }

.stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
	margin-bottom: 7px;
}

.star { color: #d9dee5; }
.star.is-on { color: var(--star); }

.verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--green-dark);
	font-size: 12.5px;
	font-weight: 600;
	margin: 0 0 14px;
}

.verified .ico { color: var(--emerald); }

/* Buttons ----------------------------------------------------------------- */
.btn-download {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 11px 20px;
	border-radius: 10px;
	background: linear-gradient(160deg, #12855f 0%, #0f7a58 52%, #0b5f45 100%);
	color: #fff;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(11, 95, 69, .18), 0 4px 12px -4px rgba(11, 95, 69, .28), inset 0 1px 0 rgba(255, 255, 255, .16);
	transition: transform .28s var(--ease-spring), box-shadow .28s ease, filter .2s ease;
	will-change: transform;
}

/* Sheen that sweeps across on hover. */
.btn-download::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .32) 48%, transparent 62%);
	transform: translateX(-120%);
	transition: transform .62s var(--ease-out);
}

.btn-download:hover::after,
.btn-download:focus-visible::after { transform: translateX(120%); }

.btn-download:active {
	transform: translateY(0) scale(.97);
	box-shadow: 0 1px 3px rgba(11, 95, 69, .3);
	transition-duration: .08s;
}

.btn-download:focus-visible {
	outline: 2px solid #0b5f45;
	outline-offset: 2px;
}

/* Label first, cloud icon on the right (reference layout). */
.btn-download .ico {
	flex: 0 0 auto;
	color: #fff;
	width: 18px;
	height: 18px;
}

.btn-download--sm .ico { width: 15px; height: 15px; }

.btn-download:hover {
	color: #fff;
	filter: saturate(1.08) brightness(1.03);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px -4px rgba(11, 95, 69, .34), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* The cloud glyph lifts slightly with the button. */
.btn-download .ico { transition: transform .3s var(--ease-spring); }
.btn-download:hover .ico { transform: translateY(-2px) scale(1.06); }

.btn-download--sm {
	width: auto;
	min-height: 36px;
	padding: 8px 15px;
	font-size: 13.5px;
	border-radius: 8px;
	flex: 0 0 auto;
}

.btn-download--block { width: 100%; margin-top: 6px; }

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 22px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-weight: 600;
	font-size: 14.5px;
}

.btn-outline:hover { border-color: #cfd6dd; color: var(--ink); }

/* Games card -------------------------------------------------------------- */
.games-card { padding: 18px; }

.games-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.segmented {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: #f2f4f7;
	border-radius: 11px;
}

.seg {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #5b6573;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.seg .ico { color: #7d8794; }

.seg:hover { color: var(--ink); }

.seg.is-active {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
}

.seg.is-active .ico { color: var(--green-dark); }

.search {
	position: relative;
	display: block;
	flex: 0 1 330px;
	min-width: 230px;
}

.search .ico {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	pointer-events: none;
}

.search input {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 42px;
	border: 1px solid #eef1f4;
	border-radius: 10px;
	background: #f7f8fa;
	color: var(--ink);
	font-family: var(--font);
	font-size: 14px;
}

.search input::placeholder { color: #9aa4b1; }

.search input:focus {
	outline: none;
	background: #fff;
	border-color: #cbd5dd;
	box-shadow: 0 0 0 3px rgba(43, 157, 78, .09);
}

.games-list { margin-top: 6px; }

.game-row {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 14px 6px;
	border-bottom: 1px solid var(--line-soft);
}

.game-row:last-child { border-bottom: 0; }

.game-row__logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
	flex: 0 0 auto;
	box-shadow: 0 2px 6px rgba(16, 24, 40, .1);
}

.game-row__logo.game-logo--mono {
	display: grid;
	place-items: center;
	background: linear-gradient(165deg, #1c7a4a, #0d4a2c);
	color: #ffd75e;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
}

.game-row__body {
	flex: 1;
	min-width: 0;
}

.game-row__name {
	font-size: 15.5px;
	margin: 0 0 2px;
	font-weight: 600;
}

.game-row__name a { color: var(--ink); }
.game-row__name a:hover { color: var(--green-dark); }

.game-row__players {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #7b8695;
	font-size: 12.8px;
}

.game-row__bonus {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 1px 0 0;
	color: var(--emerald);
	font-size: 13px;
	font-weight: 600;
}

/* Pagination -------------------------------------------------------------- */
.pagination {
	display: flex;
	justify-content: center;
	margin: 22px 0 6px;
}

.pagination .nav-links,
.pagination {
	gap: 7px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: #fff;
	color: var(--ink);
	font-size: 13.5px;
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 12px;
}

.breadcrumbs a { color: #6b7684; }
.breadcrumbs a:hover { color: var(--green-dark); }

/* Single game ------------------------------------------------------------- */
.game-head { padding: 22px 24px; }

.game-head__main {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.game-head__logo {
	width: 92px;
	height: 92px;
	border-radius: 18px;
	object-fit: cover;
	flex: 0 0 auto;
	box-shadow: 0 4px 12px rgba(16, 24, 40, .12);
}

.game-head__logo.game-logo--mono {
	display: grid;
	place-items: center;
	background: linear-gradient(165deg, #1c7a4a, #0d4a2c);
	color: #ffd75e;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 24px;
}

.game-head__info { flex: 1; min-width: 220px; }

.game-head__title { font-size: 24px; margin: 0 0 6px; }

.game-head__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 4px;
}

.game-head__rating .stars { margin: 0; }
.game-head__rating strong { color: var(--ink); }

.game-head__cta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 210px;
}

.game-head__bonus {
	margin: 0;
	font-size: 12.5px;
	color: var(--muted);
	text-align: right;
}

.game-head__bonus strong { display: block; color: var(--green-dark); font-size: 15px; }

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

.game-main .card:last-child { margin-bottom: 18px; }

.game-side .card { position: sticky; top: 92px; }

.spec-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.spec-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 13.5px;
}

.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); }
.spec-list strong { color: var(--ink); font-weight: 600; text-align: right; }

.feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.feature-list li {
	position: relative;
	padding-left: 26px;
	font-size: 14.2px;
	color: var(--body);
}

.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b9d4e' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Content typography ------------------------------------------------------ */
.entry-content { color: var(--body); font-size: 14.8px; line-height: 1.85; }

.entry-content h2 { font-size: 19px; margin: 1.5em 0 .6em; }
.entry-content h3 { font-size: 16.5px; margin: 1.4em 0 .5em; }
.entry-content p, .entry-content li { color: var(--body); }
.entry-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--green); }
.entry-content blockquote {
	margin: 1.4em 0;
	padding: 14px 18px;
	border-left: 3px solid var(--green);
	background: #f7faf8;
	border-radius: 0 10px 10px 0;
	color: var(--body);
}
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: #f7f9fa; color: var(--ink); }
.entry-content code { background: #f3f5f7; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: .9em; }

.entry-header { margin-bottom: 14px; }
.entry-meta { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.entry-thumb { margin-bottom: 18px; border-radius: 10px; overflow: hidden; }

/* Blog cards -------------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 8px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.post-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: linear-gradient(150deg, #eaf7ef, #dff3ea);
	overflow: hidden;
}

.post-card__media img { width: 100%; height: 100%; object-fit: cover; }

.post-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 700;
	color: #2b9d4e;
}

.post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.post-card__meta { font-size: 12px; color: var(--muted); margin: 0 0 6px; }

.post-card__title { font-size: 15.5px; margin: 0 0 8px; line-height: 1.45; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--green-dark); }

.post-card__excerpt { font-size: 13.3px; color: #6b7280; margin: 0 0 12px; }

.post-card__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--green-dark);
}

.section-head { margin: 4px 0 16px; }

/* Comments ---------------------------------------------------------------- */
.comment-respond h3, .comments-title { font-size: 17px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 18px; }
.comment-list .comment-body {
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	margin-bottom: 12px;
	font-size: 13.5px;
	background: #fbfcfd;
}
.comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	font-family: var(--font);
	font-size: 14px;
	margin-bottom: 12px;
}
.comment-form input[type="submit"] {
	padding: 10px 22px;
	border: 0;
	border-radius: 9px;
	background: var(--green);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* Search form ------------------------------------------------------------- */
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] {
	flex: 1;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 9px;
	font-family: var(--font);
	font-size: 14px;
}
.search-form input[type="submit"] {
	padding: 0 20px;
	border: 0;
	border-radius: 9px;
	background: var(--green);
	color: #fff;
	font-weight: 700;
	font-family: var(--font);
	cursor: pointer;
}

/* Post navigation --------------------------------------------------------- */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.post-navigation a {
	display: block;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	font-size: 13px;
	box-shadow: var(--shadow);
}
.post-navigation .meta-nav { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }

/* 404 --------------------------------------------------------------------- */
.not-found { text-align: center; padding: 48px 24px; }
.not-found__code {
	font-family: var(--font-head);
	font-size: 64px;
	font-weight: 700;
	color: #d7e6dc;
	margin: 0 0 6px;
	line-height: 1;
}
.not-found__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.not-found__actions .btn-download { width: auto; }

/* Homepage SEO content ---------------------------------------------------- */
.home-seo {
	margin-top: 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 22px 26px;
	font-size: 14.4px;
	color: #4b5563;
}

.home-seo p {
	margin: 0 0 12px;
	line-height: 1.75;
}

.seo-h {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.028em;
	color: #16233a;
	margin: 30px 0 10px;
	line-height: 1.3;
	scroll-margin-top: 84px;
}

.seo-h:first-of-type { margin-top: 22px; }

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.trust-item {
	background: #f7faf8;
	border: 1px solid #e3efe8;
	border-radius: 11px;
	padding: 12px 13px;
}

.trust-item__icon {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--green-soft);
	color: var(--green-dark);
	margin-bottom: 8px;
}

.trust-item__title {
	font-size: 12.8px;
	font-weight: 700;
	letter-spacing: -.012em;
	color: #16233a;
	margin: 0 0 4px;
}

.trust-item p {
	margin: 0;
	font-size: 12.2px;
	line-height: 1.55;
	color: #64748b;
}

.seo-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 6px 0 14px;
	border: 1px solid #e8edf2;
	border-radius: 10px;
}

.seo-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.2px;
	min-width: 470px;
}

.seo-table th,
.seo-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #eef2f6;
	white-space: nowrap;
}

.seo-table thead th {
	background: #f7f9fb;
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: .085em;
	color: #8b95a2;
	font-weight: 700;
}

.seo-table tbody th { font-weight: 600; }
.seo-table tbody th a { color: #16233a; }
.seo-table tbody th a:hover { color: var(--green-dark); }
.seo-table tbody tr:last-child th,
.seo-table tbody tr:last-child td { border-bottom: 0; }

.seo-note {
	font-size: 13.2px;
	color: #5b6573;
	background: #f8fafc;
	border-left: 3px solid var(--green-dark);
	border-radius: 0 8px 8px 0;
	padding: 10px 14px;
	margin: 0 0 4px;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 6px 0 4px;
}

.cat-card {
	display: block;
	border: 1px solid #e8edf2;
	border-radius: 11px;
	padding: 13px 14px;
	background: #fff;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.cat-card:hover {
	border-color: #cfe6da;
	box-shadow: var(--shadow-hover);
}

.cat-card__name {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	color: #16233a;
	margin-bottom: 4px;
}

.cat-card__desc {
	display: block;
	font-size: 12.2px;
	line-height: 1.5;
	color: #64748b;
	margin-bottom: 8px;
}

.cat-card__count {
	display: inline-block;
	font-size: 11.4px;
	font-weight: 700;
	color: var(--green-dark);
	background: var(--green-soft);
	border-radius: 999px;
	padding: 2px 9px;
}

.seo-steps {
	counter-reset: seostep;
	list-style: none;
	margin: 4px 0 14px;
	padding: 0;
	display: grid;
	gap: 9px;
}

.seo-steps li {
	counter-increment: seostep;
	position: relative;
	padding-left: 34px;
	line-height: 1.7;
}

.seo-steps li::before {
	content: counter(seostep);
	position: absolute;
	left: 0;
	top: 1px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: var(--green-dark);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: grid;
	place-items: center;
}

.seo-list {
	margin: 4px 0 14px;
	padding-left: 20px;
	display: grid;
	gap: 7px;
}

.seo-list li { line-height: 1.7; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	border-top: 1px solid rgba(224, 236, 229, .9);
	margin-top: 34px;
	padding: 34px 0 22px;
	font-size: 14px;
	color: #475569;
}

/* Compact credit footer used on every page except the homepage. */
.site-footer--compact {
	padding: 26px 0 22px;
	margin-top: 28px;
	text-align: center;
}

.site-footer--compact .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.footer-credit {
	margin: 0;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #1f2b3d;
}

.footer-credit--dev {
	font-size: 13.5px;
	font-weight: 600;
	color: #1f2b3d;
}

.footer-credit a {
	color: #1f2b3d;
	text-decoration: none;
}

.footer-credit a:hover {
	color: var(--green-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 44px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e5e9ef;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.footer-brand__img {
	height: 42px;
	width: auto;
	border-radius: 9px;
	display: block;
}

.footer-brand__mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(165deg, #1c7a4a, #0d4a2c);
	color: #ffd75e;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .02em;
}

.footer-brand__name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -.03em;
	color: #16233a;
}

.footer-tagline {
	margin: 12px 0 22px;
	font-size: 13.6px;
	line-height: 1.65;
	color: #64748b;
	max-width: 46ch;
}

.footer-h {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	color: #16233a;
	letter-spacing: -.02em;
	margin: 22px 0 8px;
}

.footer-h:first-of-type { margin-top: 0; }

.footer-copy {
	margin: 0 0 10px;
	font-size: 13.6px;
	line-height: 1.75;
	color: #4b5563;
	max-width: 62ch;
}

.footer-copy:last-child { margin-bottom: 0; }

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-content: start;
}

.footer-col__title {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #94a3b8;
	margin: 0 0 11px;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.footer-col a {
	color: #475569;
	font-size: 13.6px;
	font-weight: 500;
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--green-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-notice {
	margin: 0;
	background: #fffcf3;
	border: 2px dashed #f0b429;
	border-radius: 10px;
	padding: 17px 19px 15px;
}

.footer-notice p {
	margin: 0 0 9px;
	font-size: 12.9px;
	line-height: 1.72;
	color: #7a5200;
}

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

.footer-notice strong {
	font-weight: 700;
	color: #6b4700;
}

.footer-notice__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 14.5px !important;
	font-weight: 700;
	color: #8a5a00 !important;
	margin-bottom: 10px !important;
}

.footer-notice__title .ico {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	color: #e0a11a;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 18px;
	font-size: 12.6px;
	color: #64748b;
}

.footer-bottom--credit {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding-top: 24px;
}

.footer-bottom--credit .age-badge { margin-top: 6px; }

.age-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	background: #fbf0ea;
	border: 1px solid #f0d9cb;
	color: #a9502b;
	font-size: 11.5px;
	font-weight: 700;
}

/* Elementor host ---------------------------------------------------------- */
.elementor-host { padding: 0; }

.allyono-elementor .site-main { min-height: 0; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
	.featured__grid { gap: 12px; }
	.featured-item__logo { width: 84px; height: 84px; }
	.game-layout { grid-template-columns: 1fr; }
	.game-side .card { position: static; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.main-nav { display: none; }
	.menu-btn { display: grid; }
	.header-actions { margin-left: auto; }
	.header-inner { gap: 12px; }
	.brand__name { font-size: 18px; }
}

@media (max-width: 640px) {
	.container { padding-inline: 14px; }
	.card { padding: 16px; }

	/* The header's round Telegram button is replaced by the WhatsApp-style
	   quick link row on phones, so hide it here to match the reference. */
	.tg-btn { display: none; }

	/* Featured: three tiles side by side in a single row (reference layout) */
	.featured { padding: 14px 8px 8px; }
	.featured__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 5px;
	}
	.featured-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0;
		border-top: 0;
		row-gap: 0;
		min-width: 0;
	}
	.featured-item:first-child { border-top: 0; padding-top: 0; }
	.featured-item__logo-link { display: block; margin: 0 0 8px; }
	.featured-item__logo { width: 64px; height: 64px; border-radius: 16px; }
	.featured-item__info { align-items: center; width: 100%; }
	.featured-item__name {
		font-size: 12.5px;
		line-height: 1.25;
		margin: 0 0 5px;
		text-align: center;
		overflow-wrap: anywhere;
	}
	.featured-item__info .stars { gap: 1px; margin-bottom: 6px; }
	.featured-item__info .star .ico { width: 12px; height: 12px; }
	.featured-item__info .verified {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		margin: 0 0 9px;
		font-size: 8.4px;
		font-weight: 500;
		line-height: 1.15;
		letter-spacing: -.05px;
		color: #8b95a2;
		white-space: nowrap;
	}
	.featured-item__info .verified .ico { width: 12px; height: 12px; color: var(--emerald); }
	.featured-item .btn-download {
		margin-top: auto;
		width: 100%;
		min-height: 33px;
		padding: 7px 3px;
		font-size: 11px;
		font-weight: 600;
		gap: 4px;
		border-radius: 8px;
		white-space: nowrap;
	}
	.featured-item .btn-download .ico { width: 12px; height: 12px; }

	/* Games list toolbar */
	.games-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
	.segmented { justify-content: center; }
	.seg { flex: 1; justify-content: center; padding: 9px 8px; font-size: 13px; white-space: nowrap; gap: 5px; }
	.search { flex: 1 1 auto; width: 100%; }

	/* Game rows: each row is its own bordered card (reference layout) */
	.games-card { padding: 13px; }
	.games-list {
		display: flex;
		flex-direction: column;
		gap: 9px;
		margin-top: 11px;
	}
	.game-row {
		display: grid;
		grid-template-columns: 45px minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 11px;
		row-gap: 0;
		padding: 10px 11px;
		flex-wrap: nowrap;
		border: 1px solid #e8edf2;
		border-radius: 13px;
		background: #fff;
		box-shadow: 0 1px 2px rgba(16, 24, 40, .035);
	}
	.game-row:last-child { border: 1px solid #e8edf2; }
	.game-row__logo-link { grid-column: 1; }
	.game-row__logo { width: 45px; height: 45px; border-radius: 11px; }
	.game-row__body { grid-column: 2; min-width: 0; }
	.game-row__name {
		font-size: 14.3px;
		line-height: 1.3;
		margin: 0 0 3px;
		overflow-wrap: anywhere;
	}
	.game-row__players {
		font-size: 11.6px;
		gap: 4px;
		margin: 0 0 2px;
		line-height: 1.2;
	}
	.game-row__players .ico { width: 12px; height: 12px; color: #7c6cf0; }
	.game-row__bonus {
		font-size: 10.1px;
		letter-spacing: -.2px;
		gap: 2px;
		line-height: 1.25;
		white-space: nowrap;
		flex-wrap: nowrap;
	}
	.game-row__bonus .bonus-label,
	.game-row__bonus .bonus-amount { white-space: nowrap; }
	.game-row__bonus .bonus-label { display: inline; }
	.game-row__bonus .ico { width: 10px; height: 10px; flex: 0 0 auto; }
	.game-row .btn-download--sm {
		grid-column: 3;
		margin: 0;
		min-height: 35px;
		padding: 7px 8px;
		font-size: 11.1px;
		gap: 4px;
		border-radius: 8px;
		white-space: nowrap;
	}
	.game-row .btn-download--sm .ico { width: 13px; height: 13px; }

	/* Single app */
	.game-head { padding: 16px; }
	.game-head__main { gap: 14px; }
	.game-head__logo { width: 72px; height: 72px; border-radius: 16px; }
	.game-head__title { font-size: 20px; }
	.game-head__cta { min-width: 0; width: 100%; }
	.game-head__bonus { text-align: left; }

	.post-grid { grid-template-columns: 1fr; }
	.post-navigation { grid-template-columns: 1fr; }
	.page-title { font-size: 23px; }
	.welcome__title { font-size: 20px; }
	.home-seo { padding: 16px 15px 20px; font-size: 13.8px; }
	.seo-h { font-size: 17px; margin-top: 24px; }
	.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.trust-item { padding: 10px 11px; }
	.cat-grid { grid-template-columns: 1fr; gap: 8px; }
	.seo-table { font-size: 12px; min-width: 0; table-layout: fixed; }
	.seo-table th, .seo-table td { padding: 8px; white-space: normal; }
	.seo-table thead th { font-size: 9.6px; letter-spacing: .03em; line-height: 1.25; }

	/* The Type column is a nice-to-have; drop it on phones so the table fits. */
	.seo-table thead th:nth-child(4),
	.seo-table tbody td:nth-child(4) { display: none; }
	.seo-steps li { padding-left: 30px; }
	.footer-credit { font-size: 13px; }
	.footer-credit--dev { font-size: 12.5px; }
	.footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.footer-links { gap: 14px; }
	.footer-col__title { margin-bottom: 9px; }
	.footer-col ul { gap: 8px; }
	.footer-col a { font-size: 13px; white-space: nowrap; }
	.footer-notice { padding: 14px 15px 12px; }
	.footer-notice p { font-size: 12.4px; }
	.footer-notice__title { font-size: 13.8px !important; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.footer-bottom--credit { align-items: center; }
}

/* Motion & micro-interactions ---------------------------------------------- */

/* Scroll reveal: only applied once JS adds .js-reveal, so no-JS stays visible.
   Uses the standalone translate/scale properties so it composes with the hover
   transform instead of overriding it (transform is a single property). The
   transition list keeps transform/box-shadow so the hover lift stays smooth
   even though this rule outranks the per-component transition. */
.js-reveal .reveal {
	opacity: 0;
	translate: 0 14px;
	scale: .995;
	transition:
		opacity .5s var(--ease-out),
		translate .55s var(--ease-out),
		scale .55s var(--ease-out),
		transform .28s var(--ease-out),
		box-shadow .28s ease,
		border-color .28s ease;
}

.js-reveal .reveal.is-in {
	opacity: 1;
	translate: 0 0;
	scale: 1;
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal .reveal { opacity: 1; translate: 0 0; scale: 1; transition: none; }
}

/* App logos: a small lift with a soft ring. */
.game-row__logo,
.featured-item__logo,
.ggrow__logo,
.game-head__logo {
	transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}

.game-row:hover .game-row__logo,
.game-row__logo-link:hover .game-row__logo,
.featured-item:hover .featured-item__logo,
.ggrow:hover .ggrow__logo,
.game-head__main:hover .game-head__logo {
	transform: translateY(-2px) scale(1.045);
	box-shadow: 0 6px 16px rgba(15, 23, 42, .16);
}

/* Rows answer the pointer without jumping around. */
.game-row,
.ggrow,
.cat-card,
.trust-item,
.post-card {
	transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.game-row:hover,
.ggrow:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, .09);
	border-color: #d7e6dd;
}

.cat-card:hover,
.post-card:hover {
	transform: translateY(-3px);
}

/* Icons that sit next to text: gentle nudge on hover of their link or button. */
.quicknav__item .ico,
.footer-col a .ico,
.footer-simple__nav a .ico,
.page-nav a .ico,
.link-more .ico,
.game-row__name .ico {
	transition: transform .3s var(--ease-spring);
}

.quicknav__item:hover .ico,
.quicknav__item.is-active .ico { transform: translateY(-2px) scale(1.08); }

.link-more:hover .ico,
.page-nav a:hover .ico { transform: translateX(3px); }

/* Section icons in the SEO trust strip get a soft pop. */
.trust-item__icon {
	transition: transform .35s var(--ease-spring), background-color .3s ease, color .3s ease;
}

.trust-item:hover .trust-item__icon {
	transform: translateY(-2px) scale(1.1) rotate(-4deg);
	background: #dcf3e6;
}

/* The NEW chip breathes once, slowly, so it reads as fresh without being noisy. */
.gnew,
.badge-new {
	animation: newPulse 3.4s ease-in-out infinite;
}

@keyframes newPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .18); }
	50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0); }
}

/* Segmented filters and search get a visible but calm focus state. */
.seg,
.search__input,
.search input[type="search"] {
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}

.search__input:focus,
.search input[type="search"]:focus {
	outline: none;
	border-color: #b9dcc7;
	box-shadow: 0 0 0 3px rgba(25, 135, 84, .12);
}

/* Header logo: barely-there scale so the page feels alive. */
.site-logo img,
.site-brand__logo img,
.custom-logo {
	transition: transform .4s var(--ease-spring);
}

.site-logo:hover img,
.site-brand:hover .custom-logo { transform: scale(1.04); }

/* Links in long copy get a sliding underline. */
.home-seo p a,
.entry-content p a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .3s var(--ease-out);
}

.home-seo p a:hover,
.entry-content p a:hover { background-size: 100% 1.5px; }

/* Page entrance for the main column. */
@keyframes riseIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.page-head,
.game-head,
.welcome,
.home-seo,
.post-single__head {
	animation: riseIn .55s var(--ease-out) both;
}

/* Colour system ------------------------------------------------------------
   One accent (emerald), one warm neutral (ivory/sand), one metallic (gold).
   Everything else is slate grey. No multi-hue gradients, no rainbow rails —
   the palette stays narrow on purpose so the pages read calm and expensive. */

/* Canvas -------------------------------------------------------------------
   A fixed layer keeps the wash steady while the page scrolls and avoids
   background-attachment: fixed (janky on mobile Safari). body stays
   transparent so this layer is not painted over. */
html::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(1100px 620px at 8% -12%, rgba(16, 160, 111, .10) 0%, rgba(16, 160, 111, 0) 62%),
		radial-gradient(900px 560px at 104% 0%, rgba(192, 138, 62, .09) 0%, rgba(192, 138, 62, 0) 60%),
		linear-gradient(178deg, #fbfaf7 0%, #f8f9f7 52%, #faf8f4 100%);
	background-color: #f9f8f5;
}

/* A single hairline under the header instead of a spectrum bar. */
.site-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: #0f7a58;
}

/* Quick nav: neutral text, one accent on hover. */
.quicknav__item { color: #5a6672; }
.quicknav__item .ico { transition: transform .3s var(--ease-spring), color .25s ease; color: #7f8b96; }

.quicknav__item:hover { background: #eef7f2; color: #0f7a58; }
.quicknav__item:hover .ico { color: #0f7a58; transform: translateY(-2px) scale(1.1); }

.quicknav__item--tg .ico { color: #229ed9; }
.quicknav__item--tg:hover { background: #eef8fd; color: #0b7bc1; }

/* Welcome: warm ivory panel with an emerald rail. */
.welcome {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #fdfcf8 0%, #fbfaf5 100%);
	border-color: #ebe6db;
}

.welcome::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #0f7a58;
}

.welcome__title { color: #123f31; letter-spacing: -.034em; }
.welcome__more { color: #0f7a58; }
.welcome__more:hover { color: #0b5f45; }

/* Featured strip: warm sand, so it separates from the white games list. */
.featured {
	background: linear-gradient(180deg, #fdfbf6 0%, #fcfaf4 100%);
}

.featured-item__logo { border: 2px solid #fff; }

/* Games panel stays pure white — the strongest contrast on the page. */
.games-card { background: #fff; }
.games-card__head,
.games-card > h2,
.games-card__title { color: #0f172a; }

/* Segmented filter: solid emerald active pill. */
.seg.is-active {
	background: #0f7a58 !important;
	color: #fff !important;
	box-shadow: 0 1px 3px rgba(11, 95, 69, .28);
}

.seg.is-active .ico { color: #fff !important; }

.search__input:focus,
.search input[type="search"]:focus {
	background: #fcfdfb;
	border-color: #b9d9c9;
	box-shadow: 0 0 0 3px rgba(15, 122, 88, .10);
}

/* Numbers that matter: emerald for money, slate for counts. */
.game-row__bonus .bonus-amount,
.game-row__bonus strong { color: #0b5f45; }

.game-row__players .ico { color: #8b95a2; }

/* SEO section: white shell, single accent hairline. */
.home-seo {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-color: #eae6dc;
}

.home-seo::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #0f7a58;
}

/* Section headings: emerald tick, same colour everywhere. */
.seo-h {
	position: relative;
	padding-left: 14px;
}

.seo-h::before {
	content: "";
	position: absolute;
	left: 0;
	top: .18em;
	bottom: .18em;
	width: 3px;
	border-radius: 2px;
	background: #0f7a58;
}

/* Trust strip: ivory cards, emerald and gold icons only. */
.trust-item {
	background: #fdfcf8;
	border-color: #ece7dc;
}

.trust-item .trust-item__icon {
	background: #eaf4ee;
	color: #0f7a58;
}

.trust-item:nth-child(2) .trust-item__icon { background: #f8efdd; color: #a9762c; }
.trust-item:nth-child(3) .trust-item__icon { background: #f8efdd; color: #b8862f; }
.trust-item:nth-child(4) .trust-item__icon { background: #fbeee4; color: #b4592f; }

.trust-item:nth-child(1):hover .trust-item__icon { background: #e2f0e8; }
.trust-item:nth-child(2):hover .trust-item__icon,
.trust-item:nth-child(3):hover .trust-item__icon { background: #f5e9d2; }
.trust-item:nth-child(4):hover .trust-item__icon { background: #f9e3d5; }

/* Comparison table: ivory header, hairline rules, emerald emphasis column. */
.seo-table thead th {
	background: #fbf9f4;
	color: #123f31;
	border-bottom: 1px solid #eae6dc;
}

.seo-table tbody tr:nth-child(even) { background: #fdfcfa; }
.seo-table tbody tr:hover { background: #f7faf8; }
.seo-table tbody td:nth-child(3) { color: #0b5f45; font-weight: 600; }

/* Category cards: one accent, differentiated by icon and label only. */
.cat-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-color: #eae6dc;
}

.cat-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: #0f7a58;
	opacity: .55;
}

.cat-card:hover::after { opacity: 1; }

.cat-card__count {
	background: #eef7f2;
	color: #0b5f45;
}

/* Step badges: emerald, with the numeral in white. */
.seo-steps li::before {
	background: #0f7a58;
	box-shadow: 0 1px 3px rgba(11, 95, 69, .3);
}

/* Callout note: ivory with the emerald rail kept. */
.seo-note {
	background: #fdfcf8;
	border-color: #eae6dc;
}

/* Footer notice: soft amber halo on the warning glyph only. */
.footer-notice__title .ico {
	filter: drop-shadow(0 1px 2px rgba(192, 138, 62, .3));
}

/* "NEW" chips join the accent instead of inventing a second one. */
.gnew {
	background: #0b5f45 !important;
	color: #fff !important;
}

/* Very small phones (320px) */
@media (max-width: 360px) {
	.quicknav__item { font-size: 9.5px; }
	.featured-item__logo { width: 56px; height: 56px; border-radius: 14px; }
	.featured-item__name { font-size: 11.5px; }
	.featured-item__info .star .ico { width: 10px; height: 10px; }
	.featured-item__info .verified { font-size: 7.6px; }
	.featured-item .btn-download { font-size: 10.2px; min-height: 31px; }
	.featured-item .btn-download .ico { width: 11px; height: 11px; }
	.game-row { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 9px; padding: 9px; }
	.game-row__logo { width: 40px; height: 40px; }
	.game-row .btn-download--sm { padding: 6px 8px; font-size: 10.8px; }
	.game-row .btn-download--sm .ico { width: 12px; height: 12px; }
	.game-row__name { font-size: 13.6px; }
	.game-row__bonus { font-size: 9.5px; letter-spacing: -.35px; }
	.game-row__bonus .bonus-label { display: none; }
	.seg { font-size: 12px; padding: 8px 6px; gap: 4px; }
	.seg .ico { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
