/*
Theme Name: DIMENSI GAME
Theme URI: http://thelifehouseomaha.org/
Author: DIMENSI GAME
Author URI: http://thelifehouseomaha.org/
Description: Tema portal berita game DIMENSI GAME – Jelajahi Dunia Gaming Tanpa Batas. Gelap, cepat, responsif, lengkap dengan halaman kategori game, meta robots index/follow, canonical, robots.txt, dan schema markup JSON-LD. Setup halaman & menu otomatis saat diaktifkan.
Version: 1.0.1
Requires at least: 6.3
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: dimensi-game
Tags: news, blog, dark, two-columns, right-sidebar, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   Token
   ========================================================================== */
:root {
	--dg-bg: #0a0d16;
	--dg-primary: #7c3aed;
	--dg-accent: #22d3ee;
	--dg-hot: #f43f5e;
	--dg-surface: #111726;
	--dg-surface-2: #172036;
	--dg-border: rgba(148, 163, 184, .14);
	--dg-border-strong: rgba(148, 163, 184, .26);
	--dg-text: #e6eaf2;
	--dg-muted: #9aa4b8;
	--dg-head: "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dg-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--dg-radius: 14px;
	--dg-radius-sm: 9px;
	--dg-grad: linear-gradient(120deg, var(--dg-accent), var(--dg-primary));
	--dg-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
	--dg-max: 1240px;
	--dg-gutter: 20px;
}

