@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500&family=Cinzel:wght@600;700&family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&display=swap");

.pxl-adv-box {
	--bg: #0b0907;
	--bg-2: #13100c;
	--panel: #1a1510;
	--panel-2: #211b14;
	--ink: #efe3ca;
	--ink-2: #c9b898;
	--ink-3: #8c7a5e;
	--gold: #d4b896;
	color: var(--ink);
	font-family: "Be Vietnam Pro", system-ui, sans-serif;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}

.pxl-adv-box *,
.pxl-adv-box *::before,
.pxl-adv-box *::after {
	box-sizing: border-box;
}

.pxl-adv-box .shell {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 16px;
	position: relative;
	z-index: 1;
}

/* Frame — giống .pxl-grid-4-block .frame */
.pxl-adv-box .frame {
	position: relative;
	border-radius: 28px;
	background:
		radial-gradient(ellipse at top, rgba(212, 184, 150, 0.06), transparent 50%),
		linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
	box-shadow:
		0 1px 0 rgba(212, 184, 150, 0.1) inset,
		0 0 0 1px rgba(212, 184, 150, 0.18),
		0 30px 60px -30px rgba(0, 0, 0, 0.7),
		0 0 80px -40px rgba(212, 184, 150, 0.15);
}

.pxl-adv-box .frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(
		180deg,
		rgba(232, 201, 136, 0.6) 0%,
		rgba(168, 136, 96, 0.25) 50%,
		rgba(232, 201, 136, 0.45) 100%
	);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.pxl-adv-box .frame > .corn {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 1px solid var(--gold);
	opacity: 0.7;
	pointer-events: none;
}

.pxl-adv-box .frame > .corn.tl {
	top: 10px;
	left: 10px;
	border-right: none;
	border-bottom: none;
	border-top-left-radius: 14px;
}

.pxl-adv-box .frame > .corn.tr {
	top: 10px;
	right: 10px;
	border-left: none;
	border-bottom: none;
	border-top-right-radius: 14px;
}

.pxl-adv-box .frame > .corn.bl {
	bottom: 10px;
	left: 10px;
	border-right: none;
	border-top: none;
	border-bottom-left-radius: 14px;
}

.pxl-adv-box .frame > .corn.br {
	bottom: 10px;
	right: 10px;
	border-left: none;
	border-top: none;
	border-bottom-right-radius: 14px;
}

/* Khối nội dung adv */
.pxl-adv-box .frame.adv-box {
	padding: 48px 24px 40px;
	margin-top: 60px;
}

.pxl-adv-box .adv-box .sub {
	display: block;
	text-align: center;
	margin-top: 6px;
	font-family: "Cinzel", serif;
	font-size: 10px;
	letter-spacing: 0.36em;
	color: var(--ink-3);
	text-transform: uppercase;
}

.pxl-adv-box .adv-box h2 {
	text-align: center;
	font-family: "Cormorant Garamond", serif;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	letter-spacing: 0.005em;
	margin: 0 auto;
}

.pxl-adv-box .adv-box h2 em {
	font-style: italic;
	font-weight: 500;
}

.pxl-adv-box .adv-box h2 .big5 {
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: italic;
	font-weight: 800;
	font-size: 180px;
	line-height: 1;
	height: 1em;
	background: linear-gradient(180deg, #fff1c2 0%, #f4d87a 28%, #e0b95c 55%, #a88860 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	position: relative;
	flex: 0 0 auto;
	padding: 0 0.12em;
	overflow: visible;
	font-feature-settings: "lnum";
}

.pxl-adv-box .adv-box h2 .titlewrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	text-align: left;
	border-left: 1px solid rgba(212, 184, 150, 0.4);
	padding-left: 24px;
	align-self: stretch;
}

