.hgt-wheel {
	--hgt-wheel-ink: #193e45;
	--hgt-wheel-teal: #087f5b;
	--hgt-wheel-coral: #e8763b;
	--hgt-wheel-cream: #fffaf2;
	position: relative;
	max-width: 1180px;
	margin: 56px auto;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 34px;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 12%, rgba(255, 193, 73, .3), transparent 24%),
		radial-gradient(circle at 5% 90%, rgba(0, 164, 149, .18), transparent 25%),
		linear-gradient(135deg, #fff8ea 0%, #f0fbf5 100%);
	box-shadow: 0 24px 70px rgba(25, 62, 69, .13);
	font-family: inherit;
	color: var(--hgt-wheel-ink);
}

.hgt-wheel::before,
.hgt-wheel::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(8, 127, 91, .15);
	border-radius: 999px;
	pointer-events: none;
}

.hgt-wheel::before {
	width: 330px;
	height: 330px;
	right: -170px;
	top: -170px;
}

.hgt-wheel::after {
	width: 220px;
	height: 220px;
	left: -130px;
	bottom: -120px;
}

.hgt-wheel__intro,
.hgt-wheel__layout {
	position: relative;
	z-index: 1;
}

.hgt-wheel__intro {
	max-width: 760px;
	margin-bottom: 28px;
}

.hgt-wheel__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 11px;
	color: var(--hgt-wheel-coral);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hgt-wheel__kicker::before {
	content: "✦";
	font-size: 16px;
}

.hgt-wheel h2 {
	max-width: 680px;
	margin: 0 0 12px;
	color: var(--hgt-wheel-ink);
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.03;
}

.hgt-wheel__intro p {
	max-width: 640px;
	margin: 0;
	color: #4c6a6b;
	font-size: 15px;
	line-height: 1.75;
}

.hgt-wheel__rule {
	display: inline-block;
	margin-top: 14px;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	color: var(--hgt-wheel-teal);
	font-size: 12px;
	font-weight: 800;
}

.hgt-wheel__layout {
	display: grid;
	grid-template-columns: minmax(300px, 1.05fr) minmax(280px, .95fr);
	align-items: center;
	gap: clamp(24px, 6vw, 74px);
}

.hgt-wheel__stage {
	position: relative;
	width: min(100%, 510px);
	margin: 0 auto;
	filter: drop-shadow(0 22px 25px rgba(25, 62, 69, .18));
}

.hgt-wheel__stage::before {
	content: "";
	position: absolute;
	inset: 4%;
	border: 13px solid rgba(255, 255, 255, .88);
	border-radius: 50%;
	box-shadow: 0 0 0 8px rgba(8, 127, 91, .82), inset 0 0 0 2px rgba(255, 255, 255, .6);
	pointer-events: none;
}

.hgt-wheel__canvas {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 50%;
	transform: rotate(0deg);
	transition: transform 4.4s cubic-bezier(.12, .74, .14, 1);
}

.hgt-wheel__pointer {
	position: absolute;
	z-index: 3;
	top: -4px;
	left: 50%;
	width: 48px;
	height: 52px;
	border-radius: 15px 15px 22px 22px;
	background: var(--hgt-wheel-coral);
	box-shadow: 0 9px 12px rgba(232, 118, 59, .3);
	color: #fff;
	font-size: 26px;
	line-height: 45px;
	text-align: center;
	transform: translateX(-50%);
}