/* ==========================================================================
   Dasar
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	background: var(--dg-bg);
	background-image:
		radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--dg-primary) 18%, transparent), transparent 60%),
		radial-gradient(900px 500px at -10% 10%, color-mix(in srgb, var(--dg-accent) 10%, transparent), transparent 60%);
	background-attachment: fixed;
	color: var(--dg-text);
	font-family: var(--dg-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--dg-accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--dg-head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: #fff; letter-spacing: .01em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--dg-accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.dg-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--dg-accent); color: #04121a; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.dg-skip:focus { top: 12px; }
.dg-ico { flex: none; }

.dg-container { width: 100%; max-width: var(--dg-max); margin: 0 auto; padding: 0 var(--dg-gutter); }
.dg-container--narrow { max-width: 860px; }
.dg-grad { background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dg-kicker { font-family: var(--dg-head); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--dg-accent); margin: 0 0 .6rem; }

/* Tombol, badge, link */
.dg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; line-height: 1.2; }
.dg-btn .dg-ico { width: 18px; height: 18px; }
.dg-btn--primary { background: var(--dg-grad); color: #fff; box-shadow: 0 10px 30px -12px var(--dg-primary); }
.dg-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--dg-primary); }
.dg-btn--ghost { border-color: var(--dg-border-strong); color: var(--dg-text); background: rgba(255, 255, 255, .03); }
.dg-btn--ghost:hover { border-color: var(--dg-accent); color: #fff; }
.dg-badge { display: inline-block; font-family: var(--dg-head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb, var(--dg-hot) 18%, transparent); color: #fecdd3; border: 1px solid color-mix(in srgb, var(--dg-hot) 40%, transparent); }
a.dg-badge:hover { color: #fff; }
.dg-badge--glass { background: rgba(10, 13, 22, .55); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.dg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.dg-link .dg-ico { width: 16px; height: 16px; transition: transform .2s; }
.dg-link:hover .dg-ico { transform: translateX(4px); }
.dg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--dg-muted); font-size: .8rem; margin: 0; }
.dg-meta .dg-ico { width: 14px; height: 14px; opacity: .8; }
.dg-meta span + .dg-ico, .dg-meta time + .dg-ico { margin-left: 8px; }
.dg-meta a { color: inherit; }
.dg-meta--lg { font-size: .9rem; }

/* ==========================================================================
   Topbar & header
   ========================================================================== */
.dg-topbar { border-bottom: 1px solid var(--dg-border); background: rgba(5, 7, 13, .6); font-size: .78rem; color: var(--dg-muted); }
.dg-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.dg-topbar p { margin: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.dg-topbar .dg-ico { width: 14px; height: 14px; }
.dg-topbar__slogan { font-family: var(--dg-head); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #c7d2fe; }

.dg-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dg-social__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 30px; height: 30px; border-radius: 8px; color: var(--dg-muted); transition: color .2s, background .2s, transform .2s; }
.dg-social__link .dg-ico { width: 16px; height: 16px; }
.dg-social__link:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.dg-social--footer .dg-social__link, .dg-social--inline .dg-social__link { width: 38px; height: 38px; border: 1px solid var(--dg-border); background: rgba(255, 255, 255, .03); }
.dg-social--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dg-social--grid .dg-social__link { width: 100%; height: auto; justify-content: flex-start; padding: 10px 12px; border: 1px solid var(--dg-border); background: rgba(255, 255, 255, .03); font-size: .85rem; font-weight: 600; color: var(--dg-text); }
.dg-social--grid .dg-social__link--discord:hover { background: #5865f2; }
.dg-social--grid .dg-social__link--facebook:hover { background: #1877f2; }
.dg-social--grid .dg-social__link--instagram:hover { background: #c13584; }
.dg-social--grid .dg-social__link--x:hover { background: #000; }
.dg-social--grid .dg-social__link--youtube:hover { background: #e62117; }
.dg-social--grid .dg-social__link--tiktok:hover { background: #111; box-shadow: inset 0 0 0 1px #25f4ee; }

.dg-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--dg-border); transition: box-shadow .25s; }
.dg-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--dg-bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.admin-bar .dg-header { top: 32px; }
.dg-header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.dg-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.dg-logo a { display: block; }
.dg-logo__img { height: 48px; width: auto; }
.dg-header.is-scrolled .dg-logo__img { height: 42px; }
.dg-logo--footer .dg-logo__img { height: 44px; }

.dg-nav { margin-left: auto; }
.dg-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.dg-menu > li { position: relative; }
.dg-menu a { display: block; padding: 10px 12px; font-family: var(--dg-head); font-weight: 700; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dg-text); border-radius: 8px; white-space: nowrap; position: relative; }
.dg-menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--dg-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.dg-menu a:hover, .dg-menu .current-menu-item > a, .dg-menu .current_page_item > a { color: #fff; }
.dg-menu a:hover::after, .dg-menu .current-menu-item > a::after, .dg-menu .current_page_item > a::after { transform: scaleX(1); }
.dg-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius-sm); box-shadow: var(--dg-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.dg-menu li:hover > .sub-menu, .dg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dg-nav__extra { display: none; }

.dg-header__actions { display: flex; gap: 6px; }
.dg-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--dg-border); background: rgba(255, 255, 255, .03); color: var(--dg-text); cursor: pointer; transition: .2s; }
.dg-icon-btn:hover { border-color: var(--dg-accent); color: #fff; }
.dg-menu-toggle { display: none; }
.dg-menu-toggle__close { display: none; }
.dg-menu-toggle[aria-expanded="true"] .dg-menu-toggle__open { display: none; }
.dg-menu-toggle[aria-expanded="true"] .dg-menu-toggle__close { display: inline-flex; }

.dg-search { border-top: 1px solid var(--dg-border); padding: 16px 0; background: var(--dg-surface); }
.dg-searchform { display: flex; gap: 8px; }
.dg-searchform__input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--dg-border-strong); background: rgba(0, 0, 0, .25); color: var(--dg-text); font: inherit; }
.dg-searchform__input::placeholder { color: var(--dg-muted); }
.dg-searchform__input:focus { outline: none; border-color: var(--dg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dg-accent) 25%, transparent); }

/* Ticker */
.dg-ticker { border-bottom: 1px solid var(--dg-border); background: rgba(255, 255, 255, .02); font-size: .85rem; }
.dg-ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.dg-ticker__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--dg-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--dg-hot); color: #fff; }
.dg-ticker__label .dg-ico { width: 13px; height: 13px; }
.dg-ticker__track { flex: 1; overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.dg-ticker__list { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 36px; padding-right: 36px; animation: dg-marquee 45s linear infinite; }
.dg-ticker__track:hover .dg-ticker__list { animation-play-state: paused; }
.dg-ticker__list li { white-space: nowrap; position: relative; }
.dg-ticker__list li::before { content: ""; position: absolute; left: -21px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--dg-accent); }
.dg-ticker__list a { color: var(--dg-text); }
.dg-ticker__list a:hover { color: var(--dg-accent); }
@keyframes dg-marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Beranda
   ========================================================================== */
.dg-main { display: block; min-height: 50vh; }
.dg-main:focus { outline: none; }

.dg-intro { padding: 40px 0 22px; }
.dg-intro__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 48px; align-items: end; }
.dg-intro__title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 0; text-transform: uppercase; letter-spacing: .01em; }
.dg-intro__lead { color: var(--dg-muted); margin: 0; font-size: 1.02rem; border-left: 2px solid var(--dg-primary); padding-left: 18px; }

