/* Şans Çarkı – popup, wheel and reopen pill. Selectors are id-scoped so theme styles cannot leak in. */

@font-face {
	font-family: "WOF Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/geist-latin-ext.woff2") format("woff2");
	unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "WOF Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/geist-latin.woff2") format("woff2");
	unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "WOF Bricolage";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
	unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "WOF Bricolage";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-latin.woff2") format("woff2");
	unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens + reset ---------- */

#wof-overlay,
#wof-reopen,
.wof-confetti {
	--wof-pri: #4f46ff;
	--wof-pri2: #8b5cf6;
	--wof-pointer: #14141b;
	--wof-ink: #14141b;
	--wof-mu: #5b5f6e;
	--wof-line: #e7e5df;
	--wof-soft: color-mix(in srgb, var(--wof-pri) 10%, #fff);
	--wof-coral: #e8432f;
	--wof-mint: #0b7a57;
	--wof-sans: "WOF Geist", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wof-display: "WOF Bricolage", "Bricolage Grotesque", var(--wof-sans);
	--wof-ease: cubic-bezier(.22, 1, .36, 1);
}

#wof-overlay,
#wof-overlay *,
#wof-overlay *::before,
#wof-overlay *::after,
#wof-reopen,
#wof-reopen *,
#wof-reopen *::before,
#wof-reopen *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
	max-width: none;
	min-height: 0;
	float: none;
	background: none;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	text-decoration: none;
	text-indent: 0;
	letter-spacing: inherit;
	word-spacing: normal;
	font: inherit;
	line-height: inherit;
	color: inherit;
	outline: 0;
	-webkit-tap-highlight-color: transparent;
}

#wof-overlay,
#wof-reopen {
	font-family: var(--wof-sans);
	font-size: 15px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: normal;
	color: var(--wof-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#wof-overlay[hidden],
#wof-overlay [hidden],
#wof-reopen[hidden],
#wof-reopen [hidden] {
	display: none !important;
}

#wof-overlay button,
#wof-reopen {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	user-select: none;
}

#wof-overlay svg,
#wof-reopen svg {
	display: block;
	overflow: visible;
}

#wof-overlay .wof-icon,
#wof-reopen .wof-icon {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#wof-overlay button:focus-visible,
#wof-overlay a:focus-visible,
#wof-reopen:focus-visible {
	outline: 2px solid var(--wof-pri);
	outline-offset: 3px;
}

/* ---------- Dialog shell ---------- */

#wof-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	align-items: end;
	justify-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility .4s ease;
}

#wof-overlay.wof-visible {
	opacity: 1;
	visibility: visible;
}

#wof-overlay .wof-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 14, 22, .62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#wof-overlay .wof-modal {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	max-height: 94vh;
	max-height: 94dvh;
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: 32px 32px 0 0;
	background: #fff;
	box-shadow: 0 -20px 60px rgba(0, 0, 0, .25);
	transform: translateY(40px);
	transition: transform .6s var(--wof-ease);
}

#wof-overlay.wof-visible .wof-modal {
	transform: none;
}

#wof-overlay .wof-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wof-ink);
	color: #fff;
	font-size: 18px;
	transition: transform .35s var(--wof-ease);
}

#wof-overlay .wof-close:hover {
	transform: scale(1.08) rotate(90deg);
}

/* ---------- Wheel stage ---------- */

#wof-overlay .wof-stage {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	padding: 56px 20px 8px;
	background: radial-gradient(70% 70% at 50% 40%, #fff, var(--wof-soft));
}

#wof-overlay .wof-stage::before,
#wof-overlay .wof-stage::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

#wof-overlay .wof-stage::before {
	top: -70px;
	left: -90px;
	width: 260px;
	height: 260px;
	background: color-mix(in srgb, var(--wof-pri2) 14%, transparent);
	animation: wof-blob 7s ease-in-out infinite;
}

#wof-overlay .wof-stage::after {
	right: -70px;
	bottom: -40px;
	width: 200px;
	height: 200px;
	background: color-mix(in srgb, var(--wof-pri) 12%, transparent);
	animation: wof-blob 9s ease-in-out infinite;
}

#wof-overlay .wof-wheel-box {
	position: relative;
	z-index: 1;
	width: min(74vw, 310px);
	aspect-ratio: 1;
	margin: 14px 0 8px;
	filter: drop-shadow(0 26px 34px color-mix(in srgb, var(--wof-pri) 30%, transparent));
}

#wof-overlay .wof-rim,
#wof-overlay .wof-wheel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#wof-overlay .wof-rim-stop-1 {
	stop-color: var(--wof-pri);
}

#wof-overlay .wof-rim-stop-2 {
	stop-color: var(--wof-pri2);
}

