.sx-home-v5 {
	--sx-gold: #d8ae36;
	--sx-gold-soft: #e7c45f;
	--sx-gold-muted: #b88a22;
	--sx-text: #eadfca;
	--sx-muted: #d1c4ad;
	--sx-line: rgba(216, 174, 54, 0.44);
	--sx-serif: "David", "Times New Roman", serif;
	--sx-sans: "Assistant", "Segoe UI", Arial, sans-serif;
	position: relative;
	min-height: calc(100vh - 110px);
	padding: 84px clamp(20px, 3vw, 46px) 54px;
	overflow: hidden;
	color: var(--sx-text);
	background:
		radial-gradient(circle at 74% 28%, rgba(216, 174, 54, 0.18), transparent 26%),
		#030302;
	isolation: isolate;
	font-family: var(--sx-sans);
}

.sx-home-v5,
.sx-home-v5 *,
.sx-home-v5 *::before,
.sx-home-v5 *::after {
	box-sizing: border-box;
}

.sx-home-v5-modal-open {
	overflow: hidden;
}

.sx-home-v5::before,
.sx-home-v5::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sx-home-v5::before {
	z-index: -3;
	background-image: var(--sx-home-bg);
	background-size: cover;
	background-position: left center;
	filter: saturate(1.05) contrast(1.08) brightness(0.72);
	opacity: 0.78;
}

.sx-home-v5::after {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.36) 47%, rgba(0, 0, 0, 0.08) 68%, rgba(0, 0, 0, 0.42)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.56));
}

.sx-home-v5__hero {
	position: relative;
	width: min(96vw, 1760px);
	min-height: 790px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(760px, 1.05fr) minmax(430px, 0.82fr);
	align-items: end;
	gap: clamp(24px, 4vw, 70px);
	direction: ltr;
}

.sx-home-v5__panel {
	grid-column: 1;
	position: relative;
	z-index: 2;
	align-self: center;
	max-width: 1160px;
	padding: 46px 34px 38px;
	border: 1px solid rgba(216, 174, 54, 0.33);
	border-radius: 32px;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.56)),
		radial-gradient(circle at 70% 0, rgba(216, 174, 54, 0.12), transparent 38%);
	box-shadow:
		inset 0 0 36px rgba(231, 196, 95, 0.06),
		0 36px 78px rgba(0, 0, 0, 0.55);
	text-align: center;
	backdrop-filter: blur(3px);
	direction: rtl;
}

.sx-home-v5__brand-mark {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.sx-home-v5__brand-mark img {
	width: min(360px, 52vw);
	max-height: 168px;
	object-fit: contain;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 18px rgba(216, 174, 54, 0.14));
}

.sx-home-v5__kicker {
	margin: 8px 0 8px;
	color: #e7dcc6;
	font-family: var(--sx-serif);
	font-size: clamp(25px, 1.9vw, 34px);
	line-height: 1.15;
}

.sx-home-v5 h1 {
	max-width: 980px;
	margin: 0 auto;
	color: var(--sx-gold-soft);
	font-family: var(--sx-serif);
	font-size: clamp(48px, 4.15vw, 72px);
	font-weight: 900;
	line-height: 1.06;
	letter-spacing: 0;
	text-shadow:
		0 1px 0 #4d340d,
		0 10px 28px rgba(0, 0, 0, 0.52);
}

.sx-home-v5__lead {
	max-width: 1000px;
	margin: 22px auto 0;
	color: #e6dccb;
	font-family: var(--sx-serif);
	font-size: clamp(23px, 1.75vw, 31px);
	line-height: 1.55;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.74);
}

.sx-home-v5__divider {
	display: block;
	width: 280px;
	height: 18px;
	margin: 22px auto 20px;
	background:
		linear-gradient(90deg, transparent, rgba(216, 174, 54, 0.7), transparent) center/100% 1px no-repeat;
	position: relative;
}