.dg-hero { padding: 10px 0 32px; }
.dg-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, minmax(210px, 1fr)); gap: 14px; }
.dg-hero__grid > :first-child { grid-row: span 2; }

.dg-gcard { position: relative; border-radius: var(--dg-radius); overflow: hidden; background: var(--dg-surface); isolation: isolate; box-shadow: var(--dg-shadow); min-height: 210px; }
.dg-gcard__link { position: absolute; inset: 0; display: flex; align-items: flex-end; color: #fff; }
.dg-gcard__media, .dg-gcard__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg-gcard__media img, .dg-gcard__media svg { object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dg-gcard:hover .dg-gcard__media img, .dg-gcard:hover .dg-gcard__media svg { transform: scale(1.06); }
.dg-gcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, 0) 30%, rgba(5, 7, 13, .92) 100%); z-index: 1; }
.dg-gcard__body { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dg-gcard__title { margin: 4px 0 0; font-size: 1.3rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.dg-gcard--big .dg-gcard__body { padding: 30px; gap: 8px; }
.dg-gcard--big .dg-gcard__title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.dg-gcard__tagline { color: #c7d2fe; font-weight: 600; font-size: .95rem; }
.dg-gcard__excerpt { color: rgba(230, 234, 242, .85); font-size: .95rem; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dg-gcard__meta { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dg-accent); font-weight: 600; }
.dg-gcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; z-index: 3; transition: border-color .3s; }
.dg-gcard:hover::after { border-color: color-mix(in srgb, var(--dg-accent) 60%, transparent); }
.dg-gcard--row-card { aspect-ratio: 16 / 10; }

/* Layout dua kolom */
.dg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.dg-section { margin-bottom: 44px; }
.dg-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--dg-border); position: relative; }
.dg-section__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--dg-grad); }
.dg-section__title { font-size: 1.45rem; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.dg-section__sub { margin: 0; color: var(--dg-muted); font-size: .9rem; }
.dg-section__head--center { flex-direction: column; align-items: center; text-align: center; border: 0; }
.dg-section__head--center::after { left: 50%; margin-left: -36px; }

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

/* Kartu posting */
.dg-card { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.dg-card:hover { transform: translateY(-3px); border-color: var(--dg-border-strong); }
.dg-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dg-surface-2); }
.dg-card__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dg-card:hover .dg-card__media > * { transform: scale(1.05); }
.dg-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dg-card__title { font-size: 1.1rem; margin: 0; }
.dg-card__title a { color: #fff; }
.dg-card__title a:hover { color: var(--dg-accent); }
.dg-card__excerpt { color: var(--dg-muted); font-size: .9rem; margin: 0; flex: 1; }
.dg-media__fallback { width: 100%; height: 100%; background: var(--dg-grad); opacity: .5; }

/* Daftar game (row) */
.dg-rows { display: flex; flex-direction: column; gap: 18px; }
.dg-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); overflow: hidden; transition: border-color .25s; }
.dg-row:hover { border-color: var(--dg-border-strong); }
.dg-row__media { display: block; position: relative; min-height: 200px; overflow: hidden; }
.dg-row__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dg-row:hover .dg-row__media > * { transform: scale(1.05); }
.dg-row__body { padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dg-row__eyebrow { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dg-accent); font-weight: 700; }
.dg-row__title { margin: 0; font-size: 1.35rem; }
.dg-row__title a { color: #fff; }
.dg-row__title a:hover { color: var(--dg-accent); }
.dg-row__excerpt { color: var(--dg-muted); font-size: .92rem; margin: 0; }
.dg-row__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0; font-size: .82rem; }
.dg-row__facts dt { color: var(--dg-muted); display: inline; }
.dg-row__facts dt::after { content: ": "; }
.dg-row__facts dd { display: inline; margin: 0; color: var(--dg-text); font-weight: 600; }

