/*
Theme Name: JEJAK ENEMY
Theme URI: https://5minutesforgiveaways.com/
Author: JEJAK ENEMY
Description: Tema portal berita game untuk JEJAK ENEMY — header gelap, slider berita utama, tab per game, mode gelap/terang, dan tampilan responsif. Telusuri Berita Game, Temukan Babak Baru.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jejak-enemy
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--accent: #ff3b47;
	--accent-2: #d9142a;
	--accent-deep: #b8001f;

	--bg: #0b0b0f;
	--bg-2: #101016;
	--surface: #15151d;
	--surface-2: #1c1c26;
	--border: #252531;
	--border-2: #33333f;
	--text: #f3f3f6;
	--text-2: #c9c9d3;
	--muted: #8e8e9e;
	--shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);

	--head-bg: rgba(13, 13, 18, .94);
	--top-bg: #07070a;

	--radius: 18px;
	--radius-sm: 12px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Chakra Petch", "Plus Jakarta Sans", system-ui, sans-serif;
	--container: 1280px;
	--topbar-h: 40px;
	color-scheme: dark;
}

:root[data-theme="light"] {
	--bg: #f4f4f7;
	--bg-2: #ececf1;
	--surface: #ffffff;
	--surface-2: #f4f4f8;
	--border: #e4e4eb;
	--border-2: #d4d4dd;
	--text: #121218;
	--text-2: #3b3b48;
	--muted: #6b6b7a;
	--shadow: 0 18px 40px -22px rgba(20, 20, 45, .25);
	color-scheme: light;
}

.c0 { --ca: #ff3b47; --cb: #8f0016; }
.c1 { --ca: #ff8a3d; --cb: #9a3100; }
.c2 { --ca: #22d3ee; --cb: #0b5873; }
.c3 { --ca: #a78bfa; --cb: #4c1d95; }
.c4 { --ca: #34d399; --cb: #05664a; }
.c5 { --ca: #fbbf24; --cb: #8a5300; }
.c6 { --ca: #f472b6; --cb: #86124f; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color .3s ease, color .3s ease;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
img { height: auto; }
button { font: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--text); margin: 0 0 .5em; line-height: 1.25; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 999;
	top: 10px; left: 10px; padding: 12px 18px; background: var(--accent); color: #fff; border-radius: 10px;
}

.icon { flex: none; display: inline-block; vertical-align: middle; }

/* ==========================================================================
   Buttons, pills, forms
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.2;
	padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
	background: linear-gradient(135deg, #ff4954, #d70f2a);
	color: #fff;
	box-shadow: 0 10px 26px -12px rgba(255, 59, 71, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(255, 59, 71, .95), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon-arrow-r { transform: translateX(3px); }

.icon-btn {
	width: 42px; height: 42px; border-radius: 12px;
	display: inline-grid; place-items: center;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
	color: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: var(--accent); border-color: var(--accent); }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
	display: inline-flex; align-items: center;
	font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 1.35;
	letter-spacing: .05em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 7px;
	color: var(--ca);
	background: color-mix(in srgb, var(--ca) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--ca) 34%, transparent);
	transition: background-color .2s ease;
}
.pill:hover { background: color-mix(in srgb, var(--ca) 24%, transparent); }
:root[data-theme="light"] .pill { color: color-mix(in srgb, var(--ca) 58%, #000); }
.pills-sm .pill { font-size: 11px; padding: 2px 8px; }

.kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display); font-weight: 600; font-size: 13px;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
	padding: 6px 12px; border-radius: 999px;
}

.search-form {
	display: flex; align-items: center; gap: 6px;
	background: var(--surface); border: 1px solid var(--border-2);
	border-radius: 14px; padding: 5px 5px 5px 16px;
	transition: border-color .2s ease;
}
.search-form:focus-within { border-color: var(--accent); }
.search-field { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; padding: 8px 0; outline: none; }
.search-field::placeholder { color: var(--muted); }
.search-submit {
	flex: none; width: 42px; height: 42px; border-radius: 10px; border: 0;
	background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: calc(var(--topbar-h) * -1); z-index: 60;
	transition: box-shadow .3s ease;
}
.admin-bar .site-header { top: calc(32px - var(--topbar-h)); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(46px - var(--topbar-h)); } }
@media (max-width: 600px) { .admin-bar .site-header { top: calc(var(--topbar-h) * -1); } }
.site-header.is-scrolled .mainbar { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9); }

.topbar { background: var(--top-bg); color: #a3a3b3; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; min-width: 0; }
.today { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.today .icon { color: var(--accent); }
.topbar-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar-menu a { color: #c3c3cf; transition: color .2s ease; }
.topbar-menu a:hover { color: #fff; }

.mode-toggle {
	display: inline-flex; align-items: center; padding: 3px; gap: 2px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 999px; cursor: pointer; color: #a3a3b3;
}
.mt-opt { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: background-color .25s ease, color .25s ease; }
:root[data-theme="dark"] .mt-dark,
:root[data-theme="light"] .mt-light { background: #fff; color: #111; }

.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
	width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: inherit;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.social-top { gap: 2px; }
.social-top a { width: 28px; height: 28px; border-radius: 8px; background: transparent; border: 0; color: #a3a3b3; }
.social-side a { background: var(--surface-2); border-color: var(--border); color: var(--text-2); }

.mainbar {
	position: relative;
	background: var(--head-bg);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	color: #fff;
	transition: box-shadow .3s ease;
}
.mainbar::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 59, 71, .6), transparent);
	pointer-events: none;
}
.mainbar-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; }
.brand-img img { display: block; height: 50px; width: auto; }
.brand .je-mark { flex: none; filter: drop-shadow(0 6px 14px rgba(255, 59, 71, .35)); }
.wordmark { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: .86; transform: skewX(-8deg); }
.wm-a { color: #fff; letter-spacing: .075em; }
.wm-b { color: var(--accent); letter-spacing: .03em; }

.primary-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	position: relative; display: flex; align-items: center; gap: 6px;
	font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .04em; text-transform: uppercase;
	color: #d4d4de; padding: 10px 11px; border-radius: 9px; white-space: nowrap;
	transition: color .2s ease, background-color .2s ease;
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.primary-nav .menu > li > a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after,
.primary-nav .menu > .current-post-ancestor > a::after,
.primary-nav .menu > .current-category-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current-post-ancestor > a { color: #fff; }

.primary-nav .menu-item-has-children > a::before {
	content: ""; order: 2; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.primary-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px;
	background: #15151d; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: #d4d4de; font-weight: 600; font-size: 14px; }
.primary-nav .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.mode-mini .icon-moon { display: none; }
:root[data-theme="light"] .mode-mini .icon-sun { display: none; }
:root[data-theme="light"] .mode-mini .icon-moon { display: inline-block; }
.burger, .mode-mini { display: none; }
.header-actions .mode-mini { display: none !important; }

/* Ticker */
.ticker { background: var(--surface); border-bottom: 1px solid var(--border); }
.ticker-inner { display: flex; align-items: center; gap: 16px; height: 46px; }
.ticker-label {
	flex: none; display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
	color: #fff; background: linear-gradient(135deg, #ff4954, #d70f2a); padding: 5px 12px; border-radius: 8px;
}
.ticker-track {
	flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker-items { display: inline-flex; gap: 44px; white-space: nowrap; padding-left: 12px; will-change: transform; }
.ticker-track.is-running .ticker-items { animation: je-ticker var(--ticker-dur, 40s) linear infinite; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .2s ease; }
.ticker-items a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; background: var(--accent); transform: rotate(45deg) translateY(-2px); }
.ticker-items a:hover { color: var(--accent); }
@keyframes je-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Search overlay */
.search-overlay {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(7, 7, 10, .95);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	opacity: 0; transition: opacity .25s ease; color: #fff;
}
.search-overlay.is-open { opacity: 1; }
.search-overlay-inner { position: relative; padding-top: 18vh; max-width: 900px; }
.search-close { position: absolute; top: 28px; right: 24px; }
.search-kicker { font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-size: 14px; margin-bottom: 14px; }
.big-search { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid rgba(255, 255, 255, .15); padding-bottom: 14px; transition: border-color .2s ease; }
.big-search:focus-within { border-color: var(--accent); }
.big-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: clamp(22px, 4vw, 40px); font-weight: 700; }
.big-search input::placeholder { color: #5f5f6e; }
.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; color: #8e8e9e; font-size: 14px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 210; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s ease; }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
	background: #0f0f14; color: #fff; display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 24px;
	transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto;
	border-left: 1px solid rgba(255, 255, 255, .08);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head .brand-img img { height: 42px; }
.drawer-search { display: flex; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 4px 4px 4px 14px; }
.drawer-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; padding: 8px 0; }
.drawer-search button { width: 40px; height: 40px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer-nav .menu { list-style: none; margin: 0; padding: 0; }
.drawer-nav .menu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: #e4e4ec; }
.drawer-nav .menu a:hover, .drawer-nav .current-menu-item > a { color: var(--accent); }
.drawer-nav .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.drawer-nav .sub-menu a { font-size: 15px; text-transform: none; font-family: var(--font); }
.drawer-nav .menu-small { margin-top: 16px; }
.drawer-nav .menu-small a { font-family: var(--font); font-size: 15px; text-transform: none; letter-spacing: 0; color: #a3a3b3; padding: 10px 4px; border: 0; }
.drawer-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #a3a3b3; }
body.is-locked { overflow: hidden; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; display: none; }
.single-post .progress { display: block; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(var(--p, 0)); transform-origin: left; background: linear-gradient(90deg, #ff8a3d, var(--accent)); }
.admin-bar .progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .progress { top: 46px; } }

/* ==========================================================================
   Section heading
   ========================================================================== */
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.section-title {
	display: flex; align-items: center; gap: 12px; margin: 0;
	font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .03em; text-transform: uppercase;
}
.st-icon {
	width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none;
	background: linear-gradient(135deg, #ff4954, #c90f27); color: #fff; transform: skewX(-8deg);
	box-shadow: 0 8px 18px -8px rgba(255, 59, 71, .8);
}
.st-icon .icon { transform: skewX(8deg); }
.section-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--border-2), transparent); }
.section-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.section-more:hover .icon { transform: translateX(3px); }
.section-more .icon { transition: transform .2s ease; }
.more-wrap { display: flex; justify-content: center; margin-top: 26px; }

/* ==========================================================================
   Thumbnails & meta
   ========================================================================== */
.thumb { position: relative; overflow: hidden; background: var(--surface-2); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.thumb-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--ca), var(--cb)); isolation: isolate; }
.thumb-ph::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px),
		radial-gradient(120% 80% at 100% 100%, rgba(0, 0, 0, .45), transparent 60%);
}
.ph-text { font-family: var(--font-display); font-weight: 700; font-style: italic; letter-spacing: .04em; color: rgba(255, 255, 255, .92); font-size: clamp(28px, 4vw, 54px); text-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.thumb-ph .ph-mark { position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; opacity: .95; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.meta > * { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { padding: 28px 0 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 24px; }
.hero-grid.hero-full { grid-template-columns: minmax(0, 1fr); }

.hero-slider { position: relative; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); min-height: 420px; aspect-ratio: 16 / 9; max-height: 600px; }
.hero-full .hero-slider { aspect-ratio: 21 / 9; }
.hs-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.hs-media, .hs-media .thumb { position: absolute; inset: 0; }
.hs-media .thumb { height: 100%; }
.hs-media .ph-text { font-size: clamp(60px, 10vw, 140px); opacity: .5; }
.hs-media .ph-mark { width: 56px; height: 56px; right: 26px; top: 26px; bottom: auto; }
.hs-slide:hover .thumb img { transform: scale(1.04); }
.hs-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(5, 5, 8, .55) 60%, rgba(5, 5, 8, .94) 100%); pointer-events: none; }
.hs-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 40px 34px; max-width: 820px; color: #fff; }
.hs-body .pill { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; border-color: color-mix(in srgb, var(--ca) 70%, transparent); box-shadow: inset 3px 0 0 var(--ca); }
.hs-title { font-size: clamp(24px, 3.1vw, 42px); line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 12px; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.hs-title a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s ease; }
.hs-title a:hover { background-size: 100% 3px; }
.hs-excerpt { color: rgba(255, 255, 255, .8); font-size: 16px; margin: 0 0 14px; max-width: 640px; }
.hs-body .meta { color: rgba(255, 255, 255, .75); }

