.stb8899-universal-header,
.stb8899-universal-footer,
.stb8899-universal-header *,
.stb8899-universal-footer * {
	box-sizing: border-box;
}

.stb8899-universal-header {
	--stb-u-bg: #050505;
	--stb-u-panel: rgba(15, 15, 15, 0.94);
	--stb-u-gold: #dfb75c;
	--stb-u-gold-light: #f3e5ab;
	--stb-u-text: #f7f3e7;
	--stb-u-muted: #b8b0a0;
	--stb-u-line: rgba(223, 183, 92, 0.28);
	--stb-u-glow: rgba(223, 183, 92, 0.34);
	position: relative;
	z-index: 50;
	background: linear-gradient(180deg, rgba(9, 9, 9, 0.98), rgba(3, 3, 3, 0.98));
	border-bottom: 1px solid var(--stb-u-line);
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.stb8899-universal-footer {
	--stb-u-bg: #050505;
	--stb-u-panel: rgba(15, 15, 15, 0.94);
	--stb-u-gold: #dfb75c;
	--stb-u-gold-light: #f3e5ab;
	--stb-u-text: #f7f3e7;
	--stb-u-muted: #b8b0a0;
	--stb-u-line: rgba(223, 183, 92, 0.28);
	--stb-u-glow: rgba(223, 183, 92, 0.34);
	position: relative;
	z-index: 40;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 0%, rgba(223, 183, 92, 0.16), transparent 34%),
		linear-gradient(180deg, #090909 0%, #050505 100%);
	border-top: 1px solid rgba(223, 183, 92, 0.34);
	color: var(--stb-u-text);
}

.stb8899-universal-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(223, 183, 92, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(223, 183, 92, 0.05) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
	pointer-events: none;
}

.stb8899-universal-container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.stb8899-universal-header-inner {
	min-height: 76px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 26px;
}

.stb8899-universal-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--stb-u-gold-light);
	text-decoration: none;
}

.stb8899-universal-logo-image {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 54px;
	object-fit: contain;
}

.stb8899-universal-header .stb8899-universal-logo-image {
	max-width: 240px;
	max-height: 62px;
}

.stb8899-universal-logo-mark {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--stb-u-gold-light);
	filter: drop-shadow(0 0 10px var(--stb-u-glow));
}

.stb8899-universal-logo-mark svg {
	width: 44px;
	height: 44px;
	fill: currentColor;
}

.stb8899-universal-logo-text {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.65rem;
	font-weight: 800;
	line-height: 1;
	color: var(--stb-u-gold-light);
	text-shadow: 0 0 14px var(--stb-u-glow);
}

.stb8899-universal-nav {
	min-width: 0;
	display: flex;
	justify-content: center;
}

.stb8899-universal-menu,
.stb8899-universal-footer-menu,
.stb8899-universal-footer-link-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stb8899-universal-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.stb8899-universal-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--stb-u-muted);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.stb8899-universal-menu a:hover,
.stb8899-universal-menu a.is-active,
.stb8899-universal-menu .current-menu-item > a,
.stb8899-universal-menu .current_page_item > a {
	color: var(--stb-u-gold);
	text-shadow: 0 0 10px var(--stb-u-glow);
}

.stb8899-universal-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stb8899-universal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.stb8899-universal-btn:hover {
	transform: translateY(-1px);
}

.stb8899-universal-btn-ghost {
	color: var(--stb-u-gold);
	border: 1px solid var(--stb-u-line);
	background: rgba(255, 255, 255, 0.02);
}

.stb8899-universal-btn-gold {
	color: #111;
	background: linear-gradient(135deg, #d5a43b, #fff2b4 48%, #b98218);
	box-shadow: 0 0 18px rgba(223, 183, 92, 0.28);
}

.stb8899-universal-footer-links {
	position: relative;
	z-index: 1;
	padding: 54px 0 46px;
	border-bottom: 1px solid rgba(223, 183, 92, 0.32);
}

.stb8899-universal-footer-head {
	text-align: center;
	margin: 0 auto 28px;
	max-width: 820px;
}

.stb8899-universal-footer-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(223, 183, 92, 0.78);
	border-radius: 999px;
	color: var(--stb-u-gold-light);
	background: linear-gradient(180deg, rgba(223, 183, 92, 0.12), rgba(0, 0, 0, 0.36));
	box-shadow: 0 0 18px rgba(223, 183, 92, 0.18);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 9px 22px;
}

.stb8899-universal-footer-head h2 {
	color: var(--stb-u-gold-light);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2.15rem, 5vw, 4.2rem);
	line-height: 1;
	margin: 14px 0 10px;
	text-shadow: 0 0 22px rgba(223, 183, 92, 0.42);
}

.stb8899-universal-footer-head p {
	color: var(--stb-u-muted);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
}

.stb8899-universal-footer-groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.stb8899-universal-footer-card {
	min-height: 292px;
	height: 100%;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 50% 100%, rgba(223, 183, 92, 0.16), transparent 34%),
		linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(4, 4, 4, 0.96));
	border: 1px solid rgba(223, 183, 92, 0.58);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 233, 170, 0.04);
	padding: 22px;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stb8899-universal-footer-card:hover {
	border-color: rgba(255, 214, 126, 0.9);
	box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45), 0 0 24px rgba(223, 183, 92, 0.18);
	transform: translateY(-3px);
}