/* Sidebar */
.dg-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.admin-bar .dg-sidebar { top: 132px; }
.dg-box { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); padding: 20px; }
.dg-box__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.dg-box__title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--dg-grad); }
.dg-box p { color: var(--dg-muted); font-size: .9rem; }
.dg-box--about { background: linear-gradient(160deg, color-mix(in srgb, var(--dg-primary) 22%, var(--dg-surface)), var(--dg-surface) 70%); }
.dg-box .dg-searchform { flex-direction: column; }
.dg-box .dg-searchform .dg-btn { justify-content: center; }
.dg-ranklist { list-style: none; margin: 0; padding: 0; counter-reset: rank; display: flex; flex-direction: column; gap: 10px; }
.dg-ranklist a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; color: var(--dg-text); transition: background .2s; }
.dg-ranklist a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.dg-ranklist__thumb { position: relative; flex: none; width: 76px; height: 50px; border-radius: 8px; overflow: hidden; }
.dg-ranklist__thumb > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dg-ranklist__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.dg-ranklist__text strong { font-family: var(--dg-head); font-size: .95rem; }
.dg-ranklist__text small { color: var(--dg-muted); font-size: .75rem; }

/* Liputan */
.dg-coverage { padding: 64px 0; border-top: 1px solid var(--dg-border); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.dg-coverage .dg-section__title { font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: none; }
.dg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.dg-tile { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); padding: 22px; transition: transform .25s, border-color .25s; }
.dg-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--dg-accent) 45%, transparent); }
.dg-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--dg-primary) 22%, transparent); color: var(--dg-accent); margin-bottom: 12px; }
.dg-tile__icon .dg-ico { width: 22px; height: 22px; }
.dg-tile__title { font-size: 1.1rem; margin: 0 0 6px; }
.dg-tile p { margin: 0; color: var(--dg-muted); font-size: .9rem; }
.dg-platforms { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dg-platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--dg-border-strong); font-family: var(--dg-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dg-text); }
.dg-platforms .dg-ico { width: 18px; height: 18px; color: var(--dg-accent); }

/* CTA */
.dg-cta { padding: 0 0 64px; }
.dg-cta__inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border-radius: 20px; background: linear-gradient(120deg, color-mix(in srgb, var(--dg-primary) 45%, var(--dg-surface)), color-mix(in srgb, var(--dg-accent) 25%, var(--dg-surface))); border: 1px solid rgba(255, 255, 255, .12); max-width: calc(var(--dg-max) - 2 * var(--dg-gutter)); margin: 0 auto; }
.dg-cta__quote { margin: 0; flex: 1 1 420px; }
.dg-cta__quote p { margin: 0; font-family: var(--dg-head); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.35; color: #fff; }
.dg-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dg-cta .dg-btn--primary { background: #fff; color: #1e1b4b; }
.dg-cta .dg-btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }

/* ==========================================================================
   Halaman game
   ========================================================================== */
.dg-ghero { position: relative; isolation: isolate; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.dg-ghero__media, .dg-ghero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dg-ghero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 22, .25) 0%, rgba(10, 13, 22, .55) 50%, var(--dg-bg) 100%), linear-gradient(90deg, rgba(10, 13, 22, .85), rgba(10, 13, 22, 0) 70%); }
.dg-ghero__inner { padding-top: 40px; padding-bottom: 36px; }
.dg-ghero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); text-transform: uppercase; margin: 0 0 .25em; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.dg-ghero__tagline { font-size: 1.1rem; color: #dbeafe; max-width: 640px; margin-bottom: 16px; }
.dg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dg-chips li, .dg-chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(10, 13, 22, .55); border: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 600; color: #fff; backdrop-filter: blur(6px); }
.dg-chips--links { justify-content: center; margin: 22px 0 26px; }
.dg-chips--links li { padding: 0; border: 0; background: none; }
.dg-chips--links a:hover { border-color: var(--dg-accent); }

.dg-breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .82rem; color: var(--dg-muted); }
.dg-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.dg-breadcrumbs a { color: var(--dg-muted); }
.dg-breadcrumbs a:hover { color: #fff; }
.dg-breadcrumbs [aria-current] { color: var(--dg-text); }

.dg-article__lead { font-size: 1.15rem; color: #dbe3f0; line-height: 1.65; border-left: 3px solid var(--dg-accent); padding-left: 18px; margin-bottom: 24px; }
.dg-factbox { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); padding: 20px 22px; margin-bottom: 30px; }
.dg-factbox__title { display: flex; align-items: center; gap: 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.dg-factbox__title .dg-ico { color: var(--dg-accent); }
.dg-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.dg-facts > div { border-top: 1px solid var(--dg-border); padding-top: 10px; }
.dg-facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dg-muted); font-weight: 700; }
.dg-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .93rem; }