.hs-controls { position: absolute; right: 24px; bottom: 26px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.hs-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s ease; }
.hs-btn:hover { background: var(--accent); border-color: var(--accent); }
.hs-dots { display: flex; gap: 6px; }
.hs-dot { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.hs-dot.is-active { width: 26px; background: var(--accent); }

.hero-side { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.hero-side-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.hero-side-title .icon { color: var(--accent); }
.mini { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.mini:first-of-type { border-top: 0; }
.mini-media .thumb { aspect-ratio: 4 / 3; border-radius: 12px; }
.mini-media .ph-text { font-size: 22px; }
.mini-media .ph-mark { display: none; }
.mini-title { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 6px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-title a:hover { color: var(--accent); }
.mini:hover .thumb img { transform: scale(1.06); }

/* ==========================================================================
   Empty hero (brand intro)
   ========================================================================== */
.hero-empty { position: relative; overflow: hidden; padding: 76px 0 84px; border-bottom: 1px solid var(--border); }
.he-bg { position: absolute; inset: 0; pointer-events: none; }
.he-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.he-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.he-glow.g1 { width: 520px; height: 520px; right: 4%; top: -120px; background: rgba(255, 59, 71, .28); }
.he-glow.g2 { width: 360px; height: 360px; left: -80px; bottom: -160px; background: rgba(255, 138, 61, .14); }
:root[data-theme="light"] .he-glow.g1 { background: rgba(255, 59, 71, .18); }
.he-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.he-title { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin: 22px 0 20px; }
.he-title .comma { margin-left: -.12em; }
.he-title span.accent { background: linear-gradient(90deg, #ff3b47, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.he-text { font-size: 17px; line-height: 1.75; color: var(--text-2); max-width: 600px; margin-bottom: 30px; }
.he-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.he-visual { display: flex; justify-content: center; }
.he-orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--text) 18%, transparent); }
.orbit.o1 { inset: 0; animation: je-spin 60s linear infinite; }
.orbit.o2 { inset: 13%; border-style: solid; border-color: color-mix(in srgb, var(--accent) 30%, transparent); animation: je-spin 40s linear infinite reverse; }
.orbit.o3 { inset: 27%; border-color: color-mix(in srgb, var(--text) 10%, transparent); }
.orbit.o2::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.he-mark { position: absolute; inset: 0; display: grid; place-items: center; animation: je-float 6s ease-in-out infinite; }
.he-mark .je-mark { width: 34%; height: auto; filter: drop-shadow(0 20px 40px rgba(255, 59, 71, .45)); }
.he-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
	padding: 8px 14px 8px 8px; border-radius: 14px; font-size: 13px; font-weight: 700;
	background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--border);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow); color: var(--text);
	animation: je-float 7s ease-in-out infinite;
}
.he-chip b { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; font-family: var(--font-display); font-style: italic; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--ca), var(--cb)); }
.he-chip.chip0 { top: 6%; left: -2%; animation-delay: -1s; }
.he-chip.chip1 { top: 20%; right: -8%; animation-delay: -3s; }
.he-chip.chip2 { bottom: 26%; left: -10%; animation-delay: -2s; }
.he-chip.chip3 { bottom: 8%; right: 0; animation-delay: -4s; }
.he-chip.chip4 { top: 50%; right: -16%; animation-delay: -5s; }
@keyframes je-spin { to { transform: rotate(360deg); } }
@keyframes je-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==========================================================================
   Game tiles
   ========================================================================== */
