/*
 * Dancz Ministries game-portal homepage direction.
 * Scoped to the WordPress home template so existing pages stay stable.
 */

.home #masthead,
.home #colophon,
.home .site-header,
.home .site-footer,
.home .dm-studio-sitebar-outer,
.home .dm-studio-publisher-home {
	display: none !important;
}

.home #primary,
.home .content-area,
.home .site-content,
.home .site-main,
.home article,
.home .entry-content,
.home .ast-container {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.home .entry-content > .dancz-gameportal {
	margin: 0 !important;
}

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

.dancz-gameportal {
	--dgp-bg: #03070c;
	--dgp-panel: rgba(5, 13, 23, 0.88);
	--dgp-panel-2: rgba(10, 22, 35, 0.94);
	--dgp-line: rgba(220, 176, 54, 0.26);
	--dgp-line-soft: rgba(166, 205, 232, 0.15);
	--dgp-gold: #d6a935;
	--dgp-gold-2: #f5d56b;
	--dgp-teal: #48d7ca;
	--dgp-blue: #76a8ff;
	--dgp-text: #edf4ff;
	--dgp-muted: #9db4ca;
	--dgp-muted-2: #64788c;
	--dgp-ok: #71dfa4;
	--dgp-serif: Georgia, "Times New Roman", serif;
	--dgp-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	background:
		radial-gradient(circle at 50% 0%, rgba(214, 169, 53, 0.12), transparent 32rem),
		linear-gradient(180deg, #02060b 0%, #06101a 42%, #02060b 100%);
	color: var(--dgp-text);
	font-family: var(--dgp-sans);
	isolation: isolate;
	min-height: 100vh;
	overflow-x: hidden;
	padding: 0;
	position: relative;
	width: 100vw;
}

.dancz-gameportal::before {
	background-image:
		radial-gradient(1px 1px at 7% 14%, rgba(255, 255, 255, 0.65), transparent),
		radial-gradient(1px 1px at 16% 78%, rgba(255, 255, 255, 0.38), transparent),
		radial-gradient(1px 1px at 34% 23%, rgba(255, 255, 255, 0.32), transparent),
		radial-gradient(1px 1px at 49% 59%, rgba(255, 255, 255, 0.4), transparent),
		radial-gradient(1px 1px at 63% 18%, rgba(255, 255, 255, 0.58), transparent),
		radial-gradient(1px 1px at 84% 32%, rgba(255, 255, 255, 0.48), transparent),
		radial-gradient(1px 1px at 94% 72%, rgba(255, 255, 255, 0.36), transparent);
	content: "";
	inset: 0;
	opacity: 0.85;
	pointer-events: none;
	position: absolute;
	z-index: -2;
}

.dancz-gameportal::after {
	background:
		radial-gradient(circle at 50% 34%, rgba(214, 169, 53, 0.11), transparent 28rem),
		linear-gradient(90deg, rgba(214, 169, 53, 0.08), transparent 11%, transparent 89%, rgba(214, 169, 53, 0.08));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.dancz-gameportal a {
	color: inherit;
}

.dgp-reference-page {
	background: #02060b;
	line-height: 0;
	margin: 0 auto;
	max-width: 1536px;
	position: relative;
	width: 100%;
}

.dgp-reference-page-img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.dgp-hotspot {
	background: transparent;
	border: 0;
	display: block;
	position: absolute;
	text-decoration: none;
}

.dgp-hotspot:focus-visible {
	outline: 2px solid rgba(245, 213, 107, 0.85);
	outline-offset: 2px;
}

.dgp-hotspot-home { left: 28.4%; top: 6.5%; width: 4.2%; height: 2.5%; }
.dgp-hotspot-ministry { left: 7.8%; top: 61.1%; width: 13.8%; height: 15.2%; }
.dgp-hotspot-ruachdavid { left: 26.5%; top: 46.3%; width: 16.8%; height: 6.1%; }
.dgp-hotspot-sanctum { left: 38%; top: 61.1%; width: 13.8%; height: 15.2%; }
.dgp-hotspot-support { left: 67.9%; top: 61.1%; width: 13.8%; height: 15.2%; }
.dgp-hotspot-log { left: 44.6%; top: 46.3%; width: 16.8%; height: 6.1%; }

.dgp-shell {
	display: none;
	background: rgba(3, 8, 14, 0.86);
	border: 1px solid rgba(214, 169, 53, 0.35);
	border-radius: 20px;
	box-shadow: 0 38px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
	margin: 0 auto;
	max-width: 1510px;
	overflow: visible;
	position: relative;
}

.dgp-chrome {
	align-items: center;
	background: linear-gradient(180deg, rgba(5, 11, 18, 0.98), rgba(2, 6, 11, 0.96));
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: grid;
	gap: 1rem;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	min-height: 54px;
	padding: 0 1rem;
	position: sticky;
	top: 0;
	z-index: 20;
}

.admin-bar .dgp-chrome {
	top: 32px;
}

.dgp-window-controls {
	display: flex;
	gap: 0.42rem;
}

.dgp-window-controls span {
	background: rgba(156, 172, 185, 0.36);
	border-radius: 999px;
	display: block;
	height: 8px;
	width: 8px;
}

.dgp-window-controls span:first-child {
	background: rgba(214, 169, 53, 0.72);
}

.dgp-brand {
	align-items: center;
	color: var(--dgp-gold);
	display: flex;
	font-size: 0.72rem;
	font-weight: 900;
	gap: 0.65rem;
	letter-spacing: 0.16em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.dgp-brand-mark {
	border: 1px solid var(--dgp-gold);
	box-shadow: 0 0 22px rgba(214, 169, 53, 0.55);
	height: 10px;
	transform: rotate(45deg);
	width: 10px;
}

.dgp-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	justify-content: flex-end;
}

.dgp-nav a,
.dgp-menu-button {
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--dgp-muted);
	font-size: 0.62rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 0.38rem 0.65rem;
	text-decoration: none;
	text-transform: uppercase;
}

.dgp-nav a:hover,
.dgp-nav a:focus-visible,
.dgp-nav .is-active {
	background: rgba(214, 169, 53, 0.1);
	border-color: rgba(214, 169, 53, 0.42);
	color: var(--dgp-gold-2);
	outline: none;
}

.dgp-menu-button {
	background: var(--dgp-gold);
	border-color: var(--dgp-gold);
	border-radius: 8px;
	color: #060a0e;
	font-weight: 950;
}

.dgp-stage {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
}

.dgp-rail {
	align-content: start;
	background: linear-gradient(180deg, rgba(4, 10, 17, 0.9), rgba(2, 6, 11, 0.96));
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	display: grid;
	gap: 0.75rem;
	justify-items: center;
	padding: 1rem 0.65rem;
}

.dgp-rail a {
	align-items: center;
	background: rgba(8, 17, 27, 0.82);
	border: 1px solid rgba(214, 169, 53, 0.25);
	border-radius: 12px;
	color: var(--dgp-gold-2);
	display: grid;
	font-family: var(--dgp-serif);
	font-size: 0.78rem;
	font-weight: 900;
	height: 38px;
	justify-items: center;
	text-decoration: none;
	width: 38px;
}

.dgp-rail a:hover,
.dgp-rail a:focus-visible {
	background: rgba(214, 169, 53, 0.14);
	outline: 1px solid rgba(214, 169, 53, 0.45);
}

.dgp-page {
	min-width: 0;
}

.dgp-hero {
	background: #02060b;
	min-height: 0;
	padding: 10px 10px 22px;
	position: relative;
}

.dgp-reference-frame {
	background: #02060b;
	border: 0;
	line-height: 0;
	margin: 0 auto;
	max-width: 1296px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.dgp-hero-art {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: initial;
	object-position: initial;
	position: relative;
	width: 100%;
	z-index: 1;
}

.dgp-hero::before {
	content: "";
	display: none;
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.dgp-hero::after {
	content: "";
	display: none;
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.dgp-hero-grid {
	align-items: end;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	margin-top: 1rem;
	position: relative;
	z-index: 1;
}

.dgp-hero-copy {
	max-width: 660px;
	min-width: 0;
	padding: 0.2rem 0 0.3rem 0.4rem;
}

.dgp-kicker {
	align-items: center;
	color: var(--dgp-gold-2);
	display: inline-flex;
	font-size: 0.62rem;
	font-weight: 900;
	gap: 0.7rem;
	letter-spacing: 0.24em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.dgp-kicker::before {
	background: var(--dgp-gold);
	content: "";
	height: 1px;
	width: 34px;
}

.dgp-hero h1,
.dgp-section-title,
.dgp-portal-card h3,
.dgp-proof-grid strong {
	font-family: var(--dgp-serif);
}

.dgp-hero h1 {
	color: var(--dgp-text);
	font-size: clamp(3.1rem, 7.2vw, 7.2rem);
	letter-spacing: 0;
	line-height: 0.9;
	margin: 0;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.dgp-hero h1 span {
	color: var(--dgp-gold);
	display: block;
	font-style: italic;
}

.dgp-lede {
	color: #c4d8ed;
	font-size: 1rem;
	line-height: 1.7;
	margin: 1.15rem 0 0;
	max-width: 620px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

.dgp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.55rem;
}

.dgp-btn {
	align-items: center;
	background: rgba(4, 11, 19, 0.86);
	border: 1px solid rgba(214, 169, 53, 0.45);
	border-radius: 8px;
	color: var(--dgp-text);
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 950;
	gap: 0.55rem;
	justify-content: center;
	letter-spacing: 0.13em;
	min-height: 44px;
	padding: 0.72rem 1.05rem;
	text-decoration: none;
	text-transform: uppercase;
}

.dgp-btn:hover,
.dgp-btn:focus-visible {
	background: rgba(214, 169, 53, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.dgp-btn-primary {
	background: var(--dgp-gold);
	border-color: var(--dgp-gold);
	color: #060a0e;
}

.dgp-btn-primary:hover,
.dgp-btn-primary:focus-visible {
	background: var(--dgp-gold-2);
	color: #060a0e;
}

.dgp-btn-teal {
	border-color: rgba(72, 215, 202, 0.55);
	color: var(--dgp-teal);
}

.dgp-signal-bar {
	background: rgba(5, 14, 24, 0.78);
	border: 1px solid rgba(214, 169, 53, 0.25);
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1rem;
	padding: 0.62rem;
	width: fit-content;
}

.dgp-signal-bar span {
	color: var(--dgp-muted);
	font-size: 0.62rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.dgp-signal-bar strong {
	color: var(--dgp-gold-2);
}

.dgp-panel {
	background: linear-gradient(180deg, rgba(7, 17, 29, 0.93), rgba(3, 8, 15, 0.94));
	border: 1px solid rgba(214, 169, 53, 0.27);
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.dgp-quest-panel {
	margin: 0 0 0.2rem;
}

.dgp-panel-head {
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--dgp-gold-2);
	display: flex;
	font-size: 0.68rem;
	font-weight: 950;
	gap: 1rem;
	justify-content: space-between;
	letter-spacing: 0.16em;
	min-height: 44px;
	padding: 0.72rem 0.85rem;
	text-transform: uppercase;
}

.dgp-panel-body {
	padding: 0.85rem;
}

.dgp-status {
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(166, 205, 232, 0.18);
	border-radius: 999px;
	color: var(--dgp-muted);
	display: inline-flex;
	font-size: 0.55rem;
	font-style: normal;
	font-weight: 950;
	letter-spacing: 0.13em;
	min-height: 24px;
	padding: 0.18rem 0.55rem;
	text-transform: uppercase;
}

.dgp-status-gold {
	background: rgba(214, 169, 53, 0.1);
	border-color: rgba(214, 169, 53, 0.42);
	color: var(--dgp-gold-2);
}

.dgp-status-teal {
	background: rgba(72, 215, 202, 0.09);
	border-color: rgba(72, 215, 202, 0.38);
	color: var(--dgp-teal);
}

.dgp-status-ok {
	background: rgba(113, 223, 164, 0.09);
	border-color: rgba(113, 223, 164, 0.38);
	color: var(--dgp-ok);
}

.dgp-quest-list {
	display: grid;
	gap: 0.62rem;
}

.dgp-quest {
	align-items: center;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(166, 205, 232, 0.12);
	border-radius: 9px;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 62px;
	padding: 0.6rem;
	text-decoration: none;
}

.dgp-quest:hover,
.dgp-quest:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	outline: 1px solid rgba(214, 169, 53, 0.45);
}

.dgp-quest-icon {
	border: 1px solid rgba(214, 169, 53, 0.32);
	border-radius: 8px;
	color: var(--dgp-gold-2);
	display: grid;
	font-size: 0.62rem;
	font-weight: 950;
	height: 34px;
	letter-spacing: 0.08em;
	place-items: center;
	width: 34px;
}

.dgp-quest strong,
.dgp-quest em {
	display: block;
	font-style: normal;
}

.dgp-quest strong {
	color: var(--dgp-text);
	font-family: var(--dgp-serif);
	font-size: 0.92rem;
}

.dgp-quest em {
	color: var(--dgp-muted);
	font-size: 0.68rem;
	margin-top: 0.14rem;
}

.dgp-panel-cta {
	background: rgba(214, 169, 53, 0.1);
	border-top: 1px solid rgba(214, 169, 53, 0.18);
	color: var(--dgp-gold-2);
	display: block;
	font-size: 0.62rem;
	font-weight: 950;
	letter-spacing: 0.14em;
	padding: 0.78rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.dgp-section {
	background: rgba(3, 9, 16, 0.78);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2.4rem 1.35rem;
}

.dgp-section-menu {
	background:
		radial-gradient(circle at 50% 10%, rgba(214, 169, 53, 0.08), transparent 23rem),
		rgba(3, 9, 16, 0.82);
}

.dgp-section-head {
	align-items: end;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.dgp-section-head-tight {
	align-items: center;
}

.dgp-section-title {
	color: var(--dgp-text);
	font-size: clamp(1.9rem, 3.2vw, 3.3rem);
	line-height: 1.02;
	margin: 0;
}

.dgp-section-note {
	color: var(--dgp-muted);
	line-height: 1.55;
	margin: 0.5rem 0 0;
	max-width: 430px;
}

.dgp-portal-grid {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	overflow: hidden;
}

.dgp-portal-card {
	background: #07111d;
	min-height: 252px;
	overflow: hidden;
	padding: 0.8rem;
	position: relative;
	text-decoration: none;
}

.dgp-card-art {
	background: #02060b;
	border: 1px solid rgba(214, 169, 53, 0.18);
	border-radius: 8px;
	display: block;
	height: 108px;
	margin-bottom: 0.8rem;
	position: relative;
}

.dgp-card-art img {
	display: block;
	height: 100%;
	object-fit: contain;
	object-position: center;
	width: 100%;
}

.dgp-portal-card:hover .dgp-card-art,
.dgp-portal-card:focus-visible .dgp-card-art {
	border-color: rgba(214, 169, 53, 0.48);
}

.dgp-card-icon {
	align-items: center;
	border: 1px solid rgba(214, 169, 53, 0.36);
	border-radius: 50%;
	color: var(--dgp-gold-2);
	display: grid;
	font-family: var(--dgp-serif);
	font-size: 0.86rem;
	font-weight: 900;
	height: 32px;
	justify-items: center;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 32px;
}

.dgp-portal-card h3 {
	color: var(--dgp-text);
	font-size: 1.16rem;
	margin: 0 0 0.45rem;
	position: relative;
}

.dgp-portal-card p {
	color: var(--dgp-muted);
	font-size: 0.78rem;
	line-height: 1.45;
	margin: 0;
	position: relative;
}

.dgp-card-meta {
	align-items: center;
	bottom: 0.85rem;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	left: 0.8rem;
	position: absolute;
	right: 0.8rem;
}

.dgp-arrow {
	color: var(--dgp-gold-2);
	font-size: 0.62rem;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dgp-dashboard {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
	padding-bottom: 1.35rem;
}

.dgp-dashboard-main {
	min-width: 0;
}

.dgp-update-table {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	display: grid;
	gap: 1px;
	overflow: hidden;
}

.dgp-update-table a {
	align-items: center;
	background: linear-gradient(90deg, rgba(8, 18, 29, 0.96), rgba(12, 25, 38, 0.94));
	display: grid;
	gap: 0.85rem;
	grid-template-columns: 68px minmax(0, 0.62fr) minmax(0, 1fr) auto;
	min-height: 58px;
	padding: 0.72rem 0.85rem;
	text-decoration: none;
}

.dgp-update-table span {
	color: var(--dgp-gold-2);
	font-size: 0.62rem;
	font-weight: 950;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.dgp-update-table strong {
	font-family: var(--dgp-serif);
}

.dgp-update-table em {
	color: var(--dgp-muted);
	font-size: 0.78rem;
	font-style: normal;
}

.dgp-update-table b {
	color: var(--dgp-ok);
	font-size: 0.6rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dgp-proof-panel {
	min-width: 0;
}

.dgp-proof-grid {
	display: grid;
	gap: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.dgp-proof-grid a {
	background: rgba(8, 18, 29, 0.95);
	display: block;
	padding: 0.88rem;
	text-decoration: none;
}

.dgp-proof-grid strong {
	color: var(--dgp-text);
	display: block;
	font-size: 1rem;
}

.dgp-proof-grid span {
	color: var(--dgp-muted);
	display: block;
	font-size: 0.74rem;
	line-height: 1.45;
	margin-top: 0.3rem;
}

.dgp-proof-panel blockquote {
	background: rgba(214, 169, 53, 0.09);
	border: 1px solid rgba(214, 169, 53, 0.22);
	border-radius: 10px;
	color: var(--dgp-gold-2);
	font-family: var(--dgp-serif);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.45;
	margin: 0.9rem;
	padding: 1rem;
}

.dgp-footer {
	align-items: center;
	background: rgba(2, 6, 11, 0.98);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--dgp-muted-2);
	display: flex;
	font-size: 0.75rem;
	gap: 1rem;
	justify-content: space-between;
	padding: 1rem 1.35rem;
}

.dgp-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.dgp-footer-links a {
	color: var(--dgp-muted);
	text-decoration: none;
}

.dgp-footer-links a:hover,
.dgp-footer-links a:focus-visible {
	color: var(--dgp-gold-2);
	outline: none;
}

@media screen and (max-width: 782px) {
	.admin-bar .dgp-chrome {
		top: 46px;
	}
}

@media (max-width: 1080px) {
	.dancz-gameportal {
		padding: 0;
	}

	.dgp-shell {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
	}

	.dgp-stage {
		grid-template-columns: 1fr;
	}

	.dgp-rail {
		display: none;
	}

	.dgp-hero-grid,
	.dgp-dashboard {
		grid-template-columns: 1fr;
	}

	.dgp-quest-panel {
		margin: 0;
	}

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

@media (max-width: 720px) {
	.dgp-chrome {
		align-items: start;
		grid-template-columns: auto 1fr auto;
		height: 110px;
		line-height: 1;
		min-height: 0;
		padding: 12px;
	}

	.dgp-window-controls {
		display: none;
	}

	.dgp-brand {
		font-size: 0.64rem;
		grid-column: 1 / 3;
	}

	.dgp-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
	}

	.dgp-nav a {
		font-size: 0.56rem;
		padding: 5px 8px;
	}

	.dgp-menu-button {
		align-self: start;
		font-size: 0.58rem;
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		padding: 6px 9px;
		white-space: nowrap;
		width: auto;
	}

	.dgp-hero {
		background: #02060b;
		min-height: auto;
		padding: 9px 9px 14px;
	}

	.dgp-reference-frame {
		max-width: 360px;
		width: 100%;
	}

	.dgp-hero-art {
		height: auto;
		object-fit: contain;
		object-position: center top;
	}

	.dgp-hero::before {
		inset: 0.55rem;
	}

	.dgp-hero-copy {
		padding: 0;
	}

	.dgp-hero h1 {
		font-size: clamp(3rem, 17vw, 4.3rem);
		overflow-wrap: anywhere;
	}

	.dgp-lede {
		font-size: 0.92rem;
	}

	.dgp-signal-bar {
		width: 100%;
	}

	.dgp-section {
		padding: 1.9rem 0.72rem;
	}

	.dgp-section-head {
		display: block;
	}

	.dgp-portal-grid {
		grid-template-columns: 1fr;
	}

	.dgp-portal-card {
		min-height: 250px;
	}

	.dgp-update-table a {
		align-items: start;
		grid-template-columns: 1fr;
		gap: 0.22rem;
	}

	.dgp-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* ─────────────────────────────────────────────────────────────────────────
   Portal card upgrade: full-bleed image backgrounds (20260514)
   Replaces the 108-px thumbnail approach with full card fill so each card
   matches the reference images — gate illustration fills card, icon at top,
   content at bottom, accent border per section.
   ───────────────────────────────────────────────────────────────────────── */

.dgp-portal-card {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 380px !important;
	padding: 1.2rem !important;
	isolation: isolate;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dgp-portal-card:hover,
.dgp-portal-card:focus-visible {
	transform: translateY(-4px);
	outline: none;
}

/* Image fills the entire card */
.dgp-card-art {
	position: absolute !important;
	inset: 0 !important;
	height: auto !important;
	border: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	background: #02060b;
	z-index: 0;
}

.dgp-card-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

/* Dark gradient overlay */
.dgp-portal-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(2, 6, 11, 0.97) 0%,
		rgba(2, 6, 11, 0.72) 40%,
		rgba(2, 6, 11, 0.18) 100%
	);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.22s;
}

.dgp-portal-card:hover::after { opacity: 0.82; }

/* Per-section accent borders */
.dgp-portal-card[href*="/mission"]    { border: 1px solid rgba(214, 169, 53,  0.32); }
.dgp-portal-card[href*="/knowledge"]  { border: 1px solid rgba(214, 169, 53,  0.32); }
.dgp-portal-card[href*="/sanctum"]    { border: 1px solid rgba(72,  215, 202, 0.32); }
.dgp-portal-card[href*="/ruachdavid"] { border: 1px solid rgba(118, 168, 255, 0.32); }
.dgp-portal-card[href*="/give"]       { border: 1px solid rgba(113, 223, 164, 0.32); }

.dgp-portal-card[href*="/mission"]:hover,
.dgp-portal-card[href*="/mission"]:focus-visible    { border-color: rgba(214, 169, 53,  0.85); box-shadow: inset 0 0 32px rgba(214, 169, 53,  0.07); }
.dgp-portal-card[href*="/knowledge"]:hover,
.dgp-portal-card[href*="/knowledge"]:focus-visible  { border-color: rgba(214, 169, 53,  0.85); box-shadow: inset 0 0 32px rgba(214, 169, 53,  0.07); }
.dgp-portal-card[href*="/sanctum"]:hover,
.dgp-portal-card[href*="/sanctum"]:focus-visible    { border-color: rgba(72,  215, 202, 0.85); box-shadow: inset 0 0 32px rgba(72,  215, 202, 0.07); }
.dgp-portal-card[href*="/ruachdavid"]:hover,
.dgp-portal-card[href*="/ruachdavid"]:focus-visible { border-color: rgba(118, 168, 255, 0.85); box-shadow: inset 0 0 32px rgba(118, 168, 255, 0.07); }
.dgp-portal-card[href*="/give"]:hover,
.dgp-portal-card[href*="/give"]:focus-visible       { border-color: rgba(113, 223, 164, 0.85); box-shadow: inset 0 0 32px rgba(113, 223, 164, 0.07); }

/* Icon: pull to top center via flex, push rest down with margin-bottom: auto */
.dgp-card-icon {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	z-index: 2;
	align-self: center;
	margin: 0.5rem auto auto;
	flex-shrink: 0;
	width: 46px !important;
	height: 46px !important;
}

/* Content layers above gradient overlay */
.dgp-portal-card h3,
.dgp-portal-card p {
	position: relative;
	z-index: 2;
}

.dgp-portal-card h3 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.dgp-portal-card p  { font-size: 0.8rem; line-height: 1.5; margin: 0; }

/* Meta row: switch from absolute to flex item */
.dgp-card-meta {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: 2;
	margin-top: 0.9rem;
}

@media (min-width: 1081px) {
	.dgp-portal-grid { min-height: 380px; }
}

/* Figma-style live UI build: the homepage is now components, not a reference PNG. */
.dgp-reference-page {
	display: none !important;
}

.dancz-gameportal {
	background:
		radial-gradient(circle at 50% 8%, rgba(245, 213, 107, 0.16), transparent 20rem),
		radial-gradient(circle at 82% 18%, rgba(72, 215, 202, 0.1), transparent 24rem),
		linear-gradient(180deg, #02050a 0%, #06111d 48%, #02050a 100%) !important;
	padding: 0 !important;
}

.dgp-shell {
	background: #02060b;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: block !important;
	margin: 0;
	max-width: none;
	min-height: 100vh;
	overflow: clip;
	width: 100%;
}

.dgp-chrome {
	backdrop-filter: blur(18px);
	background: linear-gradient(180deg, rgba(3, 8, 14, 0.96), rgba(2, 6, 11, 0.88));
	border-bottom: 1px solid rgba(214, 169, 53, 0.24);
	grid-template-columns: auto auto minmax(0, 1fr) auto auto;
	min-height: 68px;
	padding: 0 clamp(1rem, 3.6vw, 3.4rem);
}

.dgp-window-controls span {
	height: 10px;
	width: 10px;
}

.dgp-brand {
	font-size: clamp(0.78rem, 1vw, 1.05rem);
	gap: 0.82rem;
}

.dgp-brand-mark {
	height: 18px;
	position: relative;
	width: 18px;
}

.dgp-brand-mark::before,
.dgp-brand-mark::after {
	background: var(--dgp-gold);
	content: "";
	inset: 50% auto auto 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}

.dgp-brand-mark::before {
	height: 1px;
	width: 28px;
}

.dgp-brand-mark::after {
	height: 28px;
	width: 1px;
}

.dgp-nav {
	gap: clamp(0.18rem, 0.6vw, 0.65rem);
}

.dgp-nav a,
.dgp-menu-button,
.dgp-beta-chip {
	border-radius: 8px;
	font-size: 0.66rem;
	min-height: 36px;
	padding: 0.62rem 0.72rem;
}

.dgp-beta-chip {
	align-items: center;
	color: var(--dgp-muted);
	display: inline-flex;
	font-weight: 900;
	gap: 0.55rem;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.dgp-beta-chip::after {
	background: #74f2a7;
	border-radius: 999px;
	box-shadow: 0 0 16px rgba(116, 242, 167, 0.78);
	content: "";
	height: 8px;
	width: 8px;
}

.dgp-menu-button {
	background: transparent;
	border-color: rgba(214, 169, 53, 0.68);
	color: var(--dgp-gold-2);
}

.dgp-stage {
	display: block;
}

.dgp-rail {
	display: none;
}

.dgp-page {
	background: #02060b;
}

.dgp-hero {
	align-items: stretch;
	background: #02060b;
	display: grid;
	min-height: min(780px, calc(100vh - 68px));
	overflow: hidden;
	padding: clamp(4.5rem, 8vw, 7.2rem) clamp(1.3rem, 6vw, 6.5rem) clamp(1.7rem, 4vw, 3.4rem);
}

.dgp-reference-frame {
	inset: 0;
	max-width: none;
	position: absolute;
	width: 100%;
}

.dgp-reference-frame::after {
	background:
		linear-gradient(90deg, rgba(2, 6, 11, 0.94) 0%, rgba(2, 6, 11, 0.66) 27%, rgba(2, 6, 11, 0.12) 58%, rgba(2, 6, 11, 0.74) 100%),
		linear-gradient(180deg, rgba(2, 6, 11, 0.18) 0%, rgba(2, 6, 11, 0.02) 42%, rgba(2, 6, 11, 0.98) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.dgp-hero-art {
	filter: saturate(1.05) contrast(1.06);
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
	width: 100%;
}

.dgp-hero::before,
.dgp-hero::after {
	display: block;
	z-index: 3;
}

.dgp-hero::before {
	background:
		linear-gradient(rgba(245, 213, 107, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(245, 213, 107, 0.05) 1px, transparent 1px);
	background-size: 96px 96px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.dgp-hero::after {
	background: radial-gradient(circle at 54% 34%, rgba(245, 213, 107, 0.22), transparent 11rem);
	mix-blend-mode: screen;
}

.dgp-hero-grid {
	align-items: end;
	display: grid;
	gap: clamp(1rem, 3vw, 2.6rem);
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	margin: 0;
	position: relative;
	z-index: 4;
}

.dgp-hero-copy {
	max-width: 650px;
	padding: 0;
}

.dgp-hero h1 {
	font-size: clamp(4.4rem, 8vw, 8.4rem);
	letter-spacing: 0;
	line-height: 0.86;
	max-width: 760px;
}

.dgp-hero h1 span {
	color: var(--dgp-gold);
	font-style: normal;
}

.dgp-lede {
	color: #d7e3ee;
	font-size: clamp(0.98rem, 1.2vw, 1.12rem);
	max-width: 560px;
}

.dgp-actions {
	gap: 1rem;
	margin-top: 2rem;
}

.dgp-btn {
	background: rgba(4, 12, 20, 0.78);
	border-color: rgba(214, 169, 53, 0.55);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
	min-height: 58px;
	padding: 0.95rem 1.55rem;
}

.dgp-btn-primary {
	background: linear-gradient(180deg, #f4d06a, #a97118);
	border-color: rgba(255, 230, 139, 0.88);
}

.dgp-btn-teal {
	background: rgba(6, 34, 34, 0.72);
	border-color: rgba(72, 215, 202, 0.62);
}

.dgp-signal-bar {
	backdrop-filter: blur(16px);
	background: rgba(5, 14, 24, 0.62);
	border-color: rgba(214, 169, 53, 0.38);
}

.dgp-panel {
	backdrop-filter: blur(18px);
	background: linear-gradient(180deg, rgba(5, 16, 29, 0.9), rgba(2, 7, 13, 0.94));
	border-color: rgba(214, 169, 53, 0.46);
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.dgp-panel-head {
	min-height: 54px;
	padding: 0.9rem 1rem;
}

.dgp-quest {
	background: rgba(7, 18, 31, 0.78);
	border-color: rgba(214, 169, 53, 0.24);
	grid-template-columns: auto minmax(0, 1fr) auto;
	min-height: 78px;
	position: relative;
}

.dgp-quest-icon {
	font-family: var(--dgp-serif);
	font-size: 0.72rem;
	height: 42px;
	width: 42px;
}

.dgp-progress {
	background: rgba(255, 255, 255, 0.12);
	bottom: 0.64rem;
	height: 3px;
	left: 4rem;
	position: absolute;
	right: 5.2rem;
}

.dgp-progress::after {
	background: linear-gradient(90deg, var(--dgp-gold), var(--dgp-teal));
	content: "";
	display: block;
	height: 100%;
	width: var(--dgp-progress, 50%);
}

.dgp-section {
	background: #030910;
	padding: clamp(2.2rem, 4.4vw, 4.2rem) clamp(1.2rem, 5vw, 6.5rem);
}

.dgp-section-menu {
	background:
		radial-gradient(circle at 50% 0%, rgba(214, 169, 53, 0.09), transparent 28rem),
		linear-gradient(180deg, #030910, #06111b);
}

.dgp-section-head {
	align-items: end;
	margin-bottom: 1.4rem;
}

.dgp-section-title {
	font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.dgp-section-note {
	color: #aab9c7;
	font-size: 0.92rem;
	max-width: 510px;
}

.dgp-portal-grid {
	background: transparent;
	border: 0;
	border-radius: 0;
	gap: clamp(0.85rem, 1.3vw, 1.2rem);
	grid-template-columns: repeat(5, minmax(0, 1fr));
	overflow: visible;
}

.dgp-portal-card {
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
	min-height: clamp(280px, 29vw, 390px) !important;
	padding: 1rem !important;
}

.dgp-portal-card::before {
	background:
		linear-gradient(90deg, rgba(245, 213, 107, 0.24), transparent 16%, transparent 84%, rgba(245, 213, 107, 0.16)),
		linear-gradient(180deg, rgba(245, 213, 107, 0.18), transparent 28%, transparent 72%, rgba(245, 213, 107, 0.16));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.dgp-card-icon {
	backdrop-filter: blur(10px);
	background: rgba(3, 10, 18, 0.7);
	box-shadow: 0 0 34px rgba(214, 169, 53, 0.26);
}

.dgp-portal-card h3 {
	color: var(--dgp-gold-2);
	font-size: clamp(1.2rem, 1.6vw, 1.55rem);
	text-transform: uppercase;
}

.dgp-dashboard {
	background:
		linear-gradient(180deg, #04101a, #02060b);
	grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
}

.dgp-update-table,
.dgp-proof-grid {
	background: rgba(214, 169, 53, 0.2);
	border-color: rgba(214, 169, 53, 0.22);
	border-radius: 8px;
}

.dgp-update-table a,
.dgp-proof-grid a {
	background: rgba(5, 16, 27, 0.92);
}

.dgp-update-table a:hover,
.dgp-update-table a:focus-visible,
.dgp-proof-grid a:hover,
.dgp-proof-grid a:focus-visible {
	background: rgba(11, 29, 45, 0.96);
	outline: 1px solid rgba(214, 169, 53, 0.5);
}

.dgp-footer {
	background: #02060b;
	padding: 1.2rem clamp(1.2rem, 5vw, 6.5rem);
}

@media (max-width: 1180px) {
	.dgp-chrome {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.dgp-window-controls,
	.dgp-beta-chip {
		display: none;
	}

	.dgp-brand {
		grid-column: 1;
	}

	.dgp-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.2rem;
	}

	.dgp-menu-button {
		grid-column: 3;
		grid-row: 1;
	}

	.dgp-hero {
		min-height: auto;
	}

	.dgp-hero-grid,
	.dgp-dashboard {
		grid-template-columns: 1fr;
	}

	.dgp-quest-panel {
		max-width: 620px;
	}

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

@media (max-width: 720px) {
	.dgp-chrome {
		height: auto;
		min-height: 94px;
		padding: 0.75rem;
	}

	.dgp-hero {
		padding: 4.8rem 0.9rem 1.5rem;
	}

	.dgp-reference-frame::after {
		background:
			linear-gradient(90deg, rgba(2, 6, 11, 0.9), rgba(2, 6, 11, 0.52) 52%, rgba(2, 6, 11, 0.82)),
			linear-gradient(180deg, rgba(2, 6, 11, 0.12), rgba(2, 6, 11, 0.98));
	}

	.dgp-hero h1 {
		font-size: clamp(3.2rem, 16vw, 4.8rem);
	}

	.dgp-actions,
	.dgp-signal-bar {
		display: grid;
		width: 100%;
	}

	.dgp-btn {
		width: 100%;
	}

	.dgp-quest {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.dgp-quest .dgp-status {
		justify-self: start;
	}

	.dgp-progress {
		left: 4rem;
		right: 1rem;
	}

	.dgp-section {
		padding: 2rem 0.9rem;
	}

	.dgp-section-head {
		display: grid;
		gap: 0.8rem;
	}

	.dgp-portal-grid {
		grid-template-columns: 1fr;
	}

	.dgp-portal-card {
		min-height: 300px !important;
	}
}
