.ddm-frontend {
	--ddm-gold: #d4af62;
	--ddm-gold-light: #f0d89f;
	--ddm-gold-dark: #8f6d2d;
	--ddm-black: #050505;
	--ddm-card: #0a0a0b;
	--ddm-white: #ffffff;
	--ddm-muted: #b9b9bb;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 48px);
	color: var(--ddm-white);
	background:
		radial-gradient(circle at 50% 0%, rgba(212, 175, 98, 0.09), transparent 31%),
		linear-gradient(180deg, #080808 0%, var(--ddm-black) 100%);
	border: 1px solid rgba(212, 175, 98, 0.16);
	border-radius: clamp(16px, 2vw, 26px);
	overflow: hidden;
	font-family: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

.ddm-frontend *,
.ddm-frontend *::before,
.ddm-frontend *::after {
	box-sizing: border-box;
}

.ddm-frontend::before {
	content: "";
	position: absolute;
	top: -180px;
	left: 50%;
	width: 520px;
	height: 320px;
	background: rgba(212, 175, 98, 0.08);
	filter: blur(90px);
	transform: translateX(-50%);
	pointer-events: none;
}

.ddm-frontend__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1180px);
	margin: 0 auto;
}

.ddm-demo-section + .ddm-demo-section {
	margin-top: clamp(78px, 10vw, 132px);
}

.ddm-section-heading {
	display: grid;
	grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
	align-items: center;
	gap: clamp(16px, 3vw, 34px);
	margin-bottom: clamp(28px, 4vw, 46px);
}

.ddm-section-heading h2 {
	margin: 0;
	padding: 0;
	color: var(--ddm-gold-light);
	font-size: clamp(22px, 3.4vw, 38px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.ddm-section-heading__line {
	display: block;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 98, 0.75));
}

.ddm-section-heading__line:last-child {
	background: linear-gradient(90deg, rgba(212, 175, 98, 0.75), transparent);
}

.ddm-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 30px);
}

.ddm-date-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: clamp(190px, 22vw, 260px);
	padding: clamp(28px, 5vw, 52px) clamp(22px, 4vw, 42px);
	text-align: center;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 55%),
		var(--ddm-card);
	border: 1px solid rgba(212, 175, 98, 0.72);
	border-radius: clamp(14px, 1.7vw, 22px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.025),
		0 24px 65px rgba(0, 0, 0, 0.38);
	overflow: hidden;
	isolation: isolate;
	transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.ddm-date-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(125deg, transparent 24%, rgba(212, 175, 98, 0.06), transparent 76%);
	transform: translateX(-110%);
	transition: transform 650ms ease;
}

.ddm-date-card__glow {
	position: absolute;
	top: -90px;
	left: 50%;
	z-index: -1;
	width: 230px;
	height: 150px;
	background: rgba(212, 175, 98, 0.11);
	filter: blur(55px);
	transform: translateX(-50%);
	pointer-events: none;
}

.ddm-date-card h3 {
	margin: 0 0 22px;
	padding: 0;
	color: var(--ddm-muted);
	font-size: clamp(13px, 1.5vw, 17px);
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ddm-date-card__value {
	display: block;
	color: var(--ddm-white);
	font-size: clamp(31px, 5.2vw, 62px);
	font-weight: 750;
	line-height: 1;
	letter-spacing: 0.025em;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 7px 32px rgba(255, 255, 255, 0.08);
}

.ddm-date-card:hover,
.ddm-date-card:focus-within {
	transform: translateY(-6px);
	border-color: var(--ddm-gold-light);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 28px 80px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(212, 175, 98, 0.08);
}

.ddm-date-card:hover::before,
.ddm-date-card:focus-within::before {
	transform: translateX(110%);
}

.ddm-frontend.ddm-is-enhanced .ddm-demo-section {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 650ms ease, transform 650ms ease;
}

.ddm-frontend.ddm-is-enhanced .ddm-demo-section.ddm-is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 900px) {
	.ddm-card-grid {
		grid-template-columns: 1fr;
	}

	.ddm-date-card {
		min-height: 205px;
	}
}

@media (max-width: 560px) {
	.ddm-frontend {
		padding: 52px 16px;
		border-radius: 14px;
	}

	.ddm-section-heading {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ddm-section-heading__line {
		width: 76px;
		margin: 0 auto;
		background: linear-gradient(90deg, transparent, rgba(212, 175, 98, 0.8), transparent);
	}

	.ddm-section-heading__line:last-child {
		background: linear-gradient(90deg, transparent, rgba(212, 175, 98, 0.8), transparent);
	}

	.ddm-date-card {
		min-height: 180px;
		padding: 30px 18px;
	}

	.ddm-date-card h3 {
		margin-bottom: 18px;
		letter-spacing: 0.08em;
	}

	.ddm-date-card__value {
		font-size: clamp(30px, 11vw, 46px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ddm-date-card,
	.ddm-date-card::before,
	.ddm-frontend.ddm-is-enhanced .ddm-demo-section {
		transition: none;
	}

	.ddm-date-card:hover,
	.ddm-date-card:focus-within {
		transform: none;
	}
}
