#event-modal > .app-modal {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

#event-modal-image {
	width: 480px;
	height: 587px;
	animation: pulseShadowPink 1.5s infinite alternate;
	border-radius: 8px;
}

#event-modal.event-modal-gold #event-modal-image,
#event-modal.event-modal-gold .event-modal-content > div {
	animation: pulseShadowGold 1.5s infinite alternate;
}

#event-modal > .app-modal > .close-modal > .mobile-button {
	margin: -16px;
}

.mobile-button-orange {
	margin: 0;

	background: #fe8630;
	border-color: #ffb066;

	box-shadow:
		0 0 0 3px #7a3600,
		0 8px 0 0 #7a3600;
}

.mobile-button-orange:active {
	transform: translateY(6px);
	box-shadow:
		0 0 0 3px #7a3600,
		inset 0 6px 10px #7a3600;
}

.mobile-button-orange:focus-visible {
	outline: 3px solid #7a3600;
	outline-offset: 3px;
}

.mobile-button-orange::before {
	background: linear-gradient(
		180deg,
		rgba(255, 200, 120, 1) 0%,
		rgb(255 220 180 / 32%) 80%
	);
}

.event-modal-content {
	margin: 0!important;
}

#confirm-event-modal {
	margin: 16px 0;
	margin-bottom: 24px;
	width: 100%;
	bottom: 0;
}

.event-modal-secondary-action {
	display: block;
	width: 100%;
	margin: -8px 0 24px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: rgba(255, 255, 255, 0.9);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}

.event-modal-secondary-action:hover,
.event-modal-secondary-action:focus-visible {
	color: #fff;
	text-decoration: none;
	outline: none;
}

@keyframes pulseShadowGold {
  0% {
    box-shadow:
      0 0 20px rgba(255, 215, 0, 0.25),
      0 0 50px rgba(255, 200, 80, 0.18),
      0 0 100px rgba(255, 180, 60, 0.12);
  }
  100% {
    box-shadow:
      0 0 40px rgba(255, 215, 0, 0.55),
      0 0 100px rgba(255, 200, 80, 0.4),
      0 0 200px rgba(255, 180, 60, 0.3);
  }
}

@keyframes pulseShadowPink {
  0% {
    box-shadow:
      0 0 20px rgba(255, 105, 180, 0.25),
      0 0 50px rgba(255, 80, 170, 0.18),
      0 0 100px rgba(255, 60, 150, 0.12);
  }
  100% {
    box-shadow:
      0 0 40px rgba(255, 105, 180, 0.55),
      0 0 100px rgba(255, 80, 170, 0.4),
      0 0 200px rgba(255, 60, 150, 0.3);
  }
}

#halloween-event-button {
	display: none;
}

.event-modal-content > div {
	margin-bottom: -4px;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	isolation: isolate;
	animation: pulseShadowPink 1.5s infinite alternate;
}

.event-modal-content > div::after {
	content: '';
	position: absolute;
	top: -45%;
	left: -55%;
	width: 210%;
	height: 34%;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.16) 35%,
		rgba(255, 255, 255, 0.72) 50%,
		rgba(255, 255, 255, 0.16) 65%,
		rgba(255, 255, 255, 0) 100%
	);
	filter: blur(6px);
	transform: translateY(0) rotate(-18deg);
	animation: eventModalShine 1.15s ease-out .8s 1 forwards;
	z-index: 1;
}

@keyframes eventModalShine {
  0% {
    transform: translateY(0) rotate(-18deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateY(620%) rotate(-18deg);
    opacity: 0;
  }
}

@media only screen and (max-width: 599px) {
	#event-modal > .app-modal {
		padding: 0;
		background: transparent;
		border-radius: 0;
		width: 100%;
		height: 100vh;
		max-width: 100%;
	}

	.event-modal-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100%;
		width: 100%;
		padding: 40px 16px 16px 16px;
	}

	.event-modal-content > div {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
	}

	#confirm-event-modal {
		width: 100%;
		margin-top: 16px;
		flex-shrink: 0;
	}

	.event-modal-secondary-action {
		margin: -8px 0 18px;
		flex-shrink: 0;
	}

	#event-modal-image {
		width: 100%;
		height: auto;
		max-width: 100%;
		object-fit: contain;
		border-radius: 8px;
	}

	#event-modal > .app-modal > .close-modal {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 10;
	}
}