.stb8899-universal-footer-card-head {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(223, 183, 92, 0.22);
}

.stb8899-universal-footer-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #101010;
	background: radial-gradient(circle at 35% 25%, #fff4bd, #d6a636 48%, #5b3b08 100%);
	box-shadow: 0 0 18px rgba(223, 183, 92, 0.38);
}

.stb8899-universal-footer-icon svg,
.stb8899-universal-trust svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stb8899-universal-footer-card h3 {
	color: var(--stb-u-gold);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	margin: 0;
}

.stb8899-universal-footer-link-list {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.stb8899-universal-footer-link-list li {
	border-bottom: 1px solid rgba(223, 183, 92, 0.2);
}

.stb8899-universal-footer-link-list a {
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: var(--stb-u-gold);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease, text-shadow 0.2s ease;
}

.stb8899-universal-footer-link-list a:hover {
	color: var(--stb-u-gold-light);
	padding-left: 5px;
	text-shadow: 0 0 12px rgba(223, 183, 92, 0.42);
}

.stb8899-universal-footer-link-list a svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: currentColor;
	transition: transform 0.2s ease;
}

.stb8899-universal-footer-link-list a:hover svg {
	transform: translateX(3px);
}

.stb8899-universal-footer-main {
	position: relative;
	z-index: 1;
	padding: 38px 0 30px;
}

.stb8899-universal-footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
	gap: 40px;
	align-items: stretch;
	margin-bottom: 40px;
}

.stb8899-universal-footer-about p {
	color: var(--stb-u-muted);
	font-size: 0.9rem;
	line-height: 1.75;
	margin: 16px 0 0;
}

.stb8899-universal-footer-title {
	color: var(--stb-u-gold);
	font-size: 1rem;
	font-weight: 800;
	margin: 0 0 18px;
}

.stb8899-universal-footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	color: var(--stb-u-muted);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.stb8899-universal-footer-menu a:hover,
.stb8899-universal-footer-menu a.is-active,
.stb8899-universal-footer-menu .current-menu-item > a,
.stb8899-universal-footer-menu .current_page_item > a {
	color: var(--stb-u-gold);
	padding-left: 5px;
}

.stb8899-universal-trust {
	min-height: 110px;
	display: flex;
	align-items: center;
	gap: 16px;
	border: 1px solid rgba(223, 183, 92, 0.45);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(223, 183, 92, 0.12), rgba(0, 0, 0, 0.26));
	box-shadow: inset 0 0 0 1px rgba(255, 233, 170, 0.04);
	padding: 22px;
}

.stb8899-universal-trust > span {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--stb-u-gold-light);
}

.stb8899-universal-trust svg {
	width: 54px;
	height: 54px;
}

.stb8899-universal-trust h3 {
	color: var(--stb-u-gold-light);
	font-size: 1rem;
	line-height: 1.25;
	margin: 0 0 5px;
}

.stb8899-universal-trust p {
	color: var(--stb-u-muted);
	font-size: 0.86rem;
	line-height: 1.45;
	margin: 0;
}

.stb8899-universal-copyright {
	border: 1px solid rgba(223, 183, 92, 0.24);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	padding: 18px;
	text-align: center;
}

.stb8899-universal-copyright p {
	color: var(--stb-u-muted);
	font-size: 0.82rem;
	margin: 0;
}

.stb8899-universal-footer-copyright {
	color: var(--stb-u-muted);
	font-size: 0.82rem;
	line-height: 1.6;
	margin: 0;
}

@media screen and (max-width: 1024px) {
	.stb8899-universal-header-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 14px;
		padding: 14px 0;
	}

	.stb8899-universal-header .stb8899-universal-logo-image {
		max-height: 54px;
	}

	.stb8899-universal-footer-groups,
	.stb8899-universal-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.stb8899-universal-container {
		width: min(100% - 28px, 1180px);
	}

	.stb8899-universal-menu {
		gap: 12px;
	}

	.stb8899-universal-menu a {
		min-height: 34px;
		font-size: 0.82rem;
	}

	.stb8899-universal-header .stb8899-universal-logo-image {
		max-width: 180px;
		max-height: 38px;
	}

	.stb8899-universal-actions {
		width: 100%;
		justify-content: center;
	}

	.stb8899-universal-btn {
		min-height: 40px;
		padding: 0 14px;
		font-size: 0.82rem;
	}

	.stb8899-universal-footer-links {
		padding: 42px 0 34px;
	}

	.stb8899-universal-footer-head h2 {
		font-size: 2.4rem;
	}

	.stb8899-universal-footer-groups,
	.stb8899-universal-footer-grid {
		grid-template-columns: 1fr;
	}

	.stb8899-universal-footer-card {
		min-height: auto;
		padding: 20px;
	}

	.stb8899-universal-footer-card-head {
		min-height: 52px;
	}

	.stb8899-universal-footer-main {
		padding-bottom: 96px;
	}
}