.sx-home-v5__divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 12px;
	border: 1px solid var(--sx-gold);
	transform: translate(-50%, -50%) rotate(45deg);
	background: #050402;
}

.sx-home-v5__cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 13px;
	margin-top: 2px;
}

.sx-home-v5__card {
	display: flex;
	min-height: 270px;
	padding: 15px 12px 18px;
	border: 1px solid rgba(216, 174, 54, 0.52);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.3)),
		rgba(10, 9, 6, 0.76);
	color: #fff4d5;
	text-decoration: none;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	box-shadow: inset 0 0 22px rgba(216, 174, 54, 0.05);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sx-home-v5__card:hover,
.sx-home-v5__card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(245, 218, 108, 0.86);
	box-shadow: inset 0 0 22px rgba(216, 174, 54, 0.08), 0 18px 34px rgba(0, 0, 0, 0.35);
	outline: none;
}

.sx-home-v5__card img {
	width: min(106px, 78%);
	aspect-ratio: 1;
	object-fit: contain;
	margin-bottom: 9px;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.48));
}

.sx-home-v5__card strong {
	display: block;
	color: #e4bd45;
	font-family: var(--sx-serif);
	font-size: 24px;
	line-height: 1.05;
}

.sx-home-v5__card span {
	display: block;
	max-width: 170px;
	margin-top: 8px;
	color: #eee3cf;
	font-family: var(--sx-serif);
	font-size: 17px;
	line-height: 1.42;
}

.sx-home-v5__actions {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 28px;
}

.sx-home-v5__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: min(330px, 100%);
	min-height: 76px;
	padding: 0 30px;
	border: 1px solid rgba(216, 174, 54, 0.66);
	border-radius: 16px;
	font-family: var(--sx-serif);
	font-size: 29px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.sx-home-v5__button:hover,
.sx-home-v5__button:focus-visible {
	transform: translateY(-3px);
	outline: none;
}

.sx-home-v5__button--gold {
	color: #120c02;
	background: linear-gradient(135deg, #9b6b16, #f3d36b 47%, #c99523);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 18px 34px rgba(0, 0, 0, 0.32);
}

.sx-home-v5__button--ghost {
	color: #e6c65d;
	background: rgba(0, 0, 0, 0.56);
}

.sx-home-v5__button--news {
	color: #071015;
	background: linear-gradient(135deg, #19d4ff, #f1d18a 58%, #35e68e);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 18px 38px rgba(25, 212, 255, 0.16), 0 18px 34px rgba(0, 0, 0, 0.28);
}

.sx-home-v5__person {
	grid-column: 2;
	position: relative;
	z-index: 1;
	align-self: stretch;
	min-height: 820px;
	margin: -30px -36px -54px 0;
	background-image: var(--sx-person);
	background-size: contain;
	background-position: left bottom;
	background-repeat: no-repeat;
	filter: drop-shadow(34px 28px 40px rgba(0, 0, 0, 0.55));
	direction: rtl;
}

.sx-home-v5__person::after {
	content: "";
	position: absolute;
	inset: auto 0 0 5%;
	width: 86%;
	height: 24%;
	background: linear-gradient(180deg, transparent, #030302 72%);
	pointer-events: none;
}

.sx-home-v5__updates {
	position: relative;
	z-index: 3;
	width: min(96vw, 1380px);
	margin: 32px auto 0;
	padding: 30px;
	border: 1px solid rgba(216, 174, 54, 0.26);
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(8, 8, 7, 0.88), rgba(0, 0, 0, 0.68));
	box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
}

.sx-home-v5__updates h2 {
	margin: 0 0 16px;
	color: var(--sx-gold-soft);
	font-family: var(--sx-serif);
	font-size: 34px;
	text-align: center;
}

.sx-home-v5__updates-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.sx-home-v5__updates article {
	padding: 18px;
	border: 1px solid rgba(216, 174, 54, 0.25);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
}

.sx-home-v5__updates strong {
	display: block;
	color: #e4bd45;
	font-size: 21px;
}

.sx-home-v5__updates p {
	margin: 8px 0 0;
	color: var(--sx-muted);
	font-size: 18px;
	line-height: 1.5;
}

.sx-home-v5__modal[hidden] {
	display: none;
}

.sx-home-v5__modal {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: grid;
	place-items: center;
	padding: 28px;
}

.sx-home-v5__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(6px);
}

.sx-home-v5__modal-panel {
	position: relative;
	width: min(920px, 96vw);
	max-height: min(720px, 88vh);
	overflow: auto;
	padding: 34px;
	border: 1px solid rgba(216, 174, 54, 0.5);
	border-radius: 24px;
	background:
		radial-gradient(circle at 15% 0, rgba(216, 174, 54, 0.12), transparent 38%),
		linear-gradient(180deg, rgba(18, 16, 11, 0.98), rgba(3, 3, 2, 0.98));
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.68);
}