#wof-overlay .wof-led {
	animation: wof-led 1.2s ease-in-out infinite;
}

#wof-overlay .wof-led--late {
	animation-delay: .6s;
}

#wof-overlay .wof-wheel {
	transform-origin: 50% 50%;
	will-change: transform;
}

#wof-overlay .wof-wheel.wof-spinning {
	transition: transform 5.6s cubic-bezier(.12, .72, .08, 1);
}

#wof-overlay .wof-seg {
	transition: opacity .6s ease, filter .6s ease;
}

#wof-overlay .wof-has-result .wof-seg {
	opacity: .35;
}

#wof-overlay .wof-has-result .wof-seg.wof-seg--win {
	opacity: 1;
	filter: brightness(1.08);
}

#wof-overlay .wof-seg-main {
	font-family: var(--wof-display);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

#wof-overlay .wof-seg-sub {
	font-family: var(--wof-sans);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .14em;
	opacity: .9;
}

#wof-overlay .wof-hub {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 21%;
	aspect-ratio: 1;
	margin: -10.5% 0 0 -10.5%;
	border-radius: 50%;
	background: #fff;
	color: var(--wof-pri);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--wof-pri) 14%, transparent), 0 10px 24px rgba(20, 20, 27, .25);
}

#wof-overlay .wof-hub .wof-icon {
	width: 46%;
	height: 46%;
	stroke-width: 2;
}

#wof-overlay .wof-pointer {
	position: absolute;
	top: -16px;
	left: 50%;
	z-index: 2;
	width: 11%;
	height: auto;
	aspect-ratio: 40 / 52;
	margin-left: -5.5%;
	fill: var(--wof-pointer);
	transform-origin: 50% 22%;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3));
}

#wof-overlay .wof-pointer.wof-flick {
	animation: wof-flick .14s ease-out;
}

/* ---------- Panel: form ---------- */

#wof-overlay .wof-panel {
	position: relative;
	display: grid;
	align-content: center;
	gap: 14px;
	padding: 8px 22px 28px;
}

#wof-overlay .wof-form {
	display: grid;
	gap: 14px;
}

#wof-overlay .wof-form.wof-shake {
	animation: wof-shake .5s ease;
}

#wof-overlay .wof-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wof-pri);
}

#wof-overlay .wof-title {
	font-family: var(--wof-display);
	font-size: clamp(28px, 7.4vw, 42px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--wof-ink);
}

#wof-overlay .wof-desc {
	margin-top: -6px;
	font-size: 15px;
	color: var(--wof-mu);
}

#wof-overlay .wof-desc a,
#wof-overlay .wof-toggle a {
	font-weight: 500;
	color: var(--wof-pri);
}

#wof-overlay .wof-field {
	position: relative;
}

#wof-overlay .wof-input {
	display: block;
	width: 100%;
	height: 58px;
	padding: 22px 16px 6px 48px;
	border: 1.5px solid var(--wof-line);
	border-radius: 16px;
	background: #fff;
	font-size: 16px;
	line-height: 1.2;
	color: var(--wof-ink);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .25s ease, box-shadow .25s ease;
}

#wof-overlay .wof-input:focus {
	border-color: var(--wof-pri);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wof-pri) 12%, transparent);
}

#wof-overlay .wof-field.wof-invalid .wof-input {
	border-color: var(--wof-coral);
	box-shadow: 0 0 0 4px rgba(232, 67, 47, .1);
}

#wof-overlay .wof-float {
	position: absolute;
	top: 0;
	left: 48px;
	display: flex;
	align-items: center;
	height: 58px;
	font-size: 16px;
	color: var(--wof-mu);
	white-space: nowrap;
	pointer-events: none;
	transform-origin: 0 50%;
	transition: transform .25s var(--wof-ease), color .25s ease;
}

#wof-overlay .wof-input:focus + .wof-float,
#wof-overlay .wof-input:not(:placeholder-shown) + .wof-float {
	transform: translateY(-11px) scale(.76);
	color: var(--wof-pri);
}

#wof-overlay .wof-field-icon {
	position: absolute;
	top: 29px;
	left: 16px;
	font-size: 18px;
	color: var(--wof-mu);
	transform: translateY(-50%);
	pointer-events: none;
	transition: color .25s ease;
}

#wof-overlay .wof-input:focus ~ .wof-field-icon {
	color: var(--wof-pri);
}

#wof-overlay .wof-field-error,
#wof-overlay .wof-consent-error {
	margin: 6px 4px 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--wof-coral);
	animation: wof-up .35s var(--wof-ease);
}

#wof-overlay .wof-consent-error {
	margin-top: -6px;
}