.pxl-adv-box .adv-box h2 .l1,
.pxl-adv-box .adv-box h2 .l2 {
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-weight: 600;
	font-size: 60px;
	line-height: 1.05;
	letter-spacing: 0.005em;
	background: linear-gradient(180deg, #fff1c2 0%, #f4d87a 35%, #d4b896 70%, #a88860 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.pxl-adv-box .adv-box h2 .l2 {
	font-style: normal;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: "Cinzel", serif;
	opacity: 0.8;
	margin-top: 8px;
}

.pxl-adv-box .adv-list {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.pxl-adv-box .adv {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: stretch;
	gap: 18px;
	position: relative;
	min-height: 96px;
}

.pxl-adv-box .adv-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px 18px 10px 14px;
	border-right: 1px solid rgba(212, 184, 150, 0.22);
	min-height: 96px;
}

.pxl-adv-box .adv-num {
	font-family: "Cormorant Garamond", serif;
	font-weight: 800;
	font-size: 88px;
	line-height: 1;
	font-style: italic;
	display: inline-block;
	text-align: center;
	background: linear-gradient(180deg, #fff1c2 0%, #f4d87a 35%, #d4b896 65%, #a88860 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	padding: 0 0.12em 0 0.22em;
	overflow: visible;
	flex: 0 0 auto;
	transform: translateY(-0.08em);
}

.pxl-adv-box .adv-icon {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--gold);
	position: relative;
	background: radial-gradient(circle, #2a2218 0%, #0b0907 100%);
	border: 1.5px solid var(--gold);
	box-shadow:
		0 0 20px -6px rgba(232, 201, 136, 0.4),
		inset 0 0 12px rgba(232, 201, 136, 0.12);
}

.pxl-adv-box .adv-icon::after {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid var(--gold);
	border-radius: 50%;
	opacity: 0.4;
}

.pxl-adv-box .adv-icon svg {
	width: 30px;
	height: 30px;
	stroke-width: 1.4;
}

.pxl-adv-box .adv-body {
	border: 1px solid rgba(212, 184, 150, 0.18);
	border-radius: 14px;
	padding: 18px 22px;
	text-align: center;
	background: linear-gradient(180deg, var(--panel-2) 0%, rgba(26, 21, 16, 0.6) 100%);
	position: relative;
	transition: 0.35s ease;
}

.pxl-adv-box .adv-body::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	bottom: 14px;
	width: 2px;
	background: linear-gradient(180deg, transparent, var(--gold), transparent);
	opacity: 0;
	transition: 0.4s;
}

.pxl-adv-box .adv:hover .adv-body {
	border-color: var(--gold);
}

.pxl-adv-box .adv:hover .adv-body::before {
	opacity: 1;
}

.pxl-adv-box .adv:hover .adv-icon {
	box-shadow:
		0 0 30px -4px rgba(232, 201, 136, 0.6),
		inset 0 0 16px rgba(232, 201, 136, 0.2);
}

.pxl-adv-box .adv-body h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 700;
	font-size: 26px;
	letter-spacing: 0.005em;
	line-height: 1.15;
	margin: 0;
	background: linear-gradient(180deg, #fff1c2 0%, #f4d87a 35%, #d4b896 70%, #a88860 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.pxl-adv-box .adv-body p {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--ink-2);
	line-height: 1.65;
	opacity: 0.85;
	margin-bottom: 0;
}

@media (max-width: 560px) {
	.pxl-adv-box .adv {
		grid-template-columns: auto 1fr;
		gap: 12px;
		min-height: 74px;
	}

	.pxl-adv-box .adv-num {
		font-size: 60px;
	}

	.pxl-adv-box .adv-icon {
		width: 54px;
		height: 54px;
	}

	.pxl-adv-box .adv-icon svg {
		width: 22px;
		height: 22px;
	}

	.pxl-adv-box .adv-head {
		padding: 8px 12px 8px 10px;
		gap: 10px;
		min-height: 74px;
	}

	.pxl-adv-box .adv-box h2 {
		gap: 14px;
	}

	.pxl-adv-box .adv-box h2 .big5 {
		font-size: 120px;
	}

	.pxl-adv-box .adv-box h2 .titlewrap {
		padding-left: 14px;
	}

	.pxl-adv-box .adv-box h2 .l1 {
		font-size: 38px;
	}

	.pxl-adv-box .adv-box h2 .l2 {
		font-size: 13px;
		letter-spacing: 0.24em;
	}
}