.sx-home-v5__modal-panel h2 {
	margin: 0 0 20px;
	color: var(--sx-gold-soft);
	font-family: var(--sx-serif);
	font-size: 38px;
	text-align: center;
}

.sx-home-v5__modal-close {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(216, 174, 54, 0.42);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.46);
	color: #f3d36b;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.sx-home-v5__modal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sx-home-v5__modal-grid a {
	display: block;
	padding: 18px;
	border: 1px solid rgba(216, 174, 54, 0.26);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	color: #efe5d1;
	text-decoration: none;
}

.sx-home-v5__modal-grid strong {
	display: block;
	color: #e4bd45;
	font-size: 22px;
}

.sx-home-v5__modal-grid span {
	display: block;
	margin-top: 7px;
	color: var(--sx-muted);
	font-size: 18px;
	line-height: 1.45;
}

@media (max-width: 1320px) {
	.sx-home-v5 {
		padding-top: 48px;
	}

	.sx-home-v5__hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.sx-home-v5__person {
		position: absolute;
		inset: auto 0 0 auto;
		width: 44%;
		min-height: 620px;
		opacity: 0.52;
	}

	.sx-home-v5__panel {
		max-width: 1120px;
	}
}

@media (max-width: 1180px) {
	.sx-home-v5__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.sx-home-v5__actions,
	.sx-home-v5__updates-grid,
	.sx-home-v5__modal-grid {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: center;
	}

	.sx-home-v5__button {
		width: min(440px, 100%);
	}
}