.games { padding: 52px 0 6px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.game-tile {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
	min-height: 186px; padding: 20px; border-radius: 20px; color: #fff;
	background: linear-gradient(150deg, var(--ca) 0%, var(--cb) 78%);
	box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--ca) 80%, transparent);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.game-tile::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
}
.game-tile::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55) 100%);
}
.game-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -22px color-mix(in srgb, var(--ca) 95%, transparent); }
.gt-initials {
	position: absolute; right: -8px; top: -14px; z-index: -1;
	font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 104px; line-height: 1; letter-spacing: -.02em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .38);
	transition: transform .4s ease;
}
.game-tile:hover .gt-initials { transform: translateX(-6px) scale(1.04); }
.gt-top { position: absolute; top: 18px; left: 18px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gt-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.gt-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.gt-count .icon { transition: transform .2s ease; }
.game-tile:hover .gt-count .icon { transform: translateX(4px); }

/* ==========================================================================
   Layout
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 44px; padding-bottom: 72px; }
.content { min-width: 0; }
.content > section + section { margin-top: 56px; }

/* Row cards */
.row-list { display: flex; flex-direction: column; gap: 16px; }
.row-card {
	display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: center;
	padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.row-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow); }
.row-media .thumb { aspect-ratio: 16 / 10; border-radius: 14px; }
.row-card:hover .thumb img { transform: scale(1.05); }
.row-body { min-width: 0; padding-right: 8px; }
.row-title { font-size: 20px; line-height: 1.32; margin: 10px 0 8px; letter-spacing: -.01em; }
.row-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease; }
.row-title a:hover { color: var(--accent); }
.row-excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Grid cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
	display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
	background: var(--surface); border: 1px solid var(--border);
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media .thumb { aspect-ratio: 16 / 10; }
.card:hover .thumb img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.card-title { font-size: 17px; line-height: 1.38; margin: 0; letter-spacing: -.005em; }
.card-title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease; }
.card-title a:hover { color: var(--accent); }
.card .meta { margin-top: auto; }