.dg-empty { text-align: center; padding: 36px 24px; border: 1px dashed var(--dg-border-strong); border-radius: var(--dg-radius); color: var(--dg-muted); }
.dg-empty > .dg-ico { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--dg-accent); }
.dg-empty .dg-social, .dg-empty .dg-searchform { justify-content: center; max-width: 480px; margin: 12px auto 0; }

/* ==========================================================================
   Konten artikel & halaman
   ========================================================================== */
.dg-phead { padding: 44px 0 26px; border-bottom: 1px solid var(--dg-border); margin-bottom: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--dg-primary) 10%, transparent), transparent); }
.dg-phead__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 .3em; }
.dg-phead--post .dg-badge { margin-bottom: 14px; }
.dg-phead__lead { color: var(--dg-muted); font-size: 1.05rem; max-width: 720px; margin: 0; }
.dg-article--page { padding: 30px 0 64px; }
.dg-article__figure { margin: 0 0 26px; border-radius: var(--dg-radius); overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.dg-article__figure > * { width: 100%; height: 100%; object-fit: cover; }

.dg-content { font-size: 1.04rem; color: #d5dbe7; }
.dg-content > * { max-width: 100%; }
.dg-content h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; padding-top: .2em; }
.dg-content h2:first-child { margin-top: 0; }
.dg-content h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.dg-content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--dg-accent) 50%, transparent); text-underline-offset: 3px; word-break: break-word; }
.dg-content ul, .dg-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.dg-content li { margin-bottom: .45em; }
.dg-content li::marker { color: var(--dg-accent); }
.dg-content strong { color: #fff; }
.dg-content blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--dg-primary); background: var(--dg-surface); border-radius: 0 var(--dg-radius-sm) var(--dg-radius-sm) 0; }
.dg-content img { border-radius: var(--dg-radius-sm); }
.dg-content figure { margin: 1.5em 0; }
.dg-content figcaption { font-size: .82rem; color: var(--dg-muted); margin-top: 6px; }
.dg-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; display: block; overflow-x: auto; }
.dg-content th, .dg-content td { border: 1px solid var(--dg-border); padding: 10px 12px; text-align: left; }
.dg-content th { background: var(--dg-surface-2); color: #fff; }
.dg-content .dg-lead { font-size: 1.15rem; }
.dg-content .dg-social-list { list-style: none; padding: 0; }
.dg-content .dg-social-list li { padding: 8px 0; border-bottom: 1px solid var(--dg-border); margin: 0; }
.dg-content input[type="text"], .dg-content input[type="email"], .dg-content input[type="url"], .dg-content input[type="tel"], .dg-content textarea, .dg-content select,
.dg-comments input[type="text"], .dg-comments input[type="email"], .dg-comments input[type="url"], .dg-comments textarea { width: 100%; padding: 12px 14px; border-radius: var(--dg-radius-sm); border: 1px solid var(--dg-border-strong); background: rgba(0, 0, 0, .25); color: var(--dg-text); font: inherit; }
.dg-content input[type="submit"], .dg-content button[type="submit"] { padding: 12px 22px; border-radius: 999px; border: 0; background: var(--dg-grad); color: #fff; font-weight: 700; cursor: pointer; }
.dg-content .alignleft { float: left; margin: .3em 1.2em 1em 0; }
.dg-content .alignright { float: right; margin: .3em 0 1em 1.2em; }
.dg-content .aligncenter { margin-left: auto; margin-right: auto; }

.dg-tags { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; }
.dg-tags span { color: var(--dg-muted); }
.dg-tags a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--dg-border-strong); color: var(--dg-text); }
.dg-tags a:hover { border-color: var(--dg-accent); }
.dg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--dg-border); color: var(--dg-muted); font-size: .9rem; }

.dg-pagination { margin-top: 30px; }
.dg-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--dg-border); color: var(--dg-text); }
.dg-pagination .page-numbers.current, .dg-pagination .page-numbers:hover { background: var(--dg-grad); border-color: transparent; color: #fff; }

.dg-comments { margin-top: 44px; }
.dg-comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.dg-comment-list .comment-body { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); padding: 16px 18px; margin-bottom: 12px; }
.dg-comment-list .children { list-style: none; padding-left: 24px; }
.dg-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.dg-comment-list .comment-meta { font-size: .8rem; color: var(--dg-muted); }
.comment-respond { background: var(--dg-surface); border: 1px solid var(--dg-border); border-radius: var(--dg-radius); padding: 22px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: .85rem; margin-bottom: 4px; color: var(--dg-muted); }