@media (max-width: 720px) {
	.sx-home-v5 {
		min-height: auto;
		padding: 6px 8px 24px;
		background:
			radial-gradient(circle at 50% 120px, rgba(216, 174, 54, 0.12), transparent 46%),
			#030302;
		overflow: hidden;
		inline-size: 100%;
		max-inline-size: 100vw;
	}

	.sx-home-v5::before {
		background-size: auto 780px;
		background-position: center top;
		filter: saturate(0.74) contrast(1.02) brightness(0.42);
		opacity: 0.16;
	}

	.sx-home-v5::after {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72) 46%, rgba(0, 0, 0, 0.9)),
			linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34) 50%, rgba(0, 0, 0, 0.78));
	}

	.sx-home-v5__hero {
		width: 100%;
		max-width: 100%;
		display: block;
		min-height: 0;
		position: relative;
		overflow: visible;
		padding-top: 0;
		border-radius: 22px;
	}

	.sx-home-v5__panel {
		width: 100%;
		max-width: 100%;
		position: relative;
		z-index: 2;
		margin-top: -10px;
		padding: 10px 9px 11px;
		border-radius: 16px;
		overflow: hidden;
		background:
			linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(8, 7, 3, 0.68)),
			rgba(0, 0, 0, 0.58);
	}

	.sx-home-v5__brand-mark img {
		width: min(94px, 30vw);
		max-height: 48px;
	}

	.sx-home-v5__kicker {
		margin-top: 4px;
		font-size: 13px;
		line-height: 1.16;
	}

	.sx-home-v5 h1 {
		margin-top: 4px;
		font-size: 22px;
		line-height: 1.03;
	}

	.sx-home-v5__lead {
		margin-top: 7px;
		font-size: 12.3px;
		line-height: 1.35;
		max-width: 98%;
	}

	.sx-home-v5__divider {
		width: min(130px, 40vw);
		height: 12px;
		margin: 6px auto 8px;
	}

	.sx-home-v5__cards {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 5px;
		margin: 0;
		padding: 0;
		overflow: visible;
		min-width: 0;
	}

	.sx-home-v5__cards::-webkit-scrollbar {
		display: none;
	}

	.sx-home-v5__card {
		min-width: 0;
		min-height: 76px;
		padding: 5px 3px 6px;
		border-radius: 10px;
		justify-content: center;
		scroll-snap-align: start;
	}

	.sx-home-v5__card img {
		width: 43px;
		margin-bottom: 4px;
	}

	.sx-home-v5__card strong {
		font-size: 10.6px;
		line-height: 1.1;
		overflow-wrap: anywhere;
	}

	.sx-home-v5__card span {
		display: none;
	}

	.sx-home-v5__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 7px;
		margin-top: 8px;
		min-width: 0;
	}

	.sx-home-v5__button {
		width: 100%;
		min-height: 39px;
		padding: 0 7px;
		font-size: 13.5px;
		border-radius: 10px;
	}

	.sx-home-v5__person {
		width: min(212px, 58vw);
		min-height: 176px;
		position: relative;
		inset: auto;
		z-index: 1;
		margin: 9px auto 0;
		opacity: 0.92;
		border: 1px solid rgba(216, 174, 54, 0.2);
		border-radius: 15px;
		background-color: rgba(0, 0, 0, 0.58);
		background-position: center center;
		background-size: contain;
		box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.72), 0 14px 30px rgba(0, 0, 0, 0.28);
		pointer-events: none;
		overflow: hidden;
	}

	.sx-home-v5__person::after {
		inset: auto 0 0;
		width: 100%;
		height: 34%;
		background: linear-gradient(180deg, transparent, rgba(3, 3, 2, 0.88) 78%);
	}

	.sx-home-v5__updates {
		width: 100%;
		max-width: 100%;
		margin-top: 10px;
		padding: 11px 9px;
		border-radius: 16px;
		overflow: hidden;
		background:
			linear-gradient(180deg, rgba(7, 7, 6, 0.96), rgba(0, 0, 0, 0.9)),
			rgba(0, 0, 0, 0.88);
	}

	.sx-home-v5__updates h2 {
		font-size: 15px;
		line-height: 1.18;
		text-align: center;
		margin-bottom: 9px;
	}

	.sx-home-v5__updates-grid {
		gap: 7px;
		min-width: 0;
	}

	.sx-home-v5__updates article {
		padding: 9px;
		border-radius: 12px;
	}

	.sx-home-v5__updates strong {
		font-size: 15px;
	}

	.sx-home-v5__updates p {
		margin-top: 5px;
		font-size: 12.5px;
		line-height: 1.36;
	}

	.sx-home-v5__modal-panel {
		width: min(100%, calc(100vw - 22px));
		max-height: calc(100dvh - 28px);
		overflow-y: auto;
		padding: 24px 14px 18px;
		border-radius: 22px;
	}

	.sx-home-v5__modal-panel h2 {
		font-size: 25px;
		line-height: 1.15;
		padding-inline: 30px;
	}

	.sx-home-v5__modal-close {
		top: 10px;
		left: 10px;
		width: 32px;
		height: 32px;
		font-size: 19px;
	}

	.sx-home-v5__modal-overlay {
		align-items: flex-start;
		padding: 14px 11px;
		overflow-x: hidden;
		overflow-y: auto;
	}
}

@media (max-width: 380px) {
	.sx-home-v5__hero {
		padding-top: 0;
	}

	.sx-home-v5 h1 {
		font-size: 22px;
	}
}