/* Tabs */
.tab-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab {
	flex: none; cursor: pointer; white-space: nowrap;
	font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
	padding: 10px 16px; border-radius: 11px; color: var(--muted);
	background: var(--surface); border: 1px solid var(--border);
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--text); border-color: var(--border-2); }
.tab[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--ca), var(--cb)); box-shadow: 0 10px 22px -12px var(--ca); }
.tab-panel { animation: je-fade .35s ease; }
@keyframes je-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Empty state */
.empty { text-align: center; padding: 56px 28px; border-radius: 22px; border: 1px dashed var(--border-2); background: var(--surface); }
.empty-visual { position: relative; width: 128px; height: 128px; margin: 0 auto 20px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); animation: je-pulse 2.6s ease-out infinite; }
.ring.r2 { animation-delay: 1.3s; }
@keyframes je-pulse { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.empty h3 { font-size: 22px; margin: 0 0 8px; }
.empty p { color: var(--muted); max-width: 470px; margin: 0 auto; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.admin-bar .sidebar-sticky { top: 142px; }
.side-box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.side-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.side-title span { display: inline-flex; align-items: center; gap: 8px; }
.side-title .icon { color: var(--accent); }
.side-title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--border-2), transparent); }

.side-about { position: relative; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 55%); }
.side-about::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 59, 71, .25), transparent); pointer-events: none; }
.side-about-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.side-about-head strong { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: .05em; line-height: 1.1; font-style: italic; }
.side-about-head strong span { color: var(--accent); }
.side-about-head small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 3px; }
.side-about p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; margin-bottom: 14px; }
.side-about .social { margin-bottom: 14px; }