/* 404 */
.dg-404 { text-align: center; padding: 70px 0 80px; }
.dg-404__code { font-family: var(--dg-head); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0 0 10px; background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dg-404 .dg-phead__lead { margin: 0 auto 24px; }
.dg-404 .dg-searchform { max-width: 520px; margin: 0 auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.dg-footer { border-top: 1px solid var(--dg-border); background: #06080f; color: var(--dg-muted); font-size: .9rem; }
.dg-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.dg-footer__brand p { margin: 16px 0 18px; max-width: 360px; }
.dg-footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin: 6px 0 16px; color: #fff; }
.dg-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dg-footer-links a { color: var(--dg-muted); }
.dg-footer-links a:hover { color: var(--dg-accent); }
.dg-footer__bottom { border-top: 1px solid var(--dg-border); }
.dg-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; }
.dg-footer__bottom p { margin: 0; }
.dg-footer__slogan { font-family: var(--dg-head); letter-spacing: .06em; color: #c7d2fe; }

.dg-totop { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--dg-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; box-shadow: 0 12px 30px -10px var(--dg-primary); }
.dg-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* WordPress core */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .82rem; color: var(--dg-muted); }
.sticky .dg-card__title::before { content: "★ "; color: var(--dg-hot); }
.bypostauthor { }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1180px) {
	.dg-menu a { padding: 10px 9px; font-size: .8rem; letter-spacing: .04em; }
}

@media (max-width: 1080px) {
	.dg-menu-toggle { display: inline-flex; }
	.dg-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); margin: 0; background: var(--dg-surface); border-left: 1px solid var(--dg-border); padding: 128px 22px 30px; overflow-y: auto; z-index: 99; display: none; flex-direction: column; gap: 24px; }
	.admin-bar .dg-nav { top: 46px; }
	.dg-nav.is-open { display: flex; box-shadow: -30px 0 60px rgba(0, 0, 0, .6); animation: dg-slide-in .28s ease; }
	@keyframes dg-slide-in { from { transform: translateX(100%); } to { transform: none; } }
	.dg-menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.dg-menu a { padding: 14px 12px; font-size: .95rem; border: 1px solid var(--dg-border); background: rgba(255, 255, 255, .02); }
	.dg-menu a::after { display: none; }
	.dg-menu .current-menu-item > a, .dg-menu .current_page_item > a { border-color: var(--dg-accent); }
	.dg-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 0 12px; background: none; }
	.dg-nav__extra { display: block; }
	.dg-header__actions { margin-left: auto; position: relative; z-index: 101; }
	body.dg-nav-open { overflow: hidden; }
	body.dg-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 98; }
	.dg-layout { grid-template-columns: minmax(0, 1fr); }
	.dg-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dg-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.dg-intro__inner { grid-template-columns: 1fr; }
	.dg-hero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.dg-hero__grid > :first-child { grid-column: span 2; grid-row: auto; min-height: 340px; }
	.dg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dg-row { grid-template-columns: 1fr; }
	.dg-row__media { min-height: 0; aspect-ratio: 16 / 9; }
	.dg-topbar .dg-topbar__slogan { display: none; }
}

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

@media (max-width: 600px) {
	:root { --dg-gutter: 16px; }
	.admin-bar .dg-header { top: 0; }
	.dg-header__inner { min-height: 64px; gap: 12px; }
	.dg-logo__img, .dg-header.is-scrolled .dg-logo__img { height: 38px; }
	.dg-topbar .dg-social { display: none; }
	.dg-hero__grid { grid-template-columns: 1fr; }
	.dg-hero__grid > :first-child { grid-column: auto; min-height: 380px; }
	.dg-gcard { min-height: 190px; }
	.dg-gcard--big .dg-gcard__body { padding: 20px; }
	.dg-grid--2, .dg-tiles, .dg-facts, .dg-sidebar { grid-template-columns: minmax(0, 1fr); }
	.dg-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.dg-cta__inner { padding: 26px 20px; border-radius: 16px; }
	.dg-searchform .dg-btn span { display: none; }
	.dg-ghero { min-height: 360px; }
	.dg-intro { padding-top: 28px; }
	.dg-ticker__label span, .dg-ticker__label { font-size: .66rem; }
}

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