.door-game {
	position: relative;
	font-family: var(--font-family-title) !important;
	isolation: isolate;
	user-select: none;
	padding-bottom: 30px;
}

.door-game h1,
.door-game h2,
.door-game h3,
.door-game h4,
.door-game h5,
.door-game h6 {
	font-family: var(--font-family-title) !important;
}

.door-game:after {
	content: "";
	position: relative;
	display: block;
	height: 80px;
	background: linear-gradient(180deg, #00C300 0%, rgba(0, 195, 0, 0.83) 30%, rgba(218, 218, 218, 0) 100%);
	pointer-events: none;
	z-index: 1;
	margin-bottom: 20px;
}

.door-game[data-dg-team=xmen]:after {
	background: linear-gradient(180deg, #FFDF00 0%, rgba(255, 223, 0, 0.75) 30%, rgba(218, 218, 218, 0) 100%);
}

.door-game[data-dg-team=fantastic]:after {
	background: linear-gradient(180deg, #00BDF7 0%, rgba(0, 189, 247, 0.66) 30%, rgba(218, 218, 218, 0) 100%);
}

.dg-stage {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #0b2d0b;
	container-type: inline-size;
	container-name: dgstage;
	aspect-ratio: 2880 / 1188;
}

.dg-scene {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

.dg-scene.is-active {
	opacity: 1;
	visibility: visible;
}

.dg-scene[hidden] {
	display: none !important;
}

.dg-scene__bg {
	position: absolute;
	inset: 0;
	display: block;
	z-index: 0;
}

.dg-scene__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transform-origin: 50% 50%;
	will-change: transform, filter;
}

.dg-hero {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1cqw;
}

.dg-hero__title {
	margin: 0;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 0.2cqw 1.4cqw rgba(0, 0, 0, 0.45);
	font-size: clamp(18px, 3.7cqw, 44px);
	transition: opacity 420ms cubic-bezier(0.22, 0.9, 0.3, 1), transform 420ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-doors {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0.4cqw;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dg-doors__item {
	flex: 0 0 auto;
	width: clamp(56px, 14.4cqw, 250px);
	transition: opacity 380ms cubic-bezier(0.22, 0.9, 0.3, 1), transform 380ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-doors__item.is-out {
	opacity: 0;
	transform: translateY(2.5cqw) scale(0.86);
	pointer-events: none;
}

.dg-door {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 320ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.dg-door:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
	border-radius: 4px;
}

.dg-door:hover {
	transform: translateY(-1.4%) scale(1.04);
}

.dg-door:active {
	transform: scale(0.99);
}

.dg-door[disabled] {
	cursor: default;
}

.dg-door__inner {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1274 / 1925;
	transform-origin: 50% 50%;
	will-change: transform, filter;
}

.dg-door__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: opacity 380ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-door__img--open {
	opacity: 0;
}

.dg-door__flare {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 240%;
	height: 200%;
	transform: translate(-50%, -50%) scale(0.6);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(233, 214, 255, 0.55) 28%, rgba(150, 255, 150, 0.25) 50%, rgba(0, 0, 0, 0) 72%);
	mix-blend-mode: screen;
	transition: opacity 480ms cubic-bezier(0.22, 0.9, 0.3, 1), transform 700ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-door__inner.is-open {
	animation: none;
}

.dg-door__inner.is-open .dg-door__img--closed {
	opacity: 0;
}

.dg-door__inner.is-open .dg-door__img--open {
	opacity: 1;
}

.dg-door__inner.is-open .dg-door__flare {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.dg-scene--hero.is-focusing .dg-scene__bg img {
	transform: scale(1.22);
	filter: brightness(0.55) blur(3px);
	transition: transform 1200ms cubic-bezier(0.6, 0.02, 0.86, 0.32), filter 1200ms cubic-bezier(0.6, 0.02, 0.86, 0.32);
}

.dg-scene--hero.is-focusing .dg-hero__title {
	opacity: 0;
	transform: translateY(-1.4cqw);
}

.dg-scene--hero.is-focusing .dg-legal {
	opacity: 0;
}

.dg-scene--team {
	--dg-team-ink: #0d0d0d;
}

.dg-scene--team[data-team=fantastic] {
	--dg-team-ink: #0a1a33;
}

.dg-scene--team .dg-scene__bg img {
	transform: scale(1.1);
}

.dg-scene--team.is-revealing .dg-scene__bg img {
	transform: scale(1);
	transition: transform 1600ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-team {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
}

.dg-team__art {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dg-team__art img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	filter: drop-shadow(0 1cqw 2cqw rgba(0, 0, 0, 0.28));
}

.dg-team__copy {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2cqw;
	text-align: center;
	color: var(--dg-team-ink);
	padding-right: 5%;
}

.dg-team__title {
	margin: 0;
	font-weight: 800;
	line-height: 1.05;
	font-size: clamp(22px, 3.2cqw, 52px);
}

.dg-team__sub {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	font-size: clamp(14px, 1.7cqw, 28px);
}

.dg-team__claim {
	margin: 0.6cqw 0 0;
	font-weight: 600;
	font-size: clamp(11px, 1.25cqw, 20px);
}

.dg-cta {
	display: inline-block;
	border-radius: 999px;
	background: #e63312;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 1.1cqw 2.6cqw;
	font-size: clamp(10px, 1.15cqw, 18px);
	box-shadow: 0 0.4cqw 1.2cqw rgba(0, 0, 0, 0.25);
	transition: transform 220ms cubic-bezier(0.34, 1.4, 0.64, 1), background-color 220ms linear;
}

.dg-cta:hover,
.dg-cta:focus-visible {
	background: #c02708;
	transform: translateY(-2px);
}

.dg-cta:active {
	transform: translateY(0) scale(0.98);
}

.dg-scene--team .dg-team__art {
	opacity: 0;
	transform: translateX(-3cqw) scale(0.96);
}

.dg-scene--team .dg-team__title,
.dg-scene--team .dg-team__sub,
.dg-scene--team .dg-team__claim,
.dg-scene--team .dg-cta {
	opacity: 0;
	transform: translateY(1.6cqw);
}

.dg-scene--team .dg-legal {
	opacity: 0;
}

.dg-scene--team.is-revealing .dg-team__art,
.dg-scene--team.is-revealing .dg-team__title,
.dg-scene--team.is-revealing .dg-team__sub,
.dg-scene--team.is-revealing .dg-team__claim,
.dg-scene--team.is-revealing .dg-cta,
.dg-scene--team.is-revealing .dg-legal {
	opacity: 1;
	transform: none;
	transition: opacity 620ms cubic-bezier(0.22, 0.9, 0.3, 1), transform 620ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-scene--team.is-revealing .dg-team__art {
	transition-delay: 120ms;
}

.dg-scene--team.is-revealing .dg-team__title {
	transition-delay: 260ms;
}

.dg-scene--team.is-revealing .dg-team__sub {
	transition-delay: 360ms;
}

.dg-scene--team.is-revealing .dg-team__claim {
	transition-delay: 450ms;
}

.dg-scene--team.is-revealing .dg-cta {
	transition-delay: 540ms;
}

.dg-scene--team.is-revealing .dg-legal {
	transition-delay: 700ms;
}

.dg-legal {
	position: absolute;
	z-index: 3;
	margin: 0;
	color: #fff;
	font-weight: 600;
	line-height: 1.35;
	font-size: clamp(6px, 0.72cqw, 11px);
	transition: opacity 400ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.dg-scene--team .dg-legal {
	color: var(--dg-team-ink);
}

.dg-portal,
.dg-flash {
	position: fixed;
	pointer-events: none;
	z-index: 9999;
}

.dg-portal[hidden],
.dg-flash[hidden] {
	display: none;
}

.dg-portal {
	inset: 0;
	overflow: hidden;
}

.dg-portal__door {
	position: fixed;
	transform-origin: 50% 50%;
	will-change: transform;
	backface-visibility: hidden;
}

.dg-flash {
	left: 50%;
	top: 50%;
	width: 78vmax;
	height: 78vmax;
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.08);
	will-change: transform, opacity;
	background: radial-gradient(circle, #fff 0%, #fff 24%, rgba(240, 228, 255, 0.95) 40%, rgba(186, 142, 255, 0.55) 56%, rgba(120, 90, 200, 0) 74%);
}

.dg-flash::before {
	content: "";
	position: absolute;
	inset: -10%;
	border-radius: 50%;
	mix-blend-mode: screen;
	opacity: 0.35;
	background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0.55) 12deg, rgba(255, 255, 255, 0) 26deg, rgba(255, 255, 255, 0) 60deg, rgba(255, 255, 255, 0.45) 74deg, rgba(255, 255, 255, 0) 92deg, rgba(255, 255, 255, 0) 150deg, rgba(255, 255, 255, 0.5) 164deg, rgba(255, 255, 255, 0) 182deg, rgba(255, 255, 255, 0) 250deg, rgba(255, 255, 255, 0.4) 262deg, rgba(255, 255, 255, 0) 280deg, rgba(255, 255, 255, 0) 360deg);
}

.dg-lock,
.dg-lock body {
	overflow: hidden !important;
}

.dg-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: no-preference) {

.dg-door__inner {
	animation: dg-float 4.2s ease-in-out infinite;
	animation-delay: calc(var(--dg-i, 0) * -1.3s);
}

.dg-flash::before {
	animation: dg-spin 5s linear infinite;
}

}

@media (prefers-reduced-motion: reduce) {

.door-game * {
	animation-duration: 0.001ms !important;
	animation-iteration-count: 1 !important;
}

.dg-scene--hero.is-focusing .dg-scene__bg img {
	transform: none;
	filter: none;
}

.dg-scene--team .dg-team__art,
.dg-scene--team .dg-team__title,
.dg-scene--team .dg-team__sub,
.dg-scene--team .dg-team__claim,
.dg-scene--team .dg-cta,
.dg-scene--team .dg-legal {
	opacity: 1;
	transform: none;
	transition: opacity 200ms linear;
}

}

@media (min-width: 768px) {

.dg-hero {
	padding-left: 44%;
	padding-right: 4%;
}

.dg-team {
	flex-direction: row;
	padding: 2% 10% 2% 5%;
	gap: 0;
}

.dg-team__art {
	width: 50%;
	height: 100%;
	margin-top: 0%;
}

.dg-legal {
	right: 4%;
	bottom: 5%;
	max-width: 45%;
	text-align: right;
}

}

@media (max-width: 767px) {

.dg-stage {
	aspect-ratio: 750 / 1110;
}

.dg-hero {
	justify-content: flex-end;
	gap: 2cqw;
	padding: 0 6% 10%;
}

.dg-hero__title {
	font-size: clamp(16px, 5.2cqw, 30px);
}

.dg-doors {
	gap: 4cqw;
}

.dg-doors__item {
	width: clamp(56px, 23cqw, 130px);
}

.dg-team {
	flex-direction: column;
	justify-content: center;
	gap: 3cqw;
	padding: 6% 6% 12%;
}

.dg-team__art {
	width: 100%;
	height: 65%;
}

.dg-team__copy {
	gap: 1.4cqw;
	padding-right: 0%;
	justify-content: flex-start;
}

.dg-team__title {
	font-size: clamp(20px, 6cqw, 34px);
}

.dg-team__sub {
	font-size: clamp(13px, 3.6cqw, 20px);
}

.dg-team__claim {
	font-size: clamp(11px, 3cqw, 17px);
}

.dg-cta {
	padding: 3cqw 7cqw;
	font-size: clamp(11px, 3.2cqw, 16px);
}

.dg-legal {
	left: 6%;
	right: 6%;
	bottom: 1.5%;
	text-align: center;
	font-size: clamp(6px, 1.9cqw, 10px);
}

}

@keyframes dg-float {

0%,100% {
	transform: translateY(0);
}

50% {
	transform: translateY(-1.6%);
}

}

@keyframes dg-spin {

to {
	transform: rotate(360deg);
}

}