.pop-list { counter-reset: pop; list-style: none; margin: 0; padding: 0; }
.pop-list li { counter-increment: pop; border-top: 1px dashed var(--border-2); }
.pop-list li:first-child { border-top: 0; }
.pop-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; padding: 12px 0; }
.pop-list a::before { content: counter(pop, decimal-leading-zero); grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 26px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.pop-title { font-weight: 700; font-size: 14.5px; line-height: 1.4; transition: color .2s ease; }
.pop-list a:hover .pop-title { color: var(--accent); }
.pop-date { font-size: 12px; color: var(--muted); margin-top: 3px; }

.side-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.side-cats a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background-color .2s ease; }
.side-cats a:hover { background: var(--surface-2); }
.sc-badge { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--ca), var(--cb)); }
.sc-name { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; }
.sc-count { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 2px 9px; border-radius: 99px; }

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget .wp-block-heading, .widget h2:not(.side-title) { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 14px; }
.widget .wp-block-search__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; background: var(--bg); border: 1px solid var(--border-2); border-radius: 12px; padding: 4px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: 8px 10px; outline: none; }
.widget .wp-block-search__button { border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 700; padding: 8px 14px; cursor: pointer; }
.widget .wp-block-latest-posts a, .widget .wp-block-latest-comments a { font-weight: 700; }
.widget p { color: var(--muted); font-size: 14.5px; margin: 0; }
.widget li { padding: 8px 0; border-top: 1px solid var(--border); }
.widget li:first-child { border-top: 0; }
.widget a:hover { color: var(--accent); }
.widget select, .widget input[type="text"], .widget input[type="email"] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg); color: var(--text); font: inherit; }

/* ==========================================================================
   Page / archive heroes
   ========================================================================== */