.hgt-wheel__hub {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	appearance: none;
	padding: 0;
	width: 82px;
	height: 82px;
	border: 7px solid #fff;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--hgt-wheel-teal), #045844);
	box-shadow: 0 8px 20px rgba(5, 96, 68, .3);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .04em;
	transform: translate(-50%, -50%) rotate(-8deg);
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.hgt-wheel__hub:hover:not(:disabled),
.hgt-wheel__hub:focus-visible {
	box-shadow: 0 11px 26px rgba(5, 96, 68, .42);
	outline: 3px solid rgba(232, 118, 59, .38);
	outline-offset: 4px;
	transform: translate(-50%, -50%) rotate(-8deg) scale(1.06);
}

.hgt-wheel__hub:disabled {
	cursor: wait;
	opacity: .65;
}

.hgt-wheel__panel {
	max-width: 410px;
	padding: clamp(20px, 4vw, 32px);
	border: 1px solid rgba(8, 127, 91, .13);
	border-radius: 24px;
	background: rgba(255, 255, 255, .84);
	box-shadow: 0 14px 34px rgba(25, 62, 69, .08);
}

.hgt-wheel__message {
	min-height: 44px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border-left: 4px solid var(--hgt-wheel-teal);
	border-radius: 8px;
	background: #f3fbf7;
	color: #426264;
	font-size: 13px;
	line-height: 1.55;
}

.hgt-wheel__message.is-error {
	border-left-color: #c44755;
	background: #fff3f1;
	color: #8f3f42;
}

.hgt-wheel__message.is-success {
	border-left-color: var(--hgt-wheel-coral);
	background: #fff6ec;
	color: #8a4a28;
}

.hgt-wheel__form {
	display: grid;
	gap: 13px;
}

.hgt-wheel__form label {
	display: grid;
	gap: 7px;
	color: var(--hgt-wheel-ink);
	font-size: 12px;
	font-weight: 800;
}

.hgt-wheel__form input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #c8dedb;
	border-radius: 12px;
	outline: 0;
	background: #fbfffd;
	color: var(--hgt-wheel-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.hgt-wheel__form input:focus {
	border-color: var(--hgt-wheel-teal);
	box-shadow: 0 0 0 3px rgba(0, 164, 149, .14);
}

.hgt-wheel__submit {
	min-height: 50px;
	margin-top: 6px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--hgt-wheel-coral), #f18d48);
	box-shadow: 0 12px 22px rgba(232, 118, 59, .24);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.hgt-wheel__submit:hover:not(:disabled) {
	box-shadow: 0 15px 26px rgba(232, 118, 59, .32);
	transform: translateY(-2px);
}

.hgt-wheel__submit:disabled {
	cursor: wait;
	opacity: .58;
}

.hgt-wheel__privacy {
	margin: 16px 0 0;
	color: #729092;
	font-size: 11px;
	line-height: 1.6;
}

.hgt-wheel__result {
	display: grid;
	gap: 5px;
	margin-top: 18px;
	padding: 16px;
	border: 1px solid rgba(232, 118, 59, .25);
	border-radius: 14px;
	background: #fff8ed;
}

.hgt-wheel__result-label {
	color: var(--hgt-wheel-coral);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.hgt-wheel__result strong {
	color: var(--hgt-wheel-ink);
	font-size: 22px;
	line-height: 1.2;
}

.hgt-wheel__result span:last-child {
	color: #5e7778;
	font-size: 12px;
	line-height: 1.55;
}

.hgt-wheel--empty {
	padding: 40px;
	text-align: center;
}

.hgt-wheel__empty {
	display: grid;
	gap: 8px;
}

.hgt-wheel__empty strong {
	font-size: 20px;
}

.hgt-wheel__empty span {
	color: #5e7778;
	font-size: 13px;
}

.hgt-wheel__modal[hidden] {
	display: none !important;
}

.hgt-wheel__modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 22px;
	opacity: 0;
	transition: opacity .22s ease;
}

.hgt-wheel__modal.is-open {
	opacity: 1;
}

.hgt-wheel__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 38, 42, .64);
	backdrop-filter: blur(5px);
}

.hgt-wheel__modal-dialog {
	position: relative;
	width: min(100%, 430px);
	padding: 38px 30px 30px;
	border: 5px solid rgba(255, 255, 255, .82);
	border-radius: 28px;
	background:
		radial-gradient(circle at 80% 8%, rgba(255, 194, 71, .32), transparent 28%),
		linear-gradient(145deg, #fffaf1, #edf9f3);
	box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
	text-align: center;
	transform: translateY(14px) scale(.96);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.hgt-wheel__modal.is-open .hgt-wheel__modal-dialog {
	transform: translateY(0) scale(1);
}

.hgt-wheel__modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(8, 127, 91, .09);
	color: #426264;
	cursor: pointer;
	font-size: 25px;
	line-height: 1;
}

.hgt-wheel__modal-close:hover {
	background: rgba(232, 118, 59, .15);
	color: var(--hgt-wheel-coral);
}

.hgt-wheel__modal-icon {
	display: block;
	margin-bottom: 9px;
	font-size: 42px;
	line-height: 1;
}

.hgt-wheel__modal-kicker {
	display: block;
	margin-bottom: 8px;
	color: var(--hgt-wheel-coral);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.hgt-wheel__modal-dialog h3 {
	margin: 0;
	color: var(--hgt-wheel-ink);
	font-size: clamp(26px, 5vw, 36px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.08;
}

.hgt-wheel__modal-dialog p {
	margin: 14px 0 22px;
	color: #5e7778;
	font-size: 13px;
	line-height: 1.65;
}

.hgt-wheel__modal-action {
	min-height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--hgt-wheel-teal);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
}

.hgt-wheel__modal-action:hover {
	background: #056044;
}

body.hgt-wheel-modal-open {
	overflow: hidden;
}

@media (max-width: 820px) {
	.hgt-wheel__layout {
		grid-template-columns: 1fr;
	}

	.hgt-wheel__panel {
		max-width: none;
	}
}

@media (max-width: 520px) {
	.hgt-wheel {
		margin: 34px 12px;
		padding: 24px 16px 26px;
		border-radius: 24px;
	}

	.hgt-wheel h2 {
		font-size: 32px;
	}

	.hgt-wheel__pointer {
		width: 40px;
		height: 44px;
		font-size: 21px;
		line-height: 39px;
	}

	.hgt-wheel__hub {
		width: 64px;
		height: 64px;
		border-width: 5px;
		font-size: 15px;
	}
}
