/* A18H – dark theme styles */
:root {
	--bg: #1f2430;
	--surface: #2a3040;
	--surface-2: #353d52;
	--border: #46506a;
	--text: #f1f3f8;
	--muted: #b4bcd0;
	--accent: #ff6b8a;
	--accent-2: #ff9a6b;
	--radius: 10px;
	--container: 1280px;
	--shadow: 0 6px 24px rgba(10, 13, 22, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
button, input, textarea, select { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 8px 14px; z-index: 10000; top: 8px; left: 8px; background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.site-main { flex: 1; padding: 24px 0 48px; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	padding: 10px 20px; border-radius: 8px; border: 1px solid transparent;
	background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
	font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 107, 138, .3); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(31, 36, 48, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.site-title { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.site-title:hover { color: var(--accent); }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.primary-nav { flex: 1; }
.primary-nav .menu, .footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { display: block; padding: 8px 14px; color: var(--text); border-radius: 6px; font-weight: 500; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--surface-2); color: var(--accent); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); display: none; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }

.search-form { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.search-field { background: transparent; border: 0; padding: 8px 14px; width: 220px; outline: none; }
.search-field::placeholder { color: var(--muted); }
.search-submit { background: transparent; border: 0; padding: 8px 12px; color: var(--muted); cursor: pointer; display: flex; }
.search-submit:hover { color: var(--accent); }
.search-form:focus-within { border-color: var(--accent); }

.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 10px; cursor: pointer; flex-direction: column; gap: 4px; }
.menu-toggle-bar { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.home-section { margin-bottom: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: 20px; position: relative; padding-left: 12px; }
.section-title::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 2px; background: var(--accent); }
.section-more { color: var(--muted); font-size: 14px; }
.page-header { margin: 8px 0 24px; }
.page-title { font-size: 28px; }
.page-sub { color: var(--muted); margin: 0; }
.page-search { margin-top: 16px; max-width: 420px; }
.page-search .search-field { width: 100%; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 4px; }

/* Grids */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.featured-grid,
.home-section.latest .game-grid,
.related-grid,
.game-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.home-section.featured .game-card-body,
.home-section.latest .game-card-body,
.related-games .game-card-body,
.game-grid-6 .game-card-body { padding: 10px 10px 12px; }
.home-section.featured .game-card-title,
.home-section.latest .game-card-title,
.related-games .game-card-title,
.game-grid-6 .game-card-title { font-size: 13px; }
.home-section.featured .game-card-meta,
.home-section.latest .game-card-meta,
.related-games .game-card-meta,
.game-grid-6 .game-card-meta { gap: 6px; font-size: 11px; }
.is-featured .game-card-title { font-size: 13px; }

/* Card */
.game-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.game-card-link { display: block; color: var(--text); height: 100%; }
.game-card-link:hover { color: var(--text); }
.game-card-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.game-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-card:hover .game-card-thumb img { transform: scale(1.04); }
.game-card-platforms { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.game-card-platforms .pf { display: flex; padding: 4px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; }
.card-badge { position: absolute; left: 8px; top: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.game-card-body { padding: 12px 14px 14px; }
.game-card-title { font-size: 15px; margin: 0 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.game-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.meta-rating { color: #ffc107; }
.cover-placeholder { width: 100%; height: 100%; min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--muted); font-weight: 700; background: linear-gradient(135deg, #353d52, #3f3550); }

/* Single game */
.game-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 32px; text-align: center; }
.game-cover { width: 256px; height: 256px; flex: 0 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-cover .cover-placeholder { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.game-summary { width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.game-title { font-size: 30px; margin: 0; text-align: center; }
.game-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; width: 100%; margin: 4px auto 8px; padding: 0; background: transparent; border: 0; }
.game-meta > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; flex: 0 0 240px; min-width: 160px; max-width: 260px; padding: 8px 16px; background: transparent; text-align: center; position: relative; }
.game-meta > div + div::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--border); }
.game-meta dt { color: var(--muted); min-width: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.game-meta dd { margin: 0; font-weight: 600; overflow-wrap: break-word; word-break: break-word; }
.game-section { margin-bottom: 32px; }
.tag-list { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 14px; }
.tag-chip.small { padding: 3px 10px; font-size: 13px; }
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }
.tag-count { color: var(--muted); font-size: 12px; background: var(--bg); border-radius: 999px; padding: 0 8px; }
.tag-cloud-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.download-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-platform { background: var(--surface-2); border-color: var(--border); color: var(--text); text-align: left; }
.btn-platform:hover { border-color: var(--accent); color: var(--text); box-shadow: none; transform: none; }
.btn-platform svg { flex: 0 0 auto; }
.btn-platform .btn-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.btn-platform .btn-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-platform small { color: var(--muted); font-weight: 400; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.download-none { color: var(--muted); }
/* Game detail: compact, centered platform buttons; one row on PC. */
.game-summary .download-buttons { flex-wrap: nowrap; justify-content: center; width: auto; max-width: 100%; margin: 4px 0 0; }
.game-summary .btn-platform {
	flex: 0 1 auto;
	width: auto;
	min-width: 168px;
	max-width: 240px;
	padding: 8px 14px;
	justify-content: flex-start;
	gap: 8px;
	font-size: 13px;
}
.game-summary .btn-platform svg { width: 18px; height: 18px; }
.game-summary .download-buttons[data-count="1"] .btn-platform { flex: 0 0 auto; min-width: 200px; max-width: 260px; }
.game-summary .download-buttons[data-count="2"] .btn-platform { flex: 0 1 auto; min-width: 168px; max-width: 240px; }

.gallery-carousel { position: relative; }
.gallery-track {
	display: flex; gap: 12px;
	overflow-x: auto; overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 2px;
	cursor: grab;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery-item {
	flex: 0 0 calc((100% - 36px) / 3.5);
	scroll-snap-align: start;
	display: block; border-radius: 8px; overflow: hidden;
	aspect-ratio: 16 / 9; background: var(--surface-2); border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; pointer-events: none; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-track.is-dragging .gallery-item:hover img { transform: none; }
.gallery-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 2; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(20, 24, 34, .82); color: #fff;
	font-size: 28px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
	transition: background .15s, opacity .15s;
}
.gallery-arrow:hover { background: var(--accent); }
.gallery-arrow:disabled { opacity: .25; cursor: default; background: rgba(20, 24, 34, .55); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery-dot {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
	background: var(--border); cursor: pointer;
}
.gallery-dot.is-active { background: var(--accent); width: 18px; border-radius: 999px; }


.guide-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.guide-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.guide-list li:last-child { border-bottom: 0; }
.guide-list a { color: var(--text); }
.guide-list a:hover { color: var(--accent); }
.guide-list time { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Rating */
.rating { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 4px auto 8px; padding: 8px 4px; background: transparent; border: 0; border-radius: 0; width: auto; max-width: 100%; }
.rating-score { display: flex; align-items: center; gap: 14px; }
.rating-avg { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #ffc107; min-width: 1.35em; }
.rating.is-empty .rating-avg { color: var(--muted); }
.rating-score-meta { display: flex; flex-direction: column; gap: 4px; }
.stars { position: relative; display: inline-block; font-size: 20px; line-height: 1; color: #4a5163; }
.stars::before { content: "\2605\2605\2605\2605\2605"; letter-spacing: 3px; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #ffc107; }
.stars-fill::before { content: "\2605\2605\2605\2605\2605"; letter-spacing: 3px; }
.rating-count { color: var(--muted); font-size: 13px; }
.rating-input { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 14px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; }
.rating-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rating-stars { display: flex; align-items: center; gap: 0; }
.star-btn { background: none; border: 0; padding: 2px 3px; font-size: 26px; line-height: 1; color: #4a5163; cursor: pointer; transition: color .12s, transform .12s, text-shadow .12s; }
.star-btn.is-on, .star-btn.is-hover { color: #ffc107; text-shadow: 0 0 12px rgba(255, 193, 7, .4); }
.star-btn:not([disabled]):hover { transform: scale(1.18); }
.star-btn:not([disabled]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.star-btn[disabled] { cursor: default; }
.rating.is-rated .rating-input { box-shadow: inset 0 0 0 1px rgba(255, 193, 7, .25); }
.rating-msg { font-size: 13px; color: #8ee0a8; min-height: 0; }
.rating-msg:empty { display: none; }

/* Entry content */
.entry-content { color: #e3e7ef; }
.entry-content p { margin: 0 0 1em; }
.entry-content img { border-radius: 8px; margin: 1em 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content blockquote { margin: 1em 0; padding: 8px 16px; border-left: 4px solid var(--accent); background: var(--surface); }
.entry-content pre, .entry-content code { background: var(--surface-2); border-radius: 4px; }
.entry-content pre { padding: 12px; overflow: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px; }
.entry-meta { color: var(--muted); font-size: 13px; }
.entry-meta .sep { margin: 0 6px; }
.guide-game-card { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 0 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.guide-game-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; flex: 0 0 96px; }
.guide-game-card small { display: block; color: var(--muted); }
.guide-game-card:hover { border-color: var(--accent); color: var(--text); }

/* Download page */
.download-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.download-thumb { flex: 0 0 160px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1 / 1; }
.download-thumb img { width: 100%; height: 100%; object-fit: cover; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; }
.download-notes { margin: 24px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.download-cta { margin: 32px 0 8px; text-align: center; }
.btn-download { font-size: 20px; padding: 18px 48px; border-radius: 12px; }
.btn-download svg { width: 22px; height: 22px; }
.download-hint { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.download-other { margin-bottom: 24px; }

/* Pagination */
.pagination { margin: 40px 0 0; }
.pagination .page-numbers-list,
.pagination ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
}
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	box-sizing: border-box;
	min-width: 44px; height: 44px; padding: 0 16px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text);
	font-weight: 600; font-size: 14px; line-height: 1;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
	border-color: var(--accent);
	color: #fff;
	background: var(--surface-2);
	box-shadow: 0 0 0 3px rgba(255, 107, 138, .22);
	outline: none;
}
.pagination a.page-numbers:hover { transform: translateY(-1px); }
.pagination .page-numbers.current {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 14px rgba(255, 107, 138, .35);
	pointer-events: none;
}
.pagination .page-numbers.dots {
	min-width: 1.25em; height: auto; padding: 0 2px;
	background: transparent; border: 0; color: var(--muted);
	font-weight: 700; letter-spacing: 2px;
	pointer-events: none;
}
.pagination .prev,
.pagination .next { padding: 0 18px; }
.pagination .page-arrow { font-size: 22px; font-weight: 400; line-height: 1; }

@media (max-width: 720px) {
	.pagination { margin-top: 28px; }
	.pagination .page-numbers-list,
	.pagination ul { gap: 6px; }
	.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; }
	.pagination .prev,
	.pagination .next { padding: 0 14px; }
	/* Compact: keep prev/next, current, and immediate neighbours. */
	.pagination .page-numbers:not(.prev):not(.next):not(.current):not(.is-adjacent):not(.dots) {
		display: none;
	}
	.pagination .dots { display: none; }
}

/* Comments */
.comments-area { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-author img { float: left; margin-right: 10px; border-radius: 50%; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.comment-form .submit { border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #181c26; padding: 24px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-nav a { color: var(--muted); padding: 4px 10px; }
.footer-nav a:hover { color: var(--accent); }
.copyright a { color: var(--muted); text-decoration: underline; }

/* 404 */
.error-404 { padding: 60px 20px; }
.error-404 .page-title { font-size: 80px; color: var(--accent); margin-bottom: 0; }
.error-404 .page-search { margin: 20px auto; }

/* Lightbox */
.a18h-lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.a18h-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow); }
.a18h-lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; }
.a18h-lightbox button:hover { background: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; }
body.no-scroll { overflow: hidden; }

/* Age gate */
.a18h-age-gate { position: fixed; inset: 0; z-index: 10000; background: rgba(24, 28, 38, .96); display: flex; align-items: center; justify-content: center; padding: 20px; }
.a18h-age-ok .a18h-age-gate { display: none; }
html:not(.a18h-age-ok) body:has(.a18h-age-gate) { overflow: hidden; }
.age-gate-box { max-width: 460px; width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow); }
.age-gate-badge { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.age-gate-box p { color: var(--muted); }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Responsive: tablet */
@media (max-width: 1200px) {
	.featured-grid,
	.home-section.latest .game-grid,
	.related-grid,
	.game-grid-6 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (max-width: 1100px) {
	.game-grid { grid-template-columns: repeat(3, 1fr); }
	.featured-grid,
	.home-section.latest .game-grid,
	.related-grid,
	.game-grid-6 { grid-template-columns: repeat(3, 1fr); }
	.gallery-item { flex-basis: calc((100% - 24px) / 2.5); }
}
@media (max-width: 900px) {
	.menu-toggle { display: flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 20px;
		background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
	}
	.menu-open .site-nav { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; }
	.search-field { width: 100%; }
	.header-search .search-form { width: 100%; }
	.game-meta > div { flex: 1 1 40%; max-width: 50%; min-width: 0; }
	.game-meta > div:nth-child(2n + 1)::before { display: none; }
	.game-summary .download-buttons { flex-wrap: wrap; }
	.game-summary .btn-platform { flex: 0 1 auto; min-width: 160px; max-width: 240px; }
	.gallery-arrow { display: none; }
}
@media (max-width: 720px) {
	.game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.featured-grid,
	.home-section.latest .game-grid,
	.related-grid,
	.game-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.gallery-item { flex-basis: calc((100% - 12px) / 1.6); }
	.game-cover { width: 200px; height: 200px; }
	.page-title { font-size: 24px; }
	.game-title { font-size: 24px; }
	.game-meta > div { flex: 1 1 100%; max-width: 100%; padding: 8px 0; }
	.game-meta > div + div::before { display: none; }
	.game-meta > div + div { border-top: 1px solid var(--border); }
	.download-head { flex-direction: column; align-items: flex-start; }
	.download-thumb { flex-basis: auto; width: 100%; max-width: 320px; }
	.btn-download { width: 100%; padding: 16px 20px; font-size: 18px; }
}
@media (max-width: 480px) {
	.container { padding: 0 14px; }
	.game-card-body { padding: 10px; }
	.game-card-title { font-size: 14px; }
	.game-summary .btn-platform,
	.download-buttons .btn { width: 100%; max-width: 100%; min-width: 0; flex: 1 1 100%; justify-content: flex-start; }
	.gallery-item { flex-basis: calc((100% - 12px) / 1.5); }
	.guide-list li { flex-direction: column; gap: 2px; }
}