:where(.page-hero) { --ca: var(--accent); }
.page-hero {
	position: relative; overflow: hidden; padding: 46px 0 42px; border-bottom: 1px solid var(--border);
	background: radial-gradient(900px 320px at 12% -10%, color-mix(in srgb, var(--ca) 18%, transparent), transparent 70%), var(--bg-2);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-sm { padding: 34px 0 30px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--accent); }
.page-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 14px 0 10px; }
.page-hero-sm .page-title { margin-top: 0; }
.archive-hero .page-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; font-style: italic; }
.archive-hero .kicker { color: var(--ca); background: color-mix(in srgb, var(--ca) 12%, transparent); border-color: color-mix(in srgb, var(--ca) 32%, transparent); }
.page-desc { color: var(--text-2); max-width: 720px; }
.page-desc p:last-child { margin-bottom: 0; }
.ah-count { display: inline-block; margin: 6px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ca); }
.ah-initials {
	position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
	font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(110px, 18vw, 250px); line-height: 1;
	color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--ca) 45%, transparent); pointer-events: none; user-select: none;
}
.page-hero .search-form { max-width: 540px; margin-top: 20px; }

/* ==========================================================================
   Single
   ========================================================================== */
.single-head { padding: 38px 0 26px; }
.single-head .container { max-width: 1000px; }
.single-title { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -.025em; margin: 16px 0 14px; }
.single-lead { font-size: 19px; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline-avatar, .byline img { border-radius: 50%; border: 2px solid var(--accent); }
.byline-name { display: block; font-weight: 800; }
.byline-name a:hover { color: var(--accent); }
.byline-sub { display: block; font-size: 13px; color: var(--muted); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.share-btn {
	position: relative; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; cursor: pointer;
	background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.share-btn:hover { color: #fff; transform: translateY(-2px); }
.s-facebook:hover { background: #1877f2; border-color: #1877f2; }
.s-x:hover { background: #000; border-color: #333; }
.s-whatsapp:hover { background: #25d366; border-color: #25d366; }
.s-telegram:hover { background: #229ed9; border-color: #229ed9; }
.s-copy:hover { background: var(--accent); border-color: var(--accent); }
.copied { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.s-copy.is-copied .copied { opacity: 1; }

.feature { margin: 0 auto; }
.feature img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; border-radius: 24px; }
.feature figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.layout-single { padding-top: 34px; }

.entry { font-size: 18px; line-height: 1.82; color: var(--text-2); overflow-wrap: break-word; }
.entry > *:first-child { margin-top: 0; }
.entry p { margin: 0 0 1.35em; }
.entry h2, .entry h3, .entry h4 { color: var(--text); letter-spacing: -.01em; }
.entry h2 { font-size: 28px; margin: 1.8em 0 .7em; padding-left: 16px; border-left: 4px solid var(--accent); }
.entry h3 { font-size: 22px; margin: 1.6em 0 .6em; }
.entry h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.entry a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry a:hover { text-decoration-thickness: 2px; }
.entry strong { color: var(--text); }
.entry img { border-radius: 16px; }
.entry figure { margin: 1.8em 0; }
.entry figcaption, .entry .wp-caption-text { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.entry blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 16px 16px 0; color: var(--text); font-size: 19px; font-style: italic; }
.entry blockquote p:last-child { margin: 0; }
.entry blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); }
.entry ul, .entry ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.entry li { margin: .45em 0; }
.entry li::marker { color: var(--accent); font-weight: 700; }
.entry hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry th { background: var(--surface-2); color: var(--text); }
.entry code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.entry pre { background: var(--surface-2); padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 15px; }
.entry pre code { padding: 0; background: none; }
.entry iframe, .entry embed, .entry video, .entry object { max-width: 100%; }
.entry .wp-block-embed iframe, .entry iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.wp-caption { max-width: 100%; }
.page-links { display: flex; gap: 8px; align-items: center; margin-top: 24px; font-weight: 700; }

.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; color: var(--muted); }
.tag-row a { padding: 6px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text-2); transition: border-color .2s ease, color .2s ease; }
.tag-row a:hover { border-color: var(--accent); color: var(--accent); }
.share-bottom { margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.author-box { display: flex; align-items: flex-start; gap: 18px; padding: 22px; margin: 28px 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.author-box img { border-radius: 50%; flex: none; }
.ab-label { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ab-name { font-size: 20px; margin: 2px 0 6px; }
.author-box p { color: var(--muted); font-size: 15px; margin: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s ease; }
.pn:hover { border-color: var(--accent); }
.pn span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pn strong { font-size: 15px; line-height: 1.4; }
.pn-next { text-align: right; align-items: flex-end; }
.related { margin-top: 44px; }

/* Comments */
.comments { margin-top: 48px; }
.comments-title { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.comments-title .icon { color: var(--accent); }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 20px; margin-bottom: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comment-metadata a:hover { color: var(--accent); }
.comment-content { color: var(--text-2); }
.reply a { font-size: 13px; font-weight: 800; color: var(--accent); }
.comment-respond { margin-top: 28px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.comment-reply-title { font-size: 22px; margin: 0 0 6px; }
.comment-reply-title small { margin-left: 10px; font-size: 14px; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--bg); color: var(--text); font: inherit;
	transition: border-color .2s ease;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form-cookies-consent label { font-weight: 500; color: var(--muted); }
.form-submit { margin: 18px 0 0; }

/* Forms inside content (Contact Form 7, etc.) */
.entry label { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.entry input[type="text"], .entry input[type="email"], .entry input[type="url"], .entry input[type="tel"],
.entry input[type="number"], .entry input[type="date"], .entry input[type="password"], .entry input[type="search"],
.entry select, .entry textarea {
	display: block; width: 100%; max-width: 100%; margin-top: 8px;
	padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border-2);
	background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 500;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.entry textarea { min-height: 160px; resize: vertical; }
.entry input:focus, .entry select:focus, .entry textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.entry input::placeholder, .entry textarea::placeholder { color: var(--muted); }
.entry input[type="submit"], .entry button[type="submit"], .entry .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
	padding: 14px 28px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; color: #fff;
	background: linear-gradient(135deg, #ff4954, #d70f2a); box-shadow: 0 10px 26px -12px rgba(255, 59, 71, .8);
	transition: transform .2s ease, box-shadow .2s ease;
}
.entry input[type="submit"]:hover, .entry button[type="submit"]:hover, .entry .wpcf7-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(255, 59, 71, .95); }
.wpcf7 form { padding: 28px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); }
.wpcf7 form > p { margin-bottom: 18px; }
.wpcf7 form > p:last-of-type { margin-bottom: 0; }
.wpcf7-not-valid-tip { color: #ff6b74; font-size: 13px; margin-top: 6px; }
.wpcf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; border-radius: 12px; font-size: 14px; }
.wpcf7-spinner { margin-left: 12px; }
@media (max-width: 720px) { .wpcf7 form { padding: 18px; } }

/* Static page */
.page-wrap { max-width: 880px; padding-top: 38px; padding-bottom: 76px; }
.page-wrap .feature { margin-bottom: 30px; }

/* Pagination */
.pagination { margin-top: 34px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; font-weight: 800; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s ease, color .2s ease; }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-numbers.dots { background: transparent; border: 0; }

/* 404 */
.notfound { position: relative; overflow: hidden; text-align: center; padding: 90px 0 110px; }
.notfound::before { content: ""; position: absolute; left: 50%; top: 10%; width: 600px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 59, 71, .2), transparent); pointer-events: none; }
.nf-inner { position: relative; }
.nf-code { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(120px, 22vw, 260px); line-height: .9; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf-title { font-size: clamp(26px, 4vw, 40px); margin: 14px 0 10px; }
.nf-text { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }
.notfound .search-form { max-width: 460px; margin: 0 auto 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: #07070a; color: #a9a9b8; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-glow { position: absolute; top: -220px; left: 50%; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 59, 71, .16), transparent); pointer-events: none; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer .brand-img img { height: 58px; }
.foot-about { font-size: 14.5px; line-height: 1.75; margin: 18px 0 20px; max-width: 420px; }
.social-foot a { color: #d4d4de; }
.foot-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: #a9a9b8; transition: color .2s ease, transform .2s ease; }
.foot-links a:hover { color: #fff; transform: translateX(3px); }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--ca); transform: rotate(45deg); flex: none; }
.foot-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-posts li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.foot-posts li:last-child { border-bottom: 0; padding-bottom: 0; }
.foot-posts a { color: #e6e6ee; font-weight: 700; font-size: 14.5px; line-height: 1.45; transition: color .2s ease; }
.foot-posts a:hover { color: var(--accent); }
.foot-posts span { font-size: 12px; color: #74748a; }
.foot-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: #74748a; }
.foot-bottom p { margin: 0; }

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
	display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff4954, #d70f2a);
	box-shadow: 0 14px 30px -12px rgba(255, 59, 71, .9);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
	.btn-cta { display: none; }
}

@media (max-width: 1180px) {
	.primary-nav { display: none; }
	.burger, .mode-mini { display: inline-grid; }
	.mainbar-inner { justify-content: space-between; }
	.btn-cta { display: inline-flex; }
}

@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.hero-side-title { grid-column: 1 / -1; }
	.mini:nth-of-type(2) { border-top: 0; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar-sticky { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.he-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.he-visual { order: -1; }
	.he-orbit { width: min(340px, 82%); }
	.hero-empty { padding: 40px 0 56px; }
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.row-card { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 720px) {
	:root { --topbar-h: 36px; }
	.container { padding: 0 16px; }
	.topbar { font-size: 12px; }
	.social-top, .topbar-menu { display: none; }
	.mainbar-inner { height: 64px; gap: 12px; }
	.brand-img img { height: 40px; }
	.wordmark { font-size: 19px; }
	.brand .je-mark { width: 38px; height: 38px; }
	.btn-cta { display: none; }
	.icon-btn { width: 40px; height: 40px; }
	.ticker-inner { height: 42px; gap: 10px; }
	.ticker-label { font-size: 11.5px; padding: 4px 9px; }
	.ticker-items a { font-size: 13px; }

	.hero { padding-top: 16px; }
	.hero-slider, .hero-full .hero-slider { aspect-ratio: auto; min-height: 0; height: 460px; border-radius: 20px; }
	.hs-body { padding: 22px 20px 74px; }
	.hs-excerpt { display: none; }
	.hs-controls { left: 20px; right: 20px; bottom: 20px; justify-content: space-between; }
	.hs-btn { width: 40px; height: 40px; }
	.hero-side { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
	.mini:nth-of-type(2) { border-top: 1px solid var(--border); }

	.he-title { font-size: 36px; }
	.he-text { font-size: 16px; }
	.he-chip { font-size: 11.5px; padding: 6px 10px 6px 6px; gap: 7px; }
	.he-chip b { min-width: 28px; height: 24px; font-size: 10.5px; }
	.he-chip.chip0 { left: -4%; }
	.he-chip.chip1 { right: -4%; }
	.he-chip.chip2 { left: -6%; }
	.he-chip.chip4 { right: -6%; top: 56%; }

	.games { padding-top: 36px; }
	.game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.game-tile { min-height: 150px; padding: 16px; border-radius: 16px; }
	.game-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.gt-name { font-size: 17px; }
	.gt-initials { font-size: 80px; }
	.gt-top { top: 14px; left: 14px; width: 34px; height: 34px; }

	.section-title { font-size: 18px; }
	.st-icon { width: 30px; height: 30px; }
	.layout { padding-top: 32px; padding-bottom: 56px; gap: 32px; }
	.row-card { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 16px; align-items: start; }
	.row-media .thumb { aspect-ratio: 1 / 1; border-radius: 12px; }
	.row-media .ph-text { font-size: 22px; }
	.row-media .ph-mark { display: none; }
	.row-title { font-size: 16px; margin: 8px 0 6px; }
	.row-excerpt, .row-card .m-author, .row-card .m-read { display: none; }
	.card-grid { grid-template-columns: minmax(0, 1fr); }
	.sidebar-sticky { grid-template-columns: minmax(0, 1fr); }

	.single-head { padding-top: 26px; }
	.single-lead { font-size: 17px; }
	.single-meta .share-label { display: none; }
	.feature img { border-radius: 16px; }
	.entry { font-size: 17px; }
	.entry h2 { font-size: 23px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.pn-next { text-align: left; align-items: flex-start; }
	.author-box { flex-direction: column; }

	.foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; }
	.foot-bottom-inner { flex-direction: column; }
	.search-overlay-inner { padding-top: 14vh; }
	.big-search .btn span { display: none; }
}

@media (max-width: 400px) {
	.today { font-size: 11.5px; }
	.mt-opt { padding: 3px 8px; }
	.mt-opt .icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ticker-track { overflow-x: auto; }
}