#wof-overlay .wof-toggle {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--wof-mu);
	cursor: pointer;
}

#wof-overlay .wof-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

#wof-overlay .wof-switch {
	position: relative;
	flex: none;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: #d9d7d0;
	transition: background .35s ease;
}

#wof-overlay .wof-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
	transition: transform .35s var(--wof-ease);
}

#wof-overlay .wof-toggle input:checked + .wof-switch {
	background: var(--wof-pri);
}

#wof-overlay .wof-toggle input:checked + .wof-switch::after {
	transform: translateX(18px);
}

#wof-overlay .wof-toggle input:focus-visible + .wof-switch {
	outline: 2px solid var(--wof-pri);
	outline-offset: 2px;
}

#wof-overlay .wof-toggle.wof-invalid .wof-switch {
	box-shadow: 0 0 0 3px rgba(232, 67, 47, .25);
}

#wof-overlay .wof-form-error {
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(232, 67, 47, .08);
	font-size: 13px;
	line-height: 1.4;
	color: var(--wof-coral);
	animation: wof-up .35s var(--wof-ease);
}

#wof-overlay .wof-submit,
#wof-overlay .wof-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	overflow: hidden;
	background: var(--wof-ink);
	font-weight: 600;
	color: #fff;
	transition: transform .2s ease, background .2s ease;
}

#wof-overlay .wof-submit {
	height: 58px;
	border-radius: 18px;
	font-size: 16px;
}

#wof-overlay .wof-submit::before,
#wof-overlay .wof-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 60%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
	transform: skewX(-20deg);
	animation: wof-shine 3.6s ease-in-out infinite;
	pointer-events: none;
}

#wof-overlay .wof-submit:active,
#wof-overlay .wof-cta:active {
	transform: scale(.97);
}

#wof-overlay .wof-submit:disabled {
	background: #4a4a58;
	cursor: wait;
}

#wof-overlay .wof-submit:disabled::before {
	animation: none;
	opacity: 0;
}

#wof-overlay .wof-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wof-spin .8s linear infinite;
}

/* ---------- Panel: result ---------- */

#wof-overlay .wof-result {
	display: grid;
	justify-items: center;
	gap: 14px;
	text-align: center;
	animation: wof-up .6s var(--wof-ease);
}

#wof-overlay .wof-lose-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--wof-soft);
	font-size: 32px;
	color: var(--wof-pri);
	animation: wof-pop .7s var(--wof-ease);
}

#wof-overlay .wof-result-title {
	font-family: var(--wof-display);
	font-size: clamp(26px, 6.4vw, 34px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--wof-ink);
}

#wof-overlay .wof-result-big {
	font-family: var(--wof-display);
	font-size: clamp(44px, 12vw, 60px);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -0.06em;
	background: linear-gradient(90deg, var(--wof-pri), var(--wof-pri2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: wof-pop .7s var(--wof-ease);
}

#wof-overlay .wof-result-big small {
	margin-left: 6px;
	font-size: .34em;
	letter-spacing: 0;
	color: var(--wof-ink);
	-webkit-text-fill-color: var(--wof-ink);
}

#wof-overlay .wof-result-text {
	max-width: 34ch;
	font-size: 15px;
	line-height: 1.55;
	color: var(--wof-mu);
}

#wof-overlay .wof-result-text b,
#wof-overlay .wof-result-text strong {
	font-weight: 600;
	color: var(--wof-ink);
}

#wof-overlay .wof-code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	max-width: 340px;
	padding: 6px 6px 6px 18px;
	border: 2px dashed var(--wof-pri);
	border-radius: 18px;
	background: #fbfaff;
}

#wof-overlay .wof-code b {
	overflow: hidden;
	font-family: var(--wof-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--wof-pri);
	user-select: all;
}

#wof-overlay .wof-copy {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: var(--wof-pri);
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	transition: background .25s ease, transform .2s ease;
}

#wof-overlay .wof-copy:active {
	transform: scale(.96);
}

#wof-overlay .wof-copy.wof-copied {
	background: var(--wof-mint);
}

#wof-overlay .wof-meta {
	display: grid;
	gap: 4px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--wof-mu);
}

#wof-overlay .wof-timer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

#wof-overlay .wof-timer .wof-icon {
	color: var(--wof-pri);
}

#wof-overlay .wof-timer b,
#wof-overlay .wof-min b {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--wof-ink);
}

#wof-overlay .wof-actions {
	display: grid;
	width: 100%;
	max-width: 340px;
}

#wof-overlay .wof-cta {
	height: 54px;
	padding: 0 28px;
	border-radius: 18px;
	font-size: 15px;
}

#wof-overlay .wof-cta .wof-icon {
	transition: transform .3s var(--wof-ease);
}

