.mmp-player {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mmp-button {
	position: relative;
	width: clamp(56px, 10vw, 72px);
	height: clamp(56px, 10vw, 72px);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 32% 30%, #8a6bff 0%, #5b3fd6 45%, #2c1f6e 100%);
	box-shadow:
		0 0 14px rgba(138, 107, 255, 0.55),
		0 0 26px rgba(255, 214, 120, 0.2),
		inset 0 0 10px rgba(255, 255, 255, 0.18);
	color: #fff8ea;
	transition: transform 0.2s ease, box-shadow 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}

.mmp-button:hover {
	transform: scale(1.06);
	box-shadow:
		0 0 20px rgba(255, 214, 120, 0.5),
		0 0 34px rgba(138, 107, 255, 0.45),
		inset 0 0 10px rgba(255, 255, 255, 0.22);
}

.mmp-button:active {
	transform: scale(0.95);
}

.mmp-button:focus-visible {
	outline: 2px solid #ffd678;
	outline-offset: 3px;
}

.mmp-icon {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mmp-icon-pause {
	opacity: 0;
	transform: scale(0.65);
}

.mmp-button.is-playing .mmp-icon-play {
	opacity: 0;
	transform: scale(0.65);
}

.mmp-button.is-playing .mmp-icon-pause {
	opacity: 1;
	transform: scale(1);
}

.mmp-button.is-playing {
	animation: mmp-pulse 2.4s ease-in-out infinite;
}

@keyframes mmp-pulse {
	0%,
	100% {
		box-shadow:
			0 0 14px rgba(138, 107, 255, 0.55),
			0 0 24px rgba(255, 214, 120, 0.22),
			inset 0 0 10px rgba(255, 255, 255, 0.18);
	}
	50% {
		box-shadow:
			0 0 22px rgba(255, 214, 120, 0.6),
			0 0 38px rgba(138, 107, 255, 0.45),
			inset 0 0 10px rgba(255, 255, 255, 0.22);
	}
}

.mmp-particles {
	position: absolute;
	inset: -44px;
	pointer-events: none;
}

.mmp-particle {
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 14px;
	line-height: 1;
	color: #ffd678;
	text-shadow: 0 0 6px rgba(255, 214, 120, 0.8);
	opacity: 0;
	will-change: transform, opacity;
	animation: mmp-float 2.2s ease-out forwards;
}

@keyframes mmp-float {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) translateY(0) scale(0.6) rotate(0deg);
	}
	15% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) translateY(-72px) scale(1) rotate(25deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mmp-button.is-playing {
		animation: none;
	}
	.mmp-particle {
		animation: none;
		display: none;
	}
}

@media (max-width: 480px) {
	.mmp-button {
		width: 56px;
		height: 56px;
	}
}