#wof-overlay .wof-cta:hover {
	color: #fff;
}

#wof-overlay .wof-cta:hover .wof-icon {
	transform: translateX(4px);
}

/* ---------- Confetti ---------- */

.wof-confetti {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	overflow: hidden;
	pointer-events: none;
}

.wof-confetti i {
	position: absolute;
	top: -20px;
	display: block;
	width: 10px;
	height: 16px;
	border-radius: 3px;
	animation-name: wof-fall;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

/* ---------- Reopen pill ---------- */

#wof-reopen {
	position: fixed;
	bottom: calc(20px + var(--wof-lift, 0px) + env(safe-area-inset-bottom, 0px));
	left: 18px;
	z-index: 2147482999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	min-width: 56px;
	padding: 0 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--wof-pri), var(--wof-pri2));
	color: #fff;
	box-shadow: 0 14px 34px color-mix(in srgb, var(--wof-pri) 40%, transparent);
	transform: translateX(-140%);
	transition: transform .7s var(--wof-ease), box-shadow .3s ease, bottom .3s ease;
}

#wof-reopen.wof-visible {
	transform: none;
}

#wof-reopen:hover {
	box-shadow: 0 18px 40px color-mix(in srgb, var(--wof-pri) 55%, transparent);
}

#wof-reopen .wof-reopen-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
	animation: wof-wig 3.2s ease-in-out infinite;
}

#wof-reopen .wof-reopen-icon .wof-icon {
	width: 22px;
	height: 22px;
}

#wof-reopen .wof-reopen-label {
	display: none;
	padding-right: 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

#wof-reopen .wof-reopen-won {
	display: grid;
	padding-right: 16px;
	text-align: left;
	white-space: nowrap;
}

#wof-reopen .wof-reopen-eyebrow {
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	color: rgba(255, 255, 255, .75);
}

#wof-reopen .wof-reopen-time {
	margin-top: 4px;
	font-family: var(--wof-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

#wof-reopen.wof-reopen--won .wof-reopen-label {
	display: none;
}

#wof-reopen .wof-reopen-dot {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--wof-coral);
}

#wof-reopen .wof-reopen-dot::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	background: var(--wof-coral);
	animation: wof-ring 2s ease-out infinite;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 700px) {
	#wof-reopen .wof-reopen-label {
		display: block;
	}
}

@media (min-width: 900px) {
	#wof-overlay {
		align-items: center;
	}

	#wof-overlay .wof-modal {
		grid-template-columns: 1.05fr 1fr;
		width: min(980px, calc(100vw - 48px));
		max-height: 90vh;
		border-radius: 40px;
		transform: translateY(24px) scale(.97);
	}

	#wof-overlay .wof-stage {
		padding: 40px 24px;
	}

	#wof-overlay .wof-wheel-box {
		width: min(440px, 100%);
		margin: 0;
	}

	#wof-overlay .wof-panel {
		gap: 16px;
		padding: 48px 44px 40px;
	}
}

/* ---------- Keyframes ---------- */

@keyframes wof-blob {
	50% {
		opacity: .6;
		transform: scale(1.25);
	}
}

@keyframes wof-led {
	50% {
		fill: #ffd58a;
		opacity: .55;
	}
}

@keyframes wof-flick {
	35% {
		transform: rotate(-20deg);
	}
}

@keyframes wof-shake {
	20%,
	60% {
		transform: translateX(-7px);
	}

	40%,
	80% {
		transform: translateX(7px);
	}
}

@keyframes wof-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
}

@keyframes wof-pop {
	0% {
		opacity: 0;
		transform: scale(.6);
	}

	60% {
		transform: scale(1.08);
	}
}

@keyframes wof-shine {
	60%,
	100% {
		left: 140%;
	}
}

@keyframes wof-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes wof-fall {
	to {
		opacity: .9;
		transform: translateY(105vh) rotate(720deg);
	}
}

@keyframes wof-wig {
	0%,
	60%,
	100% {
		transform: rotate(0);
	}

	10% {
		transform: rotate(-14deg);
	}

	20% {
		transform: rotate(12deg);
	}

	30% {
		transform: rotate(-8deg);
	}

	40% {
		transform: rotate(6deg);
	}
}

@keyframes wof-ring {
	0% {
		opacity: .6;
		transform: scale(.7);
	}

	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}

@media (prefers-reduced-motion: reduce) {
	#wof-overlay *,
	#wof-overlay *::before,
	#wof-overlay *::after,
	#wof-reopen,
	#wof-reopen *,
	#wof-reopen *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}

	#wof-overlay .wof-wheel.wof-spinning {
		transition-duration: 1.2s;
	}

	.wof-confetti {
		display: none;
	}
}
